Click or drag to resize

IObjectsAddCone Method

Adds a cone 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. Both radii must have positive values. Height can have either positive or negative.

Namespace:  EMInvent.InventSim.COMServer
Assembly:  InventSim (in InventSim.exe) Version: 5.1.12.6+develop
Syntax
ISimObject AddCone(
	string name,
	string p0,
	string radius1,
	string radius2,
	string height
)

Parameters

name
Type: SystemString
Name of the cone.
p0
Type: SystemString
Starting point.
radius1
Type: SystemString
Radius of the bottom base.
radius2
Type: SystemString
Radius of the upper base.
height
Type: SystemString
Height,

Return Value

Type: ISimObject
Reference to the cone.
See Also