NX Open C++ Reference Guide
|
This class is used by "Fabrication Information" to output fabrication objects information. More...
Public Member Functions | |
NXOpen::SelectNXObjectList * | FabricationObjects () |
Returns the list of weld fabrication objects to create the output. | |
double | GetTotalLength () |
Get the total length of the selection weld objects. | |
double | GetTotalVolume () |
Get the total volume of the selection weld objects. | |
bool | OutputAttributes () |
Returns the option to specify if the weld attributes should be included in the output. | |
bool | OutputLengthAndVolume () |
Returns the option to specify if the weld length and volume should be calculated for the output. | |
void | SetOutputAttributes (bool outputAttributes) |
Sets the option to specify if the weld attributes should be included in the output. | |
void | SetOutputLengthAndVolume (bool outputLengthAndVolume) |
Sets the option to specify if the weld length and volume should be calculated for the output. | |
![]() | |
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. | |
This class is used by "Fabrication Information" to output fabrication objects information.
When commit is called, attributes and total weld length and volume of selected objects will be output into a list window. No objects are returned when Commit is called. <br> To create a new instance of this class, use @link Weld::WeldManager::CreateInformationBuilder Weld::WeldManager::CreateInformationBuilder @endlink <br>
Default values.
Property | Value |
---|---|
OutputAttributes |
1 |
OutputLengthAndVolume |
0 |
Created in NX9.0.0.
NXOpen::SelectNXObjectList* NXOpen::Weld::InformationBuilder::FabricationObjects | ( | ) |
Returns the list of weld fabrication objects to create the output.
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
double NXOpen::Weld::InformationBuilder::GetTotalLength | ( | ) |
Get the total length of the selection weld objects.
This function may be time intensive and should be used after all weld data has been defined. @return
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
double NXOpen::Weld::InformationBuilder::GetTotalVolume | ( | ) |
Get the total volume of the selection weld objects.
This function may be time intensive and should be used after all weld data has been defined. @return
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
bool NXOpen::Weld::InformationBuilder::OutputAttributes | ( | ) |
Returns the option to specify if the weld attributes should be included in the output.
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
bool NXOpen::Weld::InformationBuilder::OutputLengthAndVolume | ( | ) |
Returns the option to specify if the weld length and volume should be calculated for the output.
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
void NXOpen::Weld::InformationBuilder::SetOutputAttributes | ( | bool | outputAttributes | ) |
Sets the option to specify if the weld attributes should be included in the output.
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
outputAttributes | outputattributes |
void NXOpen::Weld::InformationBuilder::SetOutputLengthAndVolume | ( | bool | outputLengthAndVolume | ) |
Sets the option to specify if the weld length and volume should be calculated for the output.
Created in NX9.0.0.
License requirements : ugweld ("UG WELD") OR structure_weld ("STRUCTURE WELD")
outputLengthAndVolume | outputlengthandvolume |