Click or drag to resize

IObjectsAddEllipse Method

Add an ellipse that is parallel to the active plane of the active coordinates system. The dimensions that radius1 and radius2 are defined in depend on the active plane i.e. radius1 is always defined in the first dimension and radius2 in the second. For example, if the active plane is YZ plane, then radius1 is defined in Y dimension and radius2 is defined in Z dimension. The ellipse face name is "Ellipse". radius1 and radius2 must have positive values.

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

Parameters

name
Type: SystemString
Name of the ellipse.
p0
Type: SystemString
Starting point.
radius1
Type: SystemString
Radius in the first dimension.
radius2
Type: SystemString
Radius in the second dimension.

Return Value

Type: ISimObject
Reference to the ellipse.
See Also