 | IObjectsAddTorus Method |
Adds a torus centered at p0. The torus plane
is parallel to the active plane of the active coordinates system. The torus
face name is "Torus".
Both radii must have positive values.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxISimObject AddTorus(
string name,
string p0,
string radius1,
string radius2
)
Function AddTorus (
name As String,
p0 As String,
radius1 As String,
radius2 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 returnValue As ISimObject
returnValue = instance.AddTorus(name,
p0, radius1, radius2)
Parameters
- name
- Type: SystemString
Name of the torus. - p0
- Type: SystemString
Starting point (center). - radius1
- Type: SystemString
Radius of the torus. - radius2
- Type: SystemString
Radius of the tube.
Return Value
Type:
ISimObjectReference to the torus.
See Also