NX Open C++ Reference Guide
|
This class serves as the manager for all the part family related operations. More...
Public Member Functions | |
void | AddAssertedMassToChosenAttributes (const NXString &attrToAdd, int indexAddAt) |
Adds new attribute of type asserted mass to chosen attributes list of a part family Created in NX9.0.0. More... | |
void | AddAssertedMassToChosenAttributes (const char *attrToAdd, int indexAddAt) |
Adds new attribute of type asserted mass to chosen attributes list of a part family Created in NX9.0.0. More... | |
NXOpen::PartFamily::InstanceDefinition * | AddInstanceDefinition (const NXString &familyMemberDefnName, NXOpen::PartFamily::InstanceDefinition *previousFamilyMemberDefn, const NXString &otherNameEntry) |
Creates a new family member definition with the supplied name and places it just under previous family member definition. More... | |
NXOpen::PartFamily::InstanceDefinition * | AddInstanceDefinition (const char *familyMemberDefnName, NXOpen::PartFamily::InstanceDefinition *previousFamilyMemberDefn, const char *otherNameEntry) |
Creates a new family member definition with the supplied name and places it just under previous family member definition. More... | |
NXOpen::PartFamily::InstanceDefinition * | AddInstanceDefinitionUsingMemberIdentifier (NXOpen::PartFamily::MemberIdentifier *familyMemberIdentifier, NXOpen::PartFamily::InstanceDefinition *previousFamilyMemberDefn, const NXString &otherNameEntry) |
Creates a new family member definition with the supplied member identifier places it just under previous family member definition. More... | |
NXOpen::PartFamily::InstanceDefinition * | AddInstanceDefinitionUsingMemberIdentifier (NXOpen::PartFamily::MemberIdentifier *familyMemberIdentifier, NXOpen::PartFamily::InstanceDefinition *previousFamilyMemberDefn, const char *otherNameEntry) |
Creates a new family member definition with the supplied member identifier places it just under previous family member definition. More... | |
std::vector < NXOpen::PartFamily::FamilyAttribute * > | AddOptionalCreationNonKeyAttrsToChosenAttrs (NXOpen::PartFamily::FamilyAttribute *pasteAfter) |
Add all optional creation non key attributes to chosen list at the end or after a selected attribute from chosen attribute list. More... | |
void | AddToChosenAttributes (std::vector< NXString > &attrsToAdd, const std::vector< NXOpen::PartFamily::FamilyAttribute::AttrType > &attrsTypes, int indexAddAt) |
Adds new attributes to chosen attributes list of a part family Created in NX9.0.0. More... | |
NXOpen::PartFamily::MemberIdentifier * | CreateMemberIdentifier (const std::vector< NXOpen::PartFamily::FamilyAttribute * > &keyAttrs, std::vector< NXString > &attrValues, const NXString &itemType) |
Creates a member identifier for a part family member from the key attributes and value pair. More... | |
NXOpen::PartFamily::MemberIdentifier * | CreateMemberIdentifier (const std::vector< NXOpen::PartFamily::FamilyAttribute * > &keyAttrs, std::vector< NXString > &attrValues, const char *itemType) |
Creates a member identifier for a part family member from the key attributes and value pair. More... | |
NXOpen::PartFamily::Template * | CreatePartFamily () |
Creates a part family associated with the owning part. More... | |
void | CutAttributes (const std::vector< NXOpen::PartFamily::FamilyAttribute * > &cutAttrs) |
Cut selected attributes of a part family. More... | |
void | DeleteInstanceDefinition (NXOpen::PartFamily::InstanceDefinition *familyMemberDefinition) |
Delete the family member definition from template manager. More... | |
void | DeletePartFamily () |
Deletes a part family associated with the manager/owning part Created in NX9.0.0. More... | |
void | DeletePartFamilyAttribute (NXOpen::PartFamily::FamilyAttribute *partFamilyAttribute) |
Deletes a given part family attribute Created in NX9.0.0. More... | |
void | EditPartFamily () |
Edits a part family associated with the manager/owning part Created in NX9.0.0. More... | |
NXString | EstablishFamilyInstance (const NXString &memberName) |
Creates a part family member if it doesn't exist on disk. More... | |
NXString | EstablishFamilyInstance (const char *memberName) |
Creates a part family member if it doesn't exist on disk. More... | |
std::vector < NXOpen::PartFamily::FamilyAttribute * > | GetAllKeyAttrs () |
Obtains all key attributes (required and optional) required to construct the MFK ID. More... | |
std::vector < NXOpen::PartFamily::FamilyAttribute * > | GetChosenAttributes () |
Returns the attributes on the template manager These might include the attributes which have not yet been committed onto the core object and have only been created by this instance of the manager. More... | |
std::vector< NXString > | GetInfoMessages () |
Obtains the list of messages that may have been encountered in any workflow. More... | |
NXOpen::PartFamily::InstanceDefinition * | GetInstanceDefinition (const NXString &familyMemberDefnName) |
Get the family member definition already present in family. More... | |
NXOpen::PartFamily::InstanceDefinition * | GetInstanceDefinition (const char *familyMemberDefnName) |
Get the family member definition already present in family. More... | |
NXOpen::PartFamily::InstanceDefinition * | GetInstanceDefinitionUsingMemberIdentifier (NXOpen::PartFamily::MemberIdentifier *familyMemberIdentifier) |
Obtains the family member definition already present in family A non zero return code implies familyMemberDefinition is NULL. More... | |
NXOpen::PartFamily::FamilyAttribute * | GetPartFamilyAttribute (NXOpen::PartFamily::FamilyAttribute::AttrType attrType, const NXString &attrName) |
Get the part family attribute from part family template. More... | |
NXOpen::PartFamily::FamilyAttribute * | GetPartFamilyAttribute (NXOpen::PartFamily::FamilyAttribute::AttrType attrType, const char *attrName) |
Get the part family attribute from part family template. More... | |
NXOpen::PartFamily::Template * | GetPartFamilyTemplate () |
Get the part family template This method may return NULL if there is no template associated with the templatemanager. More... | |
std::vector< NXString > | GetSelectableAttributes (NXOpen::PartFamily::FamilyAttribute::AttrType attrType) |
The list of attribute names of a given type in the owning part These can be used to create part family attributes. More... | |
bool | Importable () |
Returns the importable flag value Created in NX9.0.0. More... | |
int | MoveDownAttributes (const std::vector< NXOpen::PartFamily::FamilyAttribute * > &moveDownAttrs, int moveDownCount) |
Move down the specified attributes of a part family by the moveDownCount. More... | |
int | MoveUpAttributes (const std::vector< NXOpen::PartFamily::FamilyAttribute * > &moveUpAttrs, int moveUpCount) |
Move up the specified attributes of a part family by the moveUpCount. More... | |
void | PasteAttributes (NXOpen::PartFamily::FamilyAttribute *pasteAfter) |
Paste the cut attributes of a part family. More... | |
void | RefreshDefaultAttrs () |
Repopulates required attributes in chosen list so that it updates as per the teamcenter customizations, if it has changed since last saved template. More... | |
void | ReorderInstanceDefinition (NXOpen::PartFamily::InstanceDefinition *familyMemberDefinition, NXOpen::PartFamily::InstanceDefinition *previousFamilyMemberDefn) |
Reorder (relocate) familyMemberDefinition just after the previousFamilyMemberDefn. More... | |
NXString | SaveDirectory () |
Returns the save directory path value Created in NX9.0.0. More... | |
int | SaveFamilyAndApplyValues (NXOpen::PartFamily::InstanceDefinition *familyMemberDefinition) |
Save part family and apply the values of chosen family member definition to the template part, It returns failure codes through errorCode. More... | |
std::vector< int > | SaveFamilyAndCreateMembers (const std::vector< NXOpen::PartFamily::InstanceDefinition * > &instDefsToCreate) |
Save part family and create the family members supplied through input array. More... | |
std::vector< int > | SaveFamilyAndFixOrphanMembers (bool forceUpdate, const std::vector< NXOpen::PartFamily::InstanceDefinition * > &instDefsToFix) |
Save part family and fix the orphan family members supplied through input array. More... | |
std::vector< int > | SaveFamilyAndUpdateMembers (bool forceUpdate, const std::vector< NXOpen::PartFamily::InstanceDefinition * > &instDefsToUpdate) |
Save part family and update the family members supplied through input array. More... | |
void | SavePartFamily () |
Save the changes in template manager to core part family. More... | |
void | SetImportable (bool isImportable) |
Sets the importable flag value Created in NX9.0.0. More... | |
void | SetSaveDirectory (const NXString &saveDirectory) |
Sets the save directory path value Created in NX9.0.0. More... | |
void | SetSaveDirectory (const char *saveDirectory) |
Sets the save directory path value Created in NX9.0.0. More... | |
virtual | ~TemplateManager () |
Free resources associated with the instance. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
This class serves as the manager for all the part family related operations.
All operations that create, edit or delete part family objects are done through this class. Use the method Part::NewPartFamilyTemplateManager to create new instance of this class.
Created in NX9.0.0.
|
virtual |
Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector
Created in NX9.0.0.
License requirements : None
void NXOpen::PartFamily::TemplateManager::AddAssertedMassToChosenAttributes | ( | const NXString & | attrToAdd, |
int | indexAddAt | ||
) |
Adds new attribute of type asserted mass to chosen attributes list of a part family
Created in NX9.0.0.
License requirements : adv_assemblies ("ADVANCED ASSEMBLIES"), solid_modeling ("SOLIDS MODELING")
attrToAdd | attrtoadd |
indexAddAt | indexaddat |
void NXOpen::PartFamily::TemplateManager::AddAssertedMassToChosenAttributes | ( | const char * | attrToAdd, |
int | indexAddAt | ||
) |
Adds new attribute of type asserted mass to chosen attributes list of a part family
Created in NX9.0.0.
License requirements : adv_assemblies ("ADVANCED ASSEMBLIES"), solid_modeling ("SOLIDS MODELING")
attrToAdd | attrtoadd |
indexAddAt | indexaddat |
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::AddInstanceDefinition | ( | const NXString & | familyMemberDefnName, |
NXOpen::PartFamily::InstanceDefinition * | previousFamilyMemberDefn, | ||
const NXString & | otherNameEntry | ||
) |
Creates a new family member definition with the supplied name and places it just under previous family member definition.
If the part family is importable, then the otherNameEntry is a mandatory input. Depending on whether we are in managed mode or native, familyMemberDefn name may be os_part_name or db_part_name, and otherNameEntry may be db_part_name or os_part_name. In case of non-importable part family otherName Entry may be empty.
familyMemberDefnName | familymemberdefnname |
previousFamilyMemberDefn | previousfamilymemberdefn |
otherNameEntry | othernameentry |
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::AddInstanceDefinition | ( | const char * | familyMemberDefnName, |
NXOpen::PartFamily::InstanceDefinition * | previousFamilyMemberDefn, | ||
const char * | otherNameEntry | ||
) |
Creates a new family member definition with the supplied name and places it just under previous family member definition.
If the part family is importable, then the otherNameEntry is a mandatory input. Depending on whether we are in managed mode or native, familyMemberDefn name may be os_part_name or db_part_name, and otherNameEntry may be db_part_name or os_part_name. In case of non-importable part family otherName Entry may be empty.
familyMemberDefnName | familymemberdefnname |
previousFamilyMemberDefn | previousfamilymemberdefn |
otherNameEntry | othernameentry |
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::AddInstanceDefinitionUsingMemberIdentifier | ( | NXOpen::PartFamily::MemberIdentifier * | familyMemberIdentifier, |
NXOpen::PartFamily::InstanceDefinition * | previousFamilyMemberDefn, | ||
const NXString & | otherNameEntry | ||
) |
Creates a new family member definition with the supplied member identifier places it just under previous family member definition.
If the part family is importable, then the otherNameEntry is a mandatory input. Depending on whether we are in managed mode or native, otherNameEntry may be db_part_name or os_part_name. In case of non-importable part family otherNameEntry may be empty.
familyMemberIdentifier | familymemberidentifier |
previousFamilyMemberDefn | previousfamilymemberdefn |
otherNameEntry | othernameentry |
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::AddInstanceDefinitionUsingMemberIdentifier | ( | NXOpen::PartFamily::MemberIdentifier * | familyMemberIdentifier, |
NXOpen::PartFamily::InstanceDefinition * | previousFamilyMemberDefn, | ||
const char * | otherNameEntry | ||
) |
Creates a new family member definition with the supplied member identifier places it just under previous family member definition.
If the part family is importable, then the otherNameEntry is a mandatory input. Depending on whether we are in managed mode or native, otherNameEntry may be db_part_name or os_part_name. In case of non-importable part family otherNameEntry may be empty.
familyMemberIdentifier | familymemberidentifier |
previousFamilyMemberDefn | previousfamilymemberdefn |
otherNameEntry | othernameentry |
std::vector<NXOpen::PartFamily::FamilyAttribute *> NXOpen::PartFamily::TemplateManager::AddOptionalCreationNonKeyAttrsToChosenAttrs | ( | NXOpen::PartFamily::FamilyAttribute * | pasteAfter | ) |
Add all optional creation non key attributes to chosen list at the end or after a selected attribute from chosen attribute list.
To add all optional creation attributes at the end, pass pasteAfter as NULL. If an optional attribute is already present in chosen attribute list, it does not add it again. Outputs an array of the optional attributes that were actually added to chosen list
pasteAfter | pasteafter |
void NXOpen::PartFamily::TemplateManager::AddToChosenAttributes | ( | std::vector< NXString > & | attrsToAdd, |
const std::vector< NXOpen::PartFamily::FamilyAttribute::AttrType > & | attrsTypes, | ||
int | indexAddAt | ||
) |
Adds new attributes to chosen attributes list of a part family
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
attrsToAdd | attrstoadd |
attrsTypes | attrstypes |
indexAddAt | indexaddat |
NXOpen::PartFamily::MemberIdentifier* NXOpen::PartFamily::TemplateManager::CreateMemberIdentifier | ( | const std::vector< NXOpen::PartFamily::FamilyAttribute * > & | keyAttrs, |
std::vector< NXString > & | attrValues, | ||
const NXString & | itemType | ||
) |
Creates a member identifier for a part family member from the key attributes and value pair.
In native mode the itemType is NULL In managed mode, the value of itemType could be NULL in which case Template's item type will be used while creating the MemberIdentifier
keyAttrs | keyattrs |
attrValues | attrvalues |
itemType | itemtype |
NXOpen::PartFamily::MemberIdentifier* NXOpen::PartFamily::TemplateManager::CreateMemberIdentifier | ( | const std::vector< NXOpen::PartFamily::FamilyAttribute * > & | keyAttrs, |
std::vector< NXString > & | attrValues, | ||
const char * | itemType | ||
) |
Creates a member identifier for a part family member from the key attributes and value pair.
In native mode the itemType is NULL In managed mode, the value of itemType could be NULL in which case Template's item type will be used while creating the MemberIdentifier
keyAttrs | keyattrs |
attrValues | attrvalues |
itemType | itemtype |
NXOpen::PartFamily::Template* NXOpen::PartFamily::TemplateManager::CreatePartFamily | ( | ) |
Creates a part family associated with the owning part.
void NXOpen::PartFamily::TemplateManager::CutAttributes | ( | const std::vector< NXOpen::PartFamily::FamilyAttribute * > & | cutAttrs | ) |
Cut selected attributes of a part family.
These will be pasted during paste operation. If previously cut attributes are present then they will be lost because the new ones will overwrite them.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
cutAttrs | cutattrs |
void NXOpen::PartFamily::TemplateManager::DeleteInstanceDefinition | ( | NXOpen::PartFamily::InstanceDefinition * | familyMemberDefinition | ) |
Delete the family member definition from template manager.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
familyMemberDefinition | familymemberdefinition |
void NXOpen::PartFamily::TemplateManager::DeletePartFamily | ( | ) |
Deletes a part family associated with the manager/owning part
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::PartFamily::TemplateManager::DeletePartFamilyAttribute | ( | NXOpen::PartFamily::FamilyAttribute * | partFamilyAttribute | ) |
Deletes a given part family attribute
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
partFamilyAttribute | partfamilyattribute |
void NXOpen::PartFamily::TemplateManager::EditPartFamily | ( | ) |
Edits a part family associated with the manager/owning part
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXString NXOpen::PartFamily::TemplateManager::EstablishFamilyInstance | ( | const NXString & | memberName | ) |
Creates a part family member if it doesn't exist on disk.
memberName | membername |
NXString NXOpen::PartFamily::TemplateManager::EstablishFamilyInstance | ( | const char * | memberName | ) |
Creates a part family member if it doesn't exist on disk.
memberName | membername |
std::vector<NXOpen::PartFamily::FamilyAttribute *> NXOpen::PartFamily::TemplateManager::GetAllKeyAttrs | ( | ) |
Obtains all key attributes (required and optional) required to construct the MFK ID.
These would be used to create the unique member identifier.
std::vector<NXOpen::PartFamily::FamilyAttribute *> NXOpen::PartFamily::TemplateManager::GetChosenAttributes | ( | ) |
Returns the attributes on the template manager These might include the attributes which have not yet been committed onto the core object and have only been created by this instance of the manager.
"Use @link Template::GetAttributes Template::GetAttributes@endlink to get the committed attributes"
std::vector<NXString> NXOpen::PartFamily::TemplateManager::GetInfoMessages | ( | ) |
Obtains the list of messages that may have been encountered in any workflow.
This is a generic routine to get all information (Error/Warning/Info) that are deemed useful to user. Contains error messages encountered during save like material issues, interpart expression issues, invalid member names. In addition, if there were locked attributes (i.e. attributes whose value cannot be updated), this also would contain the names of such attributes.
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::GetInstanceDefinition | ( | const NXString & | familyMemberDefnName | ) |
Get the family member definition already present in family.
familyMemberDefnName | familymemberdefnname |
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::GetInstanceDefinition | ( | const char * | familyMemberDefnName | ) |
Get the family member definition already present in family.
familyMemberDefnName | familymemberdefnname |
NXOpen::PartFamily::InstanceDefinition* NXOpen::PartFamily::TemplateManager::GetInstanceDefinitionUsingMemberIdentifier | ( | NXOpen::PartFamily::MemberIdentifier * | familyMemberIdentifier | ) |
Obtains the family member definition already present in family A non zero return code implies familyMemberDefinition is NULL.
familyMemberIdentifier | familymemberidentifier |
NXOpen::PartFamily::FamilyAttribute* NXOpen::PartFamily::TemplateManager::GetPartFamilyAttribute | ( | NXOpen::PartFamily::FamilyAttribute::AttrType | attrType, |
const NXString & | attrName | ||
) |
Get the part family attribute from part family template.
attrType | attrtype |
attrName | attrname |
NXOpen::PartFamily::FamilyAttribute* NXOpen::PartFamily::TemplateManager::GetPartFamilyAttribute | ( | NXOpen::PartFamily::FamilyAttribute::AttrType | attrType, |
const char * | attrName | ||
) |
Get the part family attribute from part family template.
attrType | attrtype |
attrName | attrname |
NXOpen::PartFamily::Template* NXOpen::PartFamily::TemplateManager::GetPartFamilyTemplate | ( | ) |
Get the part family template This method may return NULL if there is no template associated with the templatemanager.
std::vector<NXString> NXOpen::PartFamily::TemplateManager::GetSelectableAttributes | ( | NXOpen::PartFamily::FamilyAttribute::AttrType | attrType | ) |
The list of attribute names of a given type in the owning part These can be used to create part family attributes.
attrType | attrtype |
bool NXOpen::PartFamily::TemplateManager::Importable | ( | ) |
Returns the importable flag value
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
int NXOpen::PartFamily::TemplateManager::MoveDownAttributes | ( | const std::vector< NXOpen::PartFamily::FamilyAttribute * > & | moveDownAttrs, |
int | moveDownCount | ||
) |
Move down the specified attributes of a part family by the moveDownCount.
If the attributes cannot be moved down by the specified count, this method will execute the partial move and return the count that the attributes are actually moved down by.
moveDownAttrs | movedownattrs |
moveDownCount | movedowncount |
int NXOpen::PartFamily::TemplateManager::MoveUpAttributes | ( | const std::vector< NXOpen::PartFamily::FamilyAttribute * > & | moveUpAttrs, |
int | moveUpCount | ||
) |
Move up the specified attributes of a part family by the moveUpCount.
If the attributes cannot be moved up by the specified count, this method will execute the partial move and return the count that the attributes are actually moved up by.
moveUpAttrs | moveupattrs |
moveUpCount | moveupcount |
void NXOpen::PartFamily::TemplateManager::PasteAttributes | ( | NXOpen::PartFamily::FamilyAttribute * | pasteAfter | ) |
Paste the cut attributes of a part family.
The pasteAfter attribute must be present in chosen attributes list for this operation to succeed.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
pasteAfter | pasteafter |
void NXOpen::PartFamily::TemplateManager::RefreshDefaultAttrs | ( | ) |
Repopulates required attributes in chosen list so that it updates as per the teamcenter customizations, if it has changed since last saved template.
Created in NX10.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::PartFamily::TemplateManager::ReorderInstanceDefinition | ( | NXOpen::PartFamily::InstanceDefinition * | familyMemberDefinition, |
NXOpen::PartFamily::InstanceDefinition * | previousFamilyMemberDefn | ||
) |
Reorder (relocate) familyMemberDefinition just after the previousFamilyMemberDefn.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
familyMemberDefinition | familymemberdefinition |
previousFamilyMemberDefn | previousfamilymemberdefn |
NXString NXOpen::PartFamily::TemplateManager::SaveDirectory | ( | ) |
Returns the save directory path value
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
int NXOpen::PartFamily::TemplateManager::SaveFamilyAndApplyValues | ( | NXOpen::PartFamily::InstanceDefinition * | familyMemberDefinition | ) |
Save part family and apply the values of chosen family member definition to the template part, It returns failure codes through errorCode.
familyMemberDefinition | familymemberdefinition |
std::vector<int> NXOpen::PartFamily::TemplateManager::SaveFamilyAndCreateMembers | ( | const std::vector< NXOpen::PartFamily::InstanceDefinition * > & | instDefsToCreate | ) |
Save part family and create the family members supplied through input array.
It returns success and failure codes via errorCodes array.
instDefsToCreate | instdefstocreate |
std::vector<int> NXOpen::PartFamily::TemplateManager::SaveFamilyAndFixOrphanMembers | ( | bool | forceUpdate, |
const std::vector< NXOpen::PartFamily::InstanceDefinition * > & | instDefsToFix | ||
) |
Save part family and fix the orphan family members supplied through input array.
The orphan member that is fixed would also be updated to the latest configuration. It returns success and failure codes via errorCodes array. If errorCodes contains error about locked attributes, use PartFamily::TemplateManager::GetInfoMessages to query the names of those locked attributes.
forceUpdate | forceupdate |
instDefsToFix | instdefstofix |
std::vector<int> NXOpen::PartFamily::TemplateManager::SaveFamilyAndUpdateMembers | ( | bool | forceUpdate, |
const std::vector< NXOpen::PartFamily::InstanceDefinition * > & | instDefsToUpdate | ||
) |
Save part family and update the family members supplied through input array.
It returns success and failure codes via errorCodes array. If errorCodes contains error about locked attributes, use PartFamily::TemplateManager::GetInfoMessages to query the names of those locked attributes.
forceUpdate | forceupdate |
instDefsToUpdate | instdefstoupdate |
void NXOpen::PartFamily::TemplateManager::SavePartFamily | ( | ) |
Save the changes in template manager to core part family.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::PartFamily::TemplateManager::SetImportable | ( | bool | isImportable | ) |
Sets the importable flag value
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
isImportable | isimportable |
void NXOpen::PartFamily::TemplateManager::SetSaveDirectory | ( | const NXString & | saveDirectory | ) |
Sets the save directory path value
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
saveDirectory | savedirectory |
void NXOpen::PartFamily::TemplateManager::SetSaveDirectory | ( | const char * | saveDirectory | ) |
Sets the save directory path value
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
saveDirectory | savedirectory |