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

3.5.1.12. Surface Rectangle

Description

A surface representing the interior of an equiangular quadrilateral.

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)

Material – Chosen material for the solid. (ISolid/Material)

Include in Simulation – Indicates if the solid is included in the simulation.  If False, the solid is also not shown in the view. (ISolid/Include)

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)

Plane – Plane of the solid's coordinate system that the surface lies in. (ISurface/Plane)

Corner - [LENGTH] – Corner of the rectangle defined in the solid’s coordinate system. (ISurfaceRectangle/Corner)

Extent - [LENGTH] - Extent of the rectangle in the solid's coordinate system directions. This is a two-dimensional vector in which the first component represents the extent in the first direction as set by the Plane parameter, and the second component represents the extent in the second direction as set by the Plane parameter. For example, if the Plane is set to XY, this parameter defines the extent in X, Y. If the Plane is set to ZX, this parameter defines the extent in Z,X. (ISurfaceRectangle/Extent)

Example(s)

User Interface Button

Command Details

The Plane is inherited from the current working plane. Mouse click order is:
1. Corner
2. Extent
See command hint for detailed instructions.

Requirements

Both components of the extent must be greater than zero.

Other Notes

None.

Example Creation Script

Solid_1 = Geometry_1.SurfaceRectangle("Rectangle_1", "World", "Air", "XY", "-0.013, -0.005, 0", "-0.005, 0.006, 0")

Scripting Interfaces

“ISolid”
“ISurfaceRectangle”
“ISurface”
“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