 | 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
SyntaxISimObject AddCone(
string name,
string p0,
string radius1,
string radius2,
string height
)
Function AddCone (
name As String,
p0 As String,
radius1 As String,
radius2 As String,
height As String
) As ISimObject
Dim instance As IObjects
Dim name As String
Dim p0 As String
Dim radius1 As String
Dim radius2 As String
Dim height As String
Dim returnValue As ISimObject
returnValue = instance.AddCone(name, p0,
radius1, radius2, 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:
ISimObjectReference to the cone.
See Also