Click or drag to resize

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
Syntax
ISimObject AddLine(
	string name,
	string startPoint,
	string 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: ISimObject
Reference to the line segment.
See Also