|
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. | |
| bool | AreAttributesDefault (NXOpen::Weld::CharacteristicsBuilder::Type charxType) |
| 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 | ChangeFeatureType (NXOpen::Weld::CharacteristicsBuilder::Type charxType) |
| 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. | |
| NXOpen::Weld::CharacteristicsSelectionBuilder * | CreateSelectionSet (NXOpen::Weld::CharacteristicsBuilder::Type charxType, 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. | |
| void | InheritAttributesFromObject (NXOpen::NXObject *object) |
| Inherit the attributes that are on the object to the selection. | |
| 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 | SetAllAttributesChanged () |
| Sets all attributes to be changed. | |
| void | SetAllAttributesChanged (bool status) |
| Sets all attributes changed value to the status value. | |
| void | SetSelected (NXOpen::Weld::CharacteristicsValueBuilder *valueBuilder) |
| Sets the selected characteristic value. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
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. | |
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.
The custom type of the datum specified for creation.
| 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. |
| void NXOpen::Weld::CharacteristicsBuilder::ApplyAttributesToSelected | ( | ) |
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.
Created in NX8.0.0.
License requirements : None
| weldType | The type of welding feature being processed, see uf_weld_types.h. |
| bool NXOpen::Weld::CharacteristicsBuilder::AreAttributesDefault | ( | NXOpen::Weld::CharacteristicsBuilder::Type | charxType | ) |
Returns true if the characteristics builder contains all attributes with default values.
| charxType | The type of characteristics being processed |
| 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. |
| void NXOpen::Weld::CharacteristicsBuilder::ChangeFeatureType | ( | NXOpen::Weld::CharacteristicsBuilder::Type | charxType | ) |
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 NX9.0.0.
License requirements : None
| charxType | The type of characteristics being processed |
| void NXOpen::Weld::CharacteristicsBuilder::CopyAttributesFromObject | ( | NXOpen::NXObject * | object | ) |
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.
Created in NX7.5.0.
License requirements : None
| weldType | The type of welding feature being processed, see uf_weld_types.h. |
| data | An object to retrieve the current attribute settings. |
| NXOpen::Weld::CharacteristicsSelectionBuilder* NXOpen::Weld::CharacteristicsBuilder::CreateSelectionSet | ( | NXOpen::Weld::CharacteristicsBuilder::Type | charxType, |
| NXOpen::NXObject * | data | ||
| ) |
Create a new selection set and add it to the list.
| charxType | The type of characteristics being processed |
| data | An object to retrieve the current attribute settings. |
| bool NXOpen::Weld::CharacteristicsBuilder::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.
| object | The object from which to copy the attributes. |
| bool NXOpen::Weld::CharacteristicsBuilder::HasActiveValues | ( | ) |
Returns true if the characteristics builder has any active values.
| void NXOpen::Weld::CharacteristicsBuilder::InheritAttributesFromObject | ( | NXOpen::NXObject * | object | ) |
Inherit the attributes that are on the object to the selection.
Created in NX8.5.0.
License requirements : None
| object | The object from which to inherit the attributes. |
| NXOpen::SelectNXObject* NXOpen::Weld::CharacteristicsBuilder::InheritObject | ( | ) |
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. |
| void NXOpen::Weld::CharacteristicsBuilder::RemoveInheritedAttributes | ( | ) |
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
| NXOpen::Weld::CharacteristicsValueBuilder* NXOpen::Weld::CharacteristicsBuilder::Selected | ( | ) |
Returns the selected characteristic value.
Created in NX7.5.0.
License requirements : None
| NXOpen::NXObjectList* NXOpen::Weld::CharacteristicsBuilder::SelectionList | ( | ) |
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::SetAllAttributesChanged | ( | ) |
Sets all attributes to be changed.
Created in NX8.5.0.
License requirements : None
| void NXOpen::Weld::CharacteristicsBuilder::SetAllAttributesChanged | ( | bool | status | ) |
Sets all attributes changed value to the status value.
Created in NX9.0.0.
License requirements : None
| status | The value to set changed value. true means attribute has been changed, false means attribute has not been changed |
| void NXOpen::Weld::CharacteristicsBuilder::SetSelected | ( | NXOpen::Weld::CharacteristicsValueBuilder * | valueBuilder | ) |
Sets the selected characteristic value.
Created in NX7.5.0.
License requirements : None
| valueBuilder | valuebuilder |