Click or drag to resize

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
Syntax
ISimObject AddCylinder(
	string name,
	string p0,
	string radius,
	string 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: ISimObject
Reference to the cylinder.
See Also