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

3.7.1.15. 1/2 Ellipse Shape

Description

A shape representing the interior of one half of an elliptical curve closed by a line segment

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)

Start - [LENGTH] – Corner of the bounding box of the shape defined in the sketch's coordinate system. The straight boundary of the shape is always in the X direction of the sketch's coordinate system. (IPoint/Location)

Width - [LENGTH] - Width of the bounding box of the shape. This is always in the X direction of the sketch's coordinate system. (IAnchoredShape/Width)

Height - [LENGTH] - Height of the bounding box of the shape. This is always in the Y direction of the sketch's coordinate system. (IAnchoredShape/Height)

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. Corner
2. Width/Height
See command hint for detailed instructions.

Requirements

Both width and height must be greater than zero.

Other Notes

None.

Example Creation Script

Element_5 = Profile_1.HalfEllipse("HalfEllipse_1", "-0.07, 0.009, 0", "0.021", "0.016")

Scripting Interfaces

“IHalfEllipse”
“IAnchoredShape”
“IShape”
“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