 | IObjectsAddCylinder Method |
Adds a cylinder with bases parallel to the active plane of the active coordinate
system. Cylinder axis is perpendicular to that plane.
The created faces have the following names: "BottomBase", "TopBase" and "Side".
"BottomBase" is always the face that the starting point lies on, regardless of
actual relative position to the TopBase face.
Radius must have a positive value. Height can have either positive or negative.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxISimObject AddCylinder(
string name,
string p0,
string radius,
string height
)
Function AddCylinder (
name As String,
p0 As String,
radius As String,
height As String
) As ISimObject
Dim instance As IObjects
Dim name As String
Dim p0 As String
Dim radius As String
Dim height As String
Dim returnValue As ISimObject
returnValue = instance.AddCylinder(name,
p0, radius, height)
Parameters
- name
- Type: SystemString
Name of the cylinder. - p0
- Type: SystemString
Starting position. - radius
- Type: SystemString
Radius. - height
- Type: SystemString
Height.
Return Value
Type:
ISimObjectReference to the cylinder.
See Also