NX Open C++ Reference Guide
|
Represents a Features::Subdivision::SubdivisionPrimitiveShapeBuilder builder. More...
Public Types | |
enum | Types { TypesSphere, TypesCylinder, TypesBlock, TypesCircle, TypesRectangle } |
Type of primitive. More... | |
Public Member Functions | |
NXOpen::Expression * | Height () |
Returns the height. | |
NXOpen::Expression * | HeightZ () |
Returns the height in z direction. | |
NXOpen::Expression * | LengthX () |
Returns the length in x direction. | |
NXOpen::Point * | Origin () |
Returns the origin. | |
void | SetOrigin (NXOpen::Point *origin) |
Sets the origin. | |
void | SetType (NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types type) |
Sets the type. | |
NXOpen::Expression * | Size () |
Returns the size. | |
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types | Type () |
Returns the type. | |
void | UpdateMesh () |
Updates the mesh data after changes in the origin. | |
NXOpen::Expression * | WidthY () |
Returns the width in y direction. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Features::Subdivision::SubdivisionPrimitiveShapeBuilder builder.
To create a new instance of this class, use Features::Subdivision::SubdivisionBodyCollection::CreateSubdivisionPrimitiveShapeBuilder
Default values.
Property | Value |
---|---|
Height.Value |
100 (millimeters part), 4 (inches part) |
HeightZ.Value |
100 (millimeters part), 4 (inches part) |
LengthX.Value |
100 (millimeters part), 4 (inches part) |
Size.Value |
100 (millimeters part), 4 (inches part) |
WidthY.Value |
100 (millimeters part), 4 (inches part) |
Created in NX9.0.0.
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Height | ( | ) |
Returns the height.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::HeightZ | ( | ) |
Returns the height in z direction.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::LengthX | ( | ) |
Returns the length in x direction.
Created in NX9.0.0.
License requirements : None
NXOpen::Point* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Origin | ( | ) |
Returns the origin.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::SetOrigin | ( | NXOpen::Point * | origin | ) |
Sets the origin.
Created in NX9.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
origin | origin |
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::SetType | ( | NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types | type | ) |
Sets the type.
Created in NX9.0.0.
License requirements : nx_subdivision (" NX SUBDIVISION")
type | type |
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Size | ( | ) |
Returns the size.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Types NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::Type | ( | ) |
Returns the type.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::UpdateMesh | ( | ) |
Updates the mesh data after changes in the origin.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::Subdivision::SubdivisionPrimitiveShapeBuilder::WidthY | ( | ) |
Returns the width in y direction.
Created in NX9.0.0.
License requirements : None