 | 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
SyntaxISimObject AddEllipse(
string name,
string p0,
string radius1,
string radius2
)
Function AddEllipse (
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.AddEllipse(name,
p0, radius1, 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:
ISimObjectReference to the ellipse.
See Also