SubdivisionPrimitiveShapeBuilderEx Class¶
-
class
NXOpen.Features.Subdivision.
SubdivisionPrimitiveShapeBuilderEx
¶ Bases:
NXOpen.Builder
Represents a
Features.Subdivision.SubdivisionPrimitiveShapeBuilderEx
builder.To create a new instance of this class, use
NXOpen.Features.Subdivision.SubdivisionBodyCollection.CreateSubdivisionPrimitiveShapeBuilderEx()
Default values.
Property Value CircularSegments 4 Height.Value 100 (millimeters part), 4 (inches part) HeightZ.Value 100 (millimeters part), 4 (inches part) InnerSize.Value 50 (millimeters part), 2 (inches part) LengthX.Value 100 (millimeters part), 4 (inches part) LinearSegments 1 OuterSize.Value 100 (millimeters part), 4 (inches part) RadialSegments 8 Size.Value 100 (millimeters part), 4 (inches part) WidthY.Value 100 (millimeters part), 4 (inches part) XSegments 1 YSegments 1 ZSegments 1 New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
CircularSegments | Returns or sets the number of segments in circular direction. |
Height | Returns the height. |
HeightZ | Returns the height in Z direction. |
InnerSize | Returns the inner size of torus. |
LengthX | Returns the length in X direction. |
LinearSegments | Returns or sets the number of segments in linear direction. |
Origin | Returns or sets the origin. |
OuterSize | Returns the outer size of torus. |
RadialSegments | Returns or sets the number of segments in radial direction. |
Size | Returns the size. |
SphereSubdivisionLevelOption | Returns or sets the subdivision level. |
Tag | Returns the Tag for this object. |
Transformer | Returns the transformation tool. |
Type | Returns or sets the type. |
WidthY | Returns the width in Y direction. |
XSegments | Returns or sets the number of segments in X direction. |
YSegments | Returns or sets the number of segments in Y direction. |
ZSegments | Returns or sets the number of segments in Z direction. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UpdateMesh | Updates the mesh data after changes in the origin. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SubdivisionPrimitiveShapeBuilderExSphereSubdivisionLevel Enumeration | Level of subdivisions of cubical cage to construct spherical primitive. |
SubdivisionPrimitiveShapeBuilderExTypes Enumeration | Type of primitive. |
Property Detail¶
CircularSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.
CircularSegments
¶ Returns or sets the number of segments in circular direction.
-------------------------------------
Getter Method
Signature
CircularSegments
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CircularSegments
Parameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Height¶
-
SubdivisionPrimitiveShapeBuilderEx.
Height
¶ Returns the height.
-------------------------------------
Getter Method
Signature
Height
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
HeightZ¶
-
SubdivisionPrimitiveShapeBuilderEx.
HeightZ
¶ Returns the height in Z direction.
-------------------------------------
Getter Method
Signature
HeightZ
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
InnerSize¶
-
SubdivisionPrimitiveShapeBuilderEx.
InnerSize
¶ Returns the inner size of torus.
-------------------------------------
Getter Method
Signature
InnerSize
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
LengthX¶
-
SubdivisionPrimitiveShapeBuilderEx.
LengthX
¶ Returns the length in X direction.
-------------------------------------
Getter Method
Signature
LengthX
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
LinearSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.
LinearSegments
¶ Returns or sets the number of segments in linear direction.
-------------------------------------
Getter Method
Signature
LinearSegments
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LinearSegments
Parameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Origin¶
-
SubdivisionPrimitiveShapeBuilderEx.
Origin
¶ Returns or sets the origin.
-------------------------------------
Getter Method
Signature
Origin
Returns: Return type: NXOpen.Point
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Origin
Parameters: origin ( NXOpen.Point
) –New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
OuterSize¶
-
SubdivisionPrimitiveShapeBuilderEx.
OuterSize
¶ Returns the outer size of torus.
-------------------------------------
Getter Method
Signature
OuterSize
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
RadialSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.
RadialSegments
¶ Returns or sets the number of segments in radial direction.
-------------------------------------
Getter Method
Signature
RadialSegments
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RadialSegments
Parameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Size¶
-
SubdivisionPrimitiveShapeBuilderEx.
Size
¶ Returns the size.
-------------------------------------
Getter Method
Signature
Size
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
SphereSubdivisionLevelOption¶
-
SubdivisionPrimitiveShapeBuilderEx.
SphereSubdivisionLevelOption
¶ Returns or sets the subdivision level.
-------------------------------------
Getter Method
Signature
SphereSubdivisionLevelOption
Returns: Return type: NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderExSphereSubdivisionLevel
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SphereSubdivisionLevelOption
Parameters: level ( NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderExSphereSubdivisionLevel
) –New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Transformer¶
-
SubdivisionPrimitiveShapeBuilderEx.
Transformer
¶ Returns the transformation tool.
-------------------------------------
Getter Method
Signature
Transformer
Returns: Return type: NXOpen.GeometricUtilities.TransformerData
New in version NX11.0.0.
License requirements: None.
Type¶
-
SubdivisionPrimitiveShapeBuilderEx.
Type
¶ Returns or sets the type.
-------------------------------------
Getter Method
Signature
Type
Returns: Return type: NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderExTypes
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type
Parameters: type ( NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderExTypes
) –New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
WidthY¶
-
SubdivisionPrimitiveShapeBuilderEx.
WidthY
¶ Returns the width in Y direction.
-------------------------------------
Getter Method
Signature
WidthY
Returns: Return type: NXOpen.Expression
New in version NX11.0.0.
License requirements: None.
XSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.
XSegments
¶ Returns or sets the number of segments in X direction.
-------------------------------------
Getter Method
Signature
XSegments
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
XSegments
Parameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
YSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.
YSegments
¶ Returns or sets the number of segments in Y direction.
-------------------------------------
Getter Method
Signature
YSegments
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
YSegments
Parameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
ZSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.
ZSegments
¶ Returns or sets the number of segments in Z direction.
-------------------------------------
Getter Method
Signature
ZSegments
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ZSegments
Parameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Method Detail¶
UpdateMesh¶
-
SubdivisionPrimitiveShapeBuilderEx.
UpdateMesh
¶ Updates the mesh data after changes in the origin.
Signature
UpdateMesh()
New in version NX11.0.0.
License requirements: None.
Validate¶
-
SubdivisionPrimitiveShapeBuilderEx.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.