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

Represents a NXOpen::PDM::PartOperationMakeUniqueBuilder builder
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateMakeUniqueOperationBuilder

Created in NX10.0.0. More...

Inheritance diagram for NXOpen::PDM::PartOperationMakeUniqueBuilder:
NXOpen::PDM::PartOperationCopyBuilder NXOpen::PDM::PartOperationBuilder NXOpen::Builder NXOpen::IAttributeSourceObjectBuilder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::SelectDisplayableObjectListSelectedComponents ()
 Returns the selected components to be made unique are returned. More...
 
- Public Member Functions inherited from NXOpen::PDM::PartOperationCopyBuilder
void AddRelatedPartsToCopy (NXOpen::BasePart *basePart, const std::vector< NXOpen::BasePart * > &relatedParts, std::vector< NXString > &relatedPartsReasons, NXOpen::PDM::PartOperationBuilder::OperationType operation)
 Add related part to the part undergoing an operation. More...
 
void CreateNonMasterListForCopyLogicalObject (NXOpen::PDM::LogicalObject *logicalObject)
 Create NonMaster list for the selected logical Object
More...
 
NXOpen::PDM::PartOperationCopyBuilder::CopyDependentFiles DependentFilesToCopyOption ()
 Returns the Dependent files Save As option. More...
 
bool EditNonMasterToCopyName (NXOpen::PDM::LogicalObject *logicalObject, const NXString &oldName, const NXString &newName)
 Sets the name the non-master part will get saved as. More...
 
bool EditNonMasterToCopyName (NXOpen::PDM::LogicalObject *logicalObject, const char *oldName, const char *newName)
 Sets the name the non-master part will get saved as. More...
 
NXOpen::PDM::PartOperationCopyBuilder::CopyNonMasterParts GetCopyNonMasterPartsOption (NXOpen::PDM::LogicalObject *logicalObject)
 Get the nonmasters saveAs option for given logical object. More...
 
std::vector< NXStringGetNonMasterListForCopyLogicalObject (NXOpen::PDM::LogicalObject *logicalObject)
 Gets NonMaster list for the given logical Object. More...
 
NXOpen::PDM::PartOperationCopyBuilder::OperationSubType GetOperationSubType ()
 Returns the NXOpen::PDM::PartOperationCopyBuilder::OperationSubType for Create. More...
 
bool IsNonMasterForLogicalObjectBeingCopied (NXOpen::PDM::LogicalObject *logicalObject, const NXString &partName)
 Returns whether or not the non-master part specified for the given NXOpen::PDM::LogicalObject will actually get saved during the save as operation. More...
 
bool IsNonMasterForLogicalObjectBeingCopied (NXOpen::PDM::LogicalObject *logicalObject, const char *partName)
 Returns whether or not the non-master part specified for the given NXOpen::PDM::LogicalObject will actually get saved during the save as operation. More...
 
bool ReplaceAllComponentsInSession ()
 Returns the replace all components. More...
 
void SetCopyNonMasterPartsOption (NXOpen::PDM::LogicalObject *logicalObject, NXOpen::PDM::PartOperationCopyBuilder::CopyNonMasterParts saveOption)
 Set the nonmasters saveAs option for given logical object. More...
 
void SetDependentFilesToCopyOption (NXOpen::PDM::PartOperationCopyBuilder::CopyDependentFiles saveOption)
 Sets the Dependent files Save As option. More...
 
void SetOperationSubType (NXOpen::PDM::PartOperationCopyBuilder::OperationSubType operationSubType)
 Sets the NXOpen::PDM::PartOperationCopyBuilder::OperationSubType for Create. More...
 
void SetReplaceAllComponentsInSession (bool replaceAllComponents)
 Sets the replace all components. More...
 
void SetSelectedNonMasterToCopy (NXOpen::PDM::LogicalObject *logicalObject, const NXString &partName)
 Sets whether or not the non-master part specified will actually get saved during the save as operation. More...
 
void SetSelectedNonMasterToCopy (NXOpen::PDM::LogicalObject *logicalObject, const char *partName)
 Sets whether or not the non-master part specified will actually get saved during the save as operation. More...
 
void SetSelectedPartsToCopy (const std::vector< NXOpen::BasePart * > &selectedParts, std::vector< NXOpen::BasePart * > &failedParts)
 Sets the selected parts. More...
 
- Public Member Functions inherited from NXOpen::PDM::PartOperationBuilder
void AddRelatedPartToOperate (NXOpen::BasePart *basePart, const std::vector< NXOpen::BasePart * > &relatedParts, std::vector< NXString > &relatedPartsReasons, NXOpen::PDM::PartOperationBuilder::OperationType operation)
 Add related part to the part undergoing an operation. More...
 
virtual NXOpen::ErrorListAutoAssignAttributes (const std::vector< NXOpen::NXObject * > &objects)
 Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign. More...
 
virtual NXOpen::ErrorListAutoAssignAttributesWithNamingPattern (const std::vector< NXOpen::NXObject * > &objects, const std::vector< NXOpen::NXObject * > &properties)
 Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign. More...
 
void ClearWarnings ()
 Executes method ClearWarningCodeToLogicalObjectsSetMap() which clears m_warningCodeToLogicalObjectsSetMap. More...
 
virtual NXOpen::NXObjectCreateAttributeTitleToNamingPatternMap (std::vector< NXString > &attributeTitles, std::vector< NXString > &titlePatterns)
 Creates a map object of attribute titles to their corresponding naming pattern. More...
 
void CreateLogicalObjects (std::vector< NXOpen::PDM::LogicalObject * > &logicalObjects)
 Creates the pre-creation objects for the parts
Created in NX9.0.0. More...
 
void CreateNonMasterListForLogicalObject (NXOpen::PDM::LogicalObject *logicalObject)
 Create NonMaster list for the selected logical Object
More...
 
void CreateSpecificationsForLogicalObjects (const std::vector< NXOpen::PDM::LogicalObject * > &logicalObjects)
 Create new specifications for Logical Objects
Created in NX9.0.0. More...
 
NXString DefaultDestinationFolder ()
 Returns the default destination folder string for the part being created . More...
 
NXOpen::PDM::PartOperationBuilder::DependentFileSaveAs DependentFileSaveAsOption ()
 Returns the Dependent files Save As option. More...
 
bool EditNonMasterName (NXOpen::PDM::LogicalObject *logicalObject, const NXString &oldName, const NXString &newName)
 Sets the name the non-master part will get saved as. More...
 
bool EditNonMasterName (NXOpen::PDM::LogicalObject *logicalObject, const char *oldName, const char *newName)
 Sets the name the non-master part will get saved as. More...
 
NXOpen::PDM::AlternateIdManagerGetAlternateIDManager (NXOpen::PDM::LogicalObject *logicalObject)
 Create an instance of a NXOpen::PDM::AlternateIdManager class that will be used to create alternate ID information while creating the new part. More...
 
NXOpen::PDM::PartOperationBuilder::OperationType GetDialogOperation ()
 Returns the dialog operation Applicable only for operation types PartOperationBuilder::OperationTypeSaveAs and PartOperationBuilder::OperationTypeRevise. More...
 
NXOpen::PDM::ErrorMessageHandlerGetErrorMessageHandler (bool refresh)
 Returns ErrorMessageHandler. More...
 
NXOpen::PDM::PartOperationBuilder::NonMasterSaveAs GetNonMasterCopyOption (NXOpen::PDM::LogicalObject *logicalObject)
 Get the nonmasters saveAs option for given logical object. More...
 
std::vector< NXStringGetNonMasterList (NXOpen::PDM::LogicalObject *logicalObject)
 Gets NonMaster list for the given logical Object. More...
 
NXOpen::ErrorListGetOperationFailures ()
 Returns part operation failures. More...
 
bool IsNonMasterBeingCopied (NXOpen::PDM::LogicalObject *logicalObject, const NXString &partName)
 Returns whether or not the non master part specified for the given NXOpen::PDM::LogicalObject will actually get saved during the save as operation. More...
 
bool IsNonMasterBeingCopied (NXOpen::PDM::LogicalObject *logicalObject, const char *partName)
 Returns whether or not the non master part specified for the given NXOpen::PDM::LogicalObject will actually get saved during the save as operation. More...
 
bool ReplaceAllComponents ()
 Returns the replace all components. More...
 
void SetDefaultDestinationFolder (const NXString &defaultDestinationFolder)
 Sets the default destination folder string for the part being created . More...
 
void SetDefaultDestinationFolder (const char *defaultDestinationFolder)
 Sets the default destination folder string for the part being created . More...
 
void SetDependentFileSaveAsOption (NXOpen::PDM::PartOperationBuilder::DependentFileSaveAs saveOption)
 Sets the Dependent files Save As option. More...
 
void SetDialogOperation (NXOpen::PDM::PartOperationBuilder::OperationType dialogOperation)
 Sets the dialog operation. More...
 
void SetNonMasterSaveAsOption (NXOpen::PDM::LogicalObject *logicalObject, NXOpen::PDM::PartOperationBuilder::NonMasterSaveAs saveOption)
 Set the nonmasters saveAs option for given logical object
More...
 
void SetReplaceAllComponents (bool replaceAllComponents)
 Sets the replace all components. More...
 
void SetSelectedNonMasterToSaveAs (NXOpen::PDM::LogicalObject *logicalObject, const NXString &partName)
 Sets whether or not the non-master part specified will actually get saved during the save as operation. More...
 
void SetSelectedNonMasterToSaveAs (NXOpen::PDM::LogicalObject *logicalObject, const char *partName)
 Sets whether or not the non-master part specified will actually get saved during the save as operation. More...
 
void SetSelectedParts (const std::vector< NXOpen::BasePart * > &selectedParts, std::vector< NXOpen::BasePart * > &failedParts)
 Sets the selected parts. More...
 
void ValidateLogicalObjectsToCommit ()
 Validates NXOpen::PDM::LogicalObject objects with this builder and udpates the operation failuers. 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...
 

Additional Inherited Members

- Public Types inherited from NXOpen::PDM::PartOperationCopyBuilder
enum  CopyDependentFiles { CopyDependentFilesAll, CopyDependentFilesNone }
 This enum is used to specify which dependent files should be copied to new part during the save as operation. More...
 
enum  CopyNonMasterParts { CopyNonMasterPartsAll, CopyNonMasterPartsNone }
 This enum is used to specify which non-master parts should be copied to new part during the save as operation. More...
 
enum  OperationSubType { OperationSubTypeDefault, OperationSubTypeMakeUnique }
 Represents an operation sub type for copying a part. More...
 

Detailed Description

Represents a NXOpen::PDM::PartOperationMakeUniqueBuilder builder
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateMakeUniqueOperationBuilder

Created in NX10.0.0.


Member Function Documentation

NXOpen::SelectDisplayableObjectList* NXOpen::PDM::PartOperationMakeUniqueBuilder::SelectedComponents ( )

Returns the selected components to be made unique are returned.


Created in NX10.0.0.

License requirements : None


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