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

3.5.1.7. Sphere

Description

A primitive closed solid representing the volume that locating with a given distance (the radius) of a given point (the center).

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)

Center - [LENGTH] – Center of the sphere in the solid’s coordinate system. (ISphere/Center)

Radius - [LENGTH] - Radius of the sphere. (ISphere/Radius)

Example(s)

User Interface Button

Command Details

Mouse click order is:
1. Center
2. Radius
See command hint for detailed instructions.

Requirements

The radius must be greater than zero.

Other Notes

None

Example Creation Script

Solid_1 = Geometry_1.Sphere("Sphere_1", "World", "Air", "0.015, 0.016, 0", "0.005")

Scripting Interfaces

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