Click or drag to resize

IObjectsAddPolygon Method

Adds a polygon that is parallel to the active plane of the active coordinates system. Polygons are defined by their p0 and a list of points. The starting point and all vertexes must lie on a plane. The polygon face name is "Polygon".

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

Parameters

name
Type: SystemString
Name of the polygon.
p0
Type: SystemString
Starting point.
points
Type: SystemString
List of vertexes separated by '|' character.

Return Value

Type: ISimObject
Reference to the polygon.
See Also