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

3.5.1.16. Wire Line

Description

A wire representing the part of a line bounded by two distinct end points.

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)

Start - [LENGTH] – Start point of the line defined in the solid’s coordinate system. (IWireLine/Start)

End - [LENGTH] - End point of the line defined in the solid’s coordinate system. (IWireLine/End)

Example(s)

User Interface Button

Command Details

Mouse click order is:
1. Start
2. End
See command hint for detailed instructions.

Requirements

Length must be greater than zero.

Other Notes

None.

Example Creation Script

Solid_1 = Geometry_1.WireLine("Line_1", "World", "Air", "-0.015, -0.002, 0", "-0.012, 0.01, 0")

Scripting Interfaces

“ISolid”
“IWireLine”
“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