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

3.7.1.19. Circle Shape

Description

A shape representing the interior of a circle or polygon defined with a center, a radius, and number of sides.

Parameters

Label – A unique name that identifies the element. (IElement/Label)

Visible - If True, element is visible in the sketch. (IElement/Visible)

Construction Only - If True, element is excluded from the covering process and does not become part of the geometry. Such elements are used in constructing other elements. (IElement/Construction)

Center - [LENGTH] – Center of the circle defined in the sketch's coordinate system. (IPoint/Location)

Radius - [LENGTH] – Radius of the circle defined in the sketch's coordinate system. (ICenterPolygon/Radius)

Number of Sides - Number of sides in the circle. 0 implies an infinite number of sides but setting this parameter to a non-zero value "N" results in an N-gon with center at Center and radius of Radius. (ICenterPolygon/NumberOfSides)

Evaluated Locations/Center - [LENGTH] – Post-operation center of the circle defined in the sketch's coordinate system. This is a calculated value based on the start of the arc and any subsequent operations applied to the element. Read only.

Sketch Parameters:

Label – A unique name that identifies the sketch. (ISketch/Label)

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

Offset - [LENGTH] – Distance from the origin of the solid's coordinate system to the sketch plane in a direction normal to the chosen sketch plane. (ISketch/PlaneOffset)

Example(s)

User Interface Button

Command Details

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

Requirements

Radius must be greater than zero.

Other Notes

None.

Example Creation Script

Element_1 = Profile_1.CenterPolygon("CenterPolygon_1", "-0.01, -0.01, 0", "0.003", "0")

Scripting Interfaces

“ICenterPolygon”
“IElementPoints”
“IElementCreationOperation”
“IElementOperation”

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