NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Weld::InformationBuilder Class Reference

This class is used by "Fabrication Information" to output fabrication objects information. More...

Inheritance diagram for NXOpen::Weld::InformationBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::SelectNXObjectListFabricationObjects ()
 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.
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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.
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t GetTag () const
 
<b>Deprecated</b>:<br>

   Use Tag instead.

 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

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.

Member Function Documentation

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")

Parameters
outputAttributesoutputattributes
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")

Parameters
outputLengthAndVolumeoutputlengthandvolume

The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.