 | 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
SyntaxISimObject AddPolygon(
string name,
string p0,
string points
)
Function AddPolygon (
name As String,
p0 As String,
points As String
) As ISimObject
Dim instance As IObjects
Dim name As String
Dim p0 As String
Dim points As String
Dim returnValue As ISimObject
returnValue = instance.AddPolygon(name,
p0, 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:
ISimObjectReference to the polygon.
See Also