SubdivisionPrimitiveShapeBuilderEx Class¶
-
class
NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderEx¶ Bases:
NXOpen.BuilderRepresents a
Features.Subdivision.SubdivisionPrimitiveShapeBuilderExbuilder.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
CircularSegmentsReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CircularSegmentsParameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Height¶
-
SubdivisionPrimitiveShapeBuilderEx.Height¶ Returns the height.
-------------------------------------Getter Method
Signature
HeightReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
HeightZ¶
-
SubdivisionPrimitiveShapeBuilderEx.HeightZ¶ Returns the height in Z direction.
-------------------------------------Getter Method
Signature
HeightZReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
InnerSize¶
-
SubdivisionPrimitiveShapeBuilderEx.InnerSize¶ Returns the inner size of torus.
-------------------------------------Getter Method
Signature
InnerSizeReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
LengthX¶
-
SubdivisionPrimitiveShapeBuilderEx.LengthX¶ Returns the length in X direction.
-------------------------------------Getter Method
Signature
LengthXReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
LinearSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.LinearSegments¶ Returns or sets the number of segments in linear direction.
-------------------------------------Getter Method
Signature
LinearSegmentsReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LinearSegmentsParameters: 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
OriginReturns: Return type: NXOpen.PointNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OriginParameters: 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
OuterSizeReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
RadialSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.RadialSegments¶ Returns or sets the number of segments in radial direction.
-------------------------------------Getter Method
Signature
RadialSegmentsReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RadialSegmentsParameters: numSegments (int) – New in version NX11.0.0.
License requirements: nx_subdivision (” NX SUBDIVISION”)
Size¶
-
SubdivisionPrimitiveShapeBuilderEx.Size¶ Returns the size.
-------------------------------------Getter Method
Signature
SizeReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
SphereSubdivisionLevelOption¶
-
SubdivisionPrimitiveShapeBuilderEx.SphereSubdivisionLevelOption¶ Returns or sets the subdivision level.
-------------------------------------Getter Method
Signature
SphereSubdivisionLevelOptionReturns: Return type: NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderExSphereSubdivisionLevelNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SphereSubdivisionLevelOptionParameters: 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
TransformerReturns: Return type: NXOpen.GeometricUtilities.TransformerDataNew in version NX11.0.0.
License requirements: None.
Type¶
-
SubdivisionPrimitiveShapeBuilderEx.Type¶ Returns or sets the type.
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Features.Subdivision.SubdivisionPrimitiveShapeBuilderExTypesNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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
WidthYReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
XSegments¶
-
SubdivisionPrimitiveShapeBuilderEx.XSegments¶ Returns or sets the number of segments in X direction.
-------------------------------------Getter Method
Signature
XSegmentsReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
XSegmentsParameters: 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
YSegmentsReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
YSegmentsParameters: 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
ZSegmentsReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ZSegmentsParameters: 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.