Click or drag to resize

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
Syntax
ISimObject AddTorus(
	string name,
	string p0,
	string radius1,
	string 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: ISimObject
Reference to the torus.
See Also