NX Open C++ Reference Guide
|
Represents a Tooling::BomBuilder builder <br> To create a new instance of this class, use @link Tooling::BomCollection::CreateBomBuilder Tooling::BomCollection::CreateBomBuilder @endlink <br>
Default values. More...
Public Types | |
enum | Circle { CircleCircumcircle, CircleInscribedCircle } |
Represents an index to the base circle type of cylinder shape. More... | |
enum | Shape { ShapeRectangular, ShapeCircular } |
Represents an index to the shape of stock size. More... | |
enum | TreeList { TreeListBom, TreeListHide } |
Represents an index to components list type. More... | |
Public Member Functions | |
NXOpen::Tooling::BomBuilder::TreeList | EnumCompList () |
Returns the tree list shows which kind of components should be included in Created in NX6.0.0. | |
NXOpen::Tooling::BomBuilder::Circle | EnumCylinderType () |
Returns the cylinder type may be used to generate a cylinder for the stock size Created in NX6.0.0. | |
NXOpen::Tooling::BomBuilder::Shape | EnumStockType () |
Returns the stock shape will be generated, it can be a box or cylinder Created in NX6.0.0. | |
int | IntegerPrecision () |
Returns the size precision for the stock Created in NX6.0.0. | |
NXOpen::SelectPartList * | SelectComponent () |
Returns the select component needed to get stocksize Created in NX6.0.0. | |
void | SetEnumCompList (NXOpen::Tooling::BomBuilder::TreeList enumCompList) |
Sets the tree list shows which kind of components should be included in Created in NX6.0.0. | |
void | SetEnumCylinderType (NXOpen::Tooling::BomBuilder::Circle enumCylinderType) |
Sets the cylinder type may be used to generate a cylinder for the stock size Created in NX6.0.0. | |
void | SetEnumStockType (NXOpen::Tooling::BomBuilder::Shape enumStockType) |
Sets the stock shape will be generated, it can be a box or cylinder Created in NX6.0.0. | |
void | SetIntegerPrecision (int integerPrecision) |
Sets the size precision for the stock Created in NX6.0.0. | |
![]() | |
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 Tooling::BomBuilder builder <br> To create a new instance of this class, use @link Tooling::BomCollection::CreateBomBuilder Tooling::BomCollection::CreateBomBuilder @endlink <br>
Default values.
Property | Value |
---|---|
EnumCompList |
Bom |
Created in NX6.0.0.
NXOpen::Tooling::BomBuilder::TreeList NXOpen::Tooling::BomBuilder::EnumCompList | ( | ) |
Returns the tree list shows which kind of components should be included in
Created in NX6.0.0.
License requirements : None
NXOpen::Tooling::BomBuilder::Circle NXOpen::Tooling::BomBuilder::EnumCylinderType | ( | ) |
Returns the cylinder type may be used to generate a cylinder for the stock size
Created in NX6.0.0.
License requirements : None
NXOpen::Tooling::BomBuilder::Shape NXOpen::Tooling::BomBuilder::EnumStockType | ( | ) |
Returns the stock shape will be generated, it can be a box or cylinder
Created in NX6.0.0.
License requirements : None
int NXOpen::Tooling::BomBuilder::IntegerPrecision | ( | ) |
Returns the size precision for the stock
Created in NX6.0.0.
License requirements : None
NXOpen::SelectPartList* NXOpen::Tooling::BomBuilder::SelectComponent | ( | ) |
Returns the select component needed to get stocksize
Created in NX6.0.0.
License requirements : None
void NXOpen::Tooling::BomBuilder::SetEnumCompList | ( | NXOpen::Tooling::BomBuilder::TreeList | enumCompList | ) |
Sets the tree list shows which kind of components should be included in
Created in NX6.0.0.
License requirements : None
enumCompList | enumcomplist |
void NXOpen::Tooling::BomBuilder::SetEnumCylinderType | ( | NXOpen::Tooling::BomBuilder::Circle | enumCylinderType | ) |
Sets the cylinder type may be used to generate a cylinder for the stock size
Created in NX6.0.0.
License requirements : None
enumCylinderType | enumcylindertype |
void NXOpen::Tooling::BomBuilder::SetEnumStockType | ( | NXOpen::Tooling::BomBuilder::Shape | enumStockType | ) |
Sets the stock shape will be generated, it can be a box or cylinder
Created in NX6.0.0.
License requirements : None
enumStockType | enumstocktype |
void NXOpen::Tooling::BomBuilder::SetIntegerPrecision | ( | int | integerPrecision | ) |
Sets the size precision for the stock
Created in NX6.0.0.
License requirements : None
integerPrecision | integerprecision |