NX Open C++ Reference Guide
|
Represents a Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx builder. More...
Public Types | |
enum | SphereSubdivisionLevel { SphereSubdivisionLevelBase, SphereSubdivisionLevelFirst, SphereSubdivisionLevelSecond } |
Level of subdivisions of cubical cage to construct spherical primitive. More... | |
enum | Types { TypesSphere, TypesCylinder, TypesBlock, TypesCircle, TypesRectangle, TypesTorus } |
Type of primitive. More... | |
Public Member Functions | |
int | CircularSegments () |
Returns the number of segments in circular direction. More... | |
NXOpen::Expression * | Height () |
Returns the height. More... | |
NXOpen::Expression * | HeightZ () |
Returns the height in Z direction. More... | |
NXOpen::Expression * | InnerSize () |
Returns the inner size of torus. More... | |
NXOpen::Expression * | LengthX () |
Returns the length in X direction. More... | |
int | LinearSegments () |
Returns the number of segments in linear direction. More... | |
NXOpen::Point * | Origin () |
Returns the origin. More... | |
NXOpen::Expression * | OuterSize () |
Returns the outer size of torus. More... | |
int | RadialSegments () |
Returns the number of segments in radial direction. More... | |
void | SetCircularSegments (int numSegments) |
Sets the number of segments in circular direction. More... | |
void | SetLinearSegments (int numSegments) |
Sets the number of segments in linear direction. More... | |
void | SetOrigin (NXOpen::Point *origin) |
Sets the origin. More... | |
void | SetRadialSegments (int numSegments) |
Sets the number of segments in radial direction. More... | |
void | SetSphereSubdivisionLevelOption (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel level) |
Sets the subdivision level. More... | |
void | SetType (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types type) |
Sets the type. More... | |
void | SetXSegments (int numSegments) |
Sets the number of segments in X direction. More... | |
void | SetYSegments (int numSegments) |
Sets the number of segments in Y direction. More... | |
void | SetZSegments (int numSegments) |
Sets the number of segments in Z direction. More... | |
NXOpen::Expression * | Size () |
Returns the size. More... | |
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel | SphereSubdivisionLevelOption () |
Returns the subdivision level. More... | |
NXOpen::GeometricUtilities::TransformerData * | Transformer () |
Returns the transformation tool. More... | |
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types | Type () |
Returns the type. More... | |
void | UpdateMesh () |
Updates the mesh data after changes in the origin. More... | |
NXOpen::Expression * | WidthY () |
Returns the width in Y direction. More... | |
int | XSegments () |
Returns the number of segments in X direction. More... | |
int | YSegments () |
Returns the number of segments in Y direction. More... | |
int | ZSegments () |
Returns the number of segments in Z direction. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
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 |
Created in NX11.0.0.
int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::CircularSegments | ( | ) |
Returns the number of segments in circular direction.
Created in NX11.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Height | ( | ) |
Returns the height.
Created in NX11.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::HeightZ | ( | ) |
Returns the height in Z direction.
Created in NX11.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::InnerSize | ( | ) |
Returns the inner size of torus.
Created in NX11.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::LengthX | ( | ) |
Returns the length in X direction.
Created in NX11.0.0.
License requirements : None
int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::LinearSegments | ( | ) |
Returns the number of segments in linear direction.
Created in NX11.0.0.
License requirements : None
NXOpen::Point* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Origin | ( | ) |
Returns the origin.
Created in NX11.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::OuterSize | ( | ) |
Returns the outer size of torus.
Created in NX11.0.0.
License requirements : None
int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::RadialSegments | ( | ) |
Returns the number of segments in radial direction.
Created in NX11.0.0.
License requirements : None
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetCircularSegments | ( | int | numSegments | ) |
Sets the number of segments in circular direction.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
numSegments | numsegments |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetLinearSegments | ( | int | numSegments | ) |
Sets the number of segments in linear direction.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
numSegments | numsegments |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetOrigin | ( | NXOpen::Point * | origin | ) |
Sets the origin.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
origin | origin |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetRadialSegments | ( | int | numSegments | ) |
Sets the number of segments in radial direction.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
numSegments | numsegments |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetSphereSubdivisionLevelOption | ( | NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel | level | ) |
Sets the subdivision level.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
level | level |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetType | ( | NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types | type | ) |
Sets the type.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
type | type |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetXSegments | ( | int | numSegments | ) |
Sets the number of segments in X direction.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
numSegments | numsegments |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetYSegments | ( | int | numSegments | ) |
Sets the number of segments in Y direction.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
numSegments | numsegments |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SetZSegments | ( | int | numSegments | ) |
Sets the number of segments in Z direction.
Created in NX11.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
numSegments | numsegments |
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Size | ( | ) |
Returns the size.
Created in NX11.0.0.
License requirements : None
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevel NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::SphereSubdivisionLevelOption | ( | ) |
Returns the subdivision level.
Created in NX11.0.0.
License requirements : None
NXOpen::GeometricUtilities::TransformerData* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Transformer | ( | ) |
Returns the transformation tool.
Created in NX11.0.0.
License requirements : None
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Types NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::Type | ( | ) |
Returns the type.
Created in NX11.0.0.
License requirements : None
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::UpdateMesh | ( | ) |
Updates the mesh data after changes in the origin.
Created in NX11.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::WidthY | ( | ) |
Returns the width in Y direction.
Created in NX11.0.0.
License requirements : None
int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::XSegments | ( | ) |
Returns the number of segments in X direction.
Created in NX11.0.0.
License requirements : None
int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::YSegments | ( | ) |
Returns the number of segments in Y direction.
Created in NX11.0.0.
License requirements : None
int NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilderEx::ZSegments | ( | ) |
Returns the number of segments in Z direction.
Created in NX11.0.0.
License requirements : None