Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

3.5.1.20. Wire Polyline

Description

A wire representing a connected series of line segments.

Parameters

Label – A unique name that identifies the solid. (ISolid/Label)

Coordinate System – The coordinate system in which the solid is defined. Defaults to working coordinate system at time of creation. (ISolid/CoordinateSystem)

Visible - Indicates if the solid is shown in the view. (ISolid/Visible)

Mesh Control Only - Indicates if the solid is used as a tool to control meshing. If True, the portion of the solid that does not overlap the other normal solid is thrown away prior to simulation. Additionally, the material of such a solid is irrelevant so the material parameter is hidden. (ISolid/MeshControlOnly)

Point "n" - [LENGTH] – Location of point[n] of the polyline defined in the solid’s coordinate system. (IPoint/Location)

Example(s)

User Interface Button

Command Details

Mouse click order is:
1. Point 1 Location
2+. Subsequent Point Locations
See command hint for detailed instructions.

Requirements

None.

Other Notes

None.

Example Creation Script

Solid_1 = Geometry_1.WirePolyline("Polyline_1", "World", "Air", "-0.005, -0.003, 0, -0.007, 0.009, 0, -0.013, 0.002, 0, -0.016, 0.008, 0")

Scripting Interfaces

“ISolid”
“IWirePolyline”
“IWire”
“ISolidCreationOperation”
“ISolidOperation”

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice