 | IObjectsAddLine Method |
Adds a line segment from startPoint to endPoint.
The distance between two points must be greater than precision.
The line segment edge name is "Line".
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxISimObject AddLine(
string name,
string startPoint,
string endPoint
)
Function AddLine (
name As String,
startPoint As String,
endPoint As String
) As ISimObject
Dim instance As IObjects
Dim name As String
Dim startPoint As String
Dim endPoint As String
Dim returnValue As ISimObject
returnValue = instance.AddLine(name, startPoint,
endPoint)
Parameters
- name
- Type: SystemString
Name of the line segment. - startPoint
- Type: SystemString
Start point of the line segment. - endPoint
- Type: SystemString
End point of the line segment.
Return Value
Type:
ISimObjectReference to the line segment.
See Also