NX Open C++ Reference Guide
|
This builder allows you to define the attribute values to be set on the output of the weld feature. More...
Public Member Functions | |
void | ApplyAttributes (const std::vector< NXOpen::NXObject * > &objects) |
Apply the selected attributes to the objects. | |
void | ApplyAttributesToSelected () |
Apply the selected attributes to the objects that were selected. | |
bool | AreAttributesDefault (int weldType) |
Returns true if the characteristics builder contains all attributes with default values. | |
void | ChangeFeatureType (int weldType) |
Change the type of feature defining the attributes. | |
void | CopyAttributesFromObject (NXOpen::NXObject *object) |
Copy the attributes that are on the object to the selection. | |
void | CopyNonActiveAttributesFromObject (NXOpen::NXObject *object) |
Copy the non active attributes that are on the object to the selection. | |
NXOpen::Weld::CharacteristicsSelectionBuilder * | CreateSelectionSet (int weldType, NXOpen::NXObject *data) |
Create a new selection set and add it to the list. | |
bool | DoesObjectHaveAttributes (NXOpen::NXObject *object) |
Copy the attributes that are on the object to the selection and returns a flag indicating whether the object actually has attributes. | |
bool | HasActiveValues () |
Returns true if the characteristics builder has any active values. | |
NXOpen::SelectNXObject * | InheritObject () |
Returns the selection object containing data that is used to define the attribute values. | |
void | RemoveAllAttributes (const std::vector< NXOpen::NXObject * > &objects) |
Remove all attributes from the objects. | |
void | RemoveInheritedAttributes () |
Remove any attributes that are inherited from other objects (for example, edges). | |
NXOpen::Weld::CharacteristicsValueBuilder * | Selected () |
Returns the selected characteristic value. | |
NXOpen::NXObjectList * | SelectionList () |
Returns the list of potential attributes and objects selected for this weld feature. | |
void | SetSelected (NXOpen::Weld::CharacteristicsValueBuilder *valueBuilder) |
Sets the selected characteristic value. |
This builder allows you to define the attribute values to be set on the output of the weld feature.
To create a new instance of this class, use Weld::WeldManager::CreateCharacteristicsBuilder
Created in NX7.5.0.
void NXOpen::Weld::CharacteristicsBuilder::ApplyAttributes | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Apply the selected attributes to the objects.
Created in NX7.5.0.
License requirements : None
objects | The objects to apply the attributes to. |
Apply the selected attributes to the objects that were selected.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Weld::CharacteristicsBuilder::AreAttributesDefault | ( | int | weldType | ) |
Returns true if the characteristics builder contains all attributes with default values.
weldType | The type of welding feature being processed, see uf_weld_types.h. |
void NXOpen::Weld::CharacteristicsBuilder::ChangeFeatureType | ( | int | weldType | ) |
Change the type of feature defining the attributes.
Note after calling this method, the WeldJA::CharacteristicsValueBuilder objects previously retrieved will be invalid. You need to reaccess them if you want to make any changes to them.
Created in NX7.5.0.
License requirements : None
weldType | The type of welding feature being processed, see uf_weld_types.h. |
Copy the attributes that are on the object to the selection.
Created in NX8.0.0.
License requirements : None
object | The object from which to copy the attributes. |
void NXOpen::Weld::CharacteristicsBuilder::CopyNonActiveAttributesFromObject | ( | NXOpen::NXObject * | object | ) |
Copy the non active attributes that are on the object to the selection.
Created in NX8.0.0.
License requirements : None
object | The object from which to copy the attributes. |
NXOpen::Weld::CharacteristicsSelectionBuilder* NXOpen::Weld::CharacteristicsBuilder::CreateSelectionSet | ( | int | weldType, |
NXOpen::NXObject * | data | ||
) |
Create a new selection set and add it to the list.
weldType | The type of welding feature being processed, see uf_weld_types.h. |
data | An object to retrieve the current attribute settings. |
Copy the attributes that are on the object to the selection and returns a flag indicating whether the object actually has attributes.
object | The object from which to copy the attributes. |
Returns true if the characteristics builder has any active values.
Returns the selection object containing data that is used to define the attribute values.
Created in NX7.5.0.
License requirements : None
void NXOpen::Weld::CharacteristicsBuilder::RemoveAllAttributes | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Remove all attributes from the objects.
Created in NX8.0.0.
License requirements : None
objects | The objects to remove the attributes from. |
Remove any attributes that are inherited from other objects (for example, edges).
These will be attributes that are not required and are not in a category.
Created in NX8.0.1.
License requirements : None
Returns the selected characteristic value.
Created in NX7.5.0.
License requirements : None
Returns the list of potential attributes and objects selected for this weld feature.
Created in NX7.5.0.
License requirements : None
void NXOpen::Weld::CharacteristicsBuilder::SetSelected | ( | NXOpen::Weld::CharacteristicsValueBuilder * | valueBuilder | ) |
Sets the selected characteristic value.
Created in NX7.5.0.
License requirements : None
valueBuilder | valuebuilder |