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

Builder class for assigning AD type to NXOpen::Part and name to NXOpen::Assemblies::Component
To create a new instance of this class, use NXOpen::AME::AMEManager::CreateManageObjectTypeBuilder

Created in NX12.0.0. More...

Inheritance diagram for NXOpen::AME::ManageObjectTypeBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

void AssignNewType (const std::vector< NXOpen::Part * > &parts, const NXString &newType)
 Assigns AD Type to input parts
Created in NX12.0.0. More...
 
void AssignNewType (const std::vector< NXOpen::Part * > &parts, const char *newType)
 Assigns AD Type to input parts
Created in NX12.0.0. More...
 
void RemoveType (const std::vector< NXOpen::Part * > &parts)
 Removes AD Type from input parts
Created in NX12.0.0. More...
 
void RenameComponent (NXOpen::Assemblies::Component *partOccurrence, const NXString &name)
 Assigns new name to the input component
Created in NX12.0.0. More...
 
void RenameComponent (NXOpen::Assemblies::Component *partOccurrence, const char *name)
 Assigns new name to the input component
Created in NX12.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Builder class for assigning AD type to NXOpen::Part and name to NXOpen::Assemblies::Component
To create a new instance of this class, use NXOpen::AME::AMEManager::CreateManageObjectTypeBuilder

Created in NX12.0.0.


Member Function Documentation

void NXOpen::AME::ManageObjectTypeBuilder::AssignNewType ( const std::vector< NXOpen::Part * > &  parts,
const NXString newType 
)

Assigns AD Type to input parts
Created in NX12.0.0.



License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
partsparts
newTypenewtype
void NXOpen::AME::ManageObjectTypeBuilder::AssignNewType ( const std::vector< NXOpen::Part * > &  parts,
const char *  newType 
)

Assigns AD Type to input parts
Created in NX12.0.0.



License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
partsparts
newTypenewtype
void NXOpen::AME::ManageObjectTypeBuilder::RemoveType ( const std::vector< NXOpen::Part * > &  parts)

Removes AD Type from input parts
Created in NX12.0.0.



License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
partsparts
void NXOpen::AME::ManageObjectTypeBuilder::RenameComponent ( NXOpen::Assemblies::Component partOccurrence,
const NXString name 
)

Assigns new name to the input component
Created in NX12.0.0.



License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
partOccurrencepartoccurrence
namename
void NXOpen::AME::ManageObjectTypeBuilder::RenameComponent ( NXOpen::Assemblies::Component partOccurrence,
const char *  name 
)

Assigns new name to the input component
Created in NX12.0.0.



License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
partOccurrencepartoccurrence
namename

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