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

Represents a builder class that performs Create operations
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateImportOperationBuilder
Default values. More...

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

Public Types

enum  ConversionRule {
  ConversionRuleAsID, ConversionRuleAsIDandRevision, ConversionRuleWithPrefix, ConversionRuleWithSuffix,
  ConversionRuleWithReplaceString
}
 This enum is used to specify the conversion rule for <ja_type>JA_PART_OPERATION_IMPORT_BUILDER_NumberingSourceOption_OSFilename</ja_type>. More...
 
enum  ExistingPartAction { ExistingPartActionOverwrite, ExistingPartActionUseExisting, ExistingPartActionNewRevision, ExistingPartActionDefault }
 This enum is used to specify the default action for import. More...
 
enum  NumberingSourceOption { NumberingSourceOptionPartIDGenerator, NumberingSourceOptionOSFilename, NumberingSourceOptionAttribute }
 This enum is used to specify the default behavior for auto assign. More...
 
enum  Validation {
  ValidationOff, ValidationImportFromPart, ValidationRunValidation, ValidationRunValidationHybrid,
  ValidationDefault
}
 This enum is used to specify the validation mode. More...
 
enum  ValidationRuleSetFileBrowseOption { ValidationRuleSetFileBrowseOptionNative, ValidationRuleSetFileBrowseOptionTeamcenter }
 This enum is used to specify the option to browse the validation rule set file from. More...
 
- Public Types inherited from NXOpen::PDM::PartOperationBuilder
enum  DependentFileSaveAs { DependentFileSaveAsAll, DependentFileSaveAsNone }
 This enum is used to specify which dependent files should be saved during the save as operation. More...
 
enum  NonMasterSaveAs { NonMasterSaveAsAll, NonMasterSaveAsNone }
 This enum is used to specify which non-master parts should be saved during the save as operation. More...
 
enum  OperationType { OperationTypeSaveAs, OperationTypeRevise, OperationTypeCreate, OperationTypeImport }
 Represents an operation type that can be performed on a part
Created in NX9.0.0. More...
 

Public Member Functions

bool AddDfaMixins ()
 Returns the add dfa mixins
Created in NX10.0.0. More...
 
void AddParts (std::vector< NXString > &parts, std::vector< NXString > &errorMsgs)
 Add parts to import
Created in NX10.0.0. More...
 
void AddPartsFromFolder (const NXString &folderPath, std::vector< NXString > &errorMsgs)
 Add parts to import from selected folder
Created in NX10.0.0. More...
 
void AddPartsFromFolder (const char *folderPath, std::vector< NXString > &errorMsgs)
 Add parts to import from selected folder
Created in NX10.0.0. More...
 
void AddPartsUsingLogFile (const NXString &logFilePath, std::vector< NXString > &errorMsgs)
 Add parts using log file either clone log file or import log file
Created in NX10.0.0. More...
 
void AddPartsUsingLogFile (const char *logFilePath, std::vector< NXString > &errorMsgs)
 Add parts using log file either clone log file or import log file
Created in NX10.0.0. More...
 
NXString AssociatedFilesRootDirectory ()
 Returns the associated files root directory
Created in NX10.0.0. More...
 
NXOpen::PDM::PartOperationImportBuilder::ConversionRule ConversionType ()
 Returns the conversion type
Created in NX10.0.0. More...
 
NXOpen::PDM::PartOperationImportBuilder::ExistingPartAction DefaultAction ()
 Returns the default action
Created in NX10.0.0. More...
 
NXString DefaultDescription ()
 Returns the default description
Created in NX10.0.0. More...
 
NXString DefaultItemType ()
 Returns the default item type
Created in NX10.0.0. More...
 
NXString DefaultName ()
 Returns the default name
Created in NX10.0.0. More...
 
NXString DefaultOwningGroup ()
 Returns the default owning group
Created in NX10.0.0. More...
 
NXString DefaultOwningUser ()
 Returns the default owning user
Created in NX10.0.0. More...
 
void ExecuteDryRun ()
 Execute the dry run
Created in NX10.0.0. More...
 
void GetDefaultProjectInformation (std::vector< NXString > &projectNames, std::vector< NXOpen::Session::ProjectAssignmentState > &assignmentStates)
 Get default projects information
Created in NX10.0.0. More...
 
void GetDfaFiles (std::vector< NXString > &dfaFiles)
 Get the dfa files
Created in NX10.0.0. More...
 
NXOpen::PDM::LogicalObjectGetLogicalObjectForPart (const NXString &partFilename)
 Gets the known logical object for the given part filename. More...
 
NXOpen::PDM::LogicalObjectGetLogicalObjectForPart (const char *partFilename)
 Gets the known logical object for the given part filename. More...
 
void GetUpdatedLogicalObjects (std::vector< NXOpen::PDM::LogicalObject * > &logicalObjects)
 Gets the updated logical object objects for the parts after item type, relation type or master part for nonmaster is set or changed. More...
 
bool IncludeComponentParts ()
 Returns the include component parts
Created in NX10.0.0. More...
 
bool IncludeDependentParts ()
 Returns the include dependent parts
Created in NX10.0.0. More...
 
NXString NumberAttr ()
 Returns the number attr
Created in NX10.0.0. More...
 
NXOpen::PDM::PartOperationImportBuilder::NumberingSourceOption NumberingSource ()
 Returns the numbering source
Created in NX10.0.0. More...
 
NXString OutputLogFile ()
 Returns the output log file
Created in NX10.0.0. More...
 
NXString PrefixStr ()
 Returns the prefix str
Created in NX10.0.0. More...
 
bool ProductInterfaces ()
 Returns the product interfaces
Created in NX10.0.0. More...
 
bool PublishOptionalInfo ()
 Returns the optional information publishing
Created in NX10.0.0. More...
 
void RemoveDfaFile (const NXString &filename)
 Remove the dfa file
Created in NX10.0.0. More...
 
void RemoveDfaFile (const char *filename)
 Remove the dfa file
Created in NX10.0.0. More...
 
NXString ReplaceWithStr ()
 Returns the replace with str
Created in NX10.0.0. More...
 
void ResetAttributes (const std::vector< NXOpen::PDM::LogicalObject * > &logicalObjects)
 Clear all attributes from the selected logical objects
Created in NX10.0.0. More...
 
NXString RevisionAttr ()
 Returns the revision attr
Created in NX10.0.0. More...
 
void SetAddDfaMixins (bool addDfaMixins)
 Sets the add dfa mixins
Created in NX10.0.0. More...
 
void SetAssociatedFilesRootDirectory (const NXString &foldername)
 Sets the associated files root directory
Created in NX10.0.0. More...
 
void SetAssociatedFilesRootDirectory (const char *foldername)
 Sets the associated files root directory
Created in NX10.0.0. More...
 
void SetConversionType (NXOpen::PDM::PartOperationImportBuilder::ConversionRule conversionType)
 Sets the conversion type
Created in NX10.0.0. More...
 
void SetDefaultAction (NXOpen::PDM::PartOperationImportBuilder::ExistingPartAction defaultAction)
 Sets the default action
Created in NX10.0.0. More...
 
void SetDefaultDescription (const NXString &defaultDescription)
 Sets the default description
Created in NX10.0.0. More...
 
void SetDefaultDescription (const char *defaultDescription)
 Sets the default description
Created in NX10.0.0. More...
 
void SetDefaultItemType (const NXString &defaultItemType)
 Sets the default item type
Created in NX10.0.0. More...
 
void SetDefaultItemType (const char *defaultItemType)
 Sets the default item type
Created in NX10.0.0. More...
 
void SetDefaultName (const NXString &defaultName)
 Sets the default name
Created in NX10.0.0. More...
 
void SetDefaultName (const char *defaultName)
 Sets the default name
Created in NX10.0.0. More...
 
void SetDefaultOwningGroup (const NXString &defaultOwningGroup)
 Sets the default owning group
Created in NX10.0.0. More...
 
void SetDefaultOwningGroup (const char *defaultOwningGroup)
 Sets the default owning group
Created in NX10.0.0. More...
 
void SetDefaultOwningUser (const NXString &defaultOwningUser)
 Sets the default owning user
Created in NX10.0.0. More...
 
void SetDefaultOwningUser (const char *defaultOwningUser)
 Sets the default owning user
Created in NX10.0.0. More...
 
void SetDefaultProjectInformation (std::vector< NXString > &projectNames, const std::vector< NXOpen::Session::ProjectAssignmentState > &assignmentStates)
 Set default projects information
Created in NX10.0.0. More...
 
void SetDfaFiles (std::vector< NXString > &dfaFiles)
 Set the dfa files
Created in NX10.0.0. More...
 
void SetExistingPartAttributes (NXOpen::PDM::LogicalObject *logicalObject, const NXString &cliSpec)
 Apply existing item attributes
Created in NX10.0.0. More...
 
void SetExistingPartAttributes (NXOpen::PDM::LogicalObject *logicalObject, const char *cliSpec)
 Apply existing item attributes
Created in NX10.0.0. More...
 
void SetIncludeComponentParts (bool includeComponentParts)
 Sets the include component parts
Created in NX10.0.0. More...
 
void SetIncludeDependentParts (bool includeDependentParts)
 Sets the include dependent parts
Created in NX10.0.0. More...
 
void SetNumberAttr (const NXString &numberAttr)
 Sets the number attr
Created in NX10.0.0. More...
 
void SetNumberAttr (const char *numberAttr)
 Sets the number attr
Created in NX10.0.0. More...
 
void SetNumberingSource (NXOpen::PDM::PartOperationImportBuilder::NumberingSourceOption numberingSource)
 Sets the numbering source
Created in NX10.0.0. More...
 
void SetOutputLogFile (const NXString &filename)
 Sets the output log file
Created in NX10.0.0. More...
 
void SetOutputLogFile (const char *filename)
 Sets the output log file
Created in NX10.0.0. More...
 
void SetPrefixStr (const NXString &prefixStr)
 Sets the prefix str
Created in NX10.0.0. More...
 
void SetPrefixStr (const char *prefixStr)
 Sets the prefix str
Created in NX10.0.0. More...
 
void SetProductInterfaces (bool productInterfaces)
 Sets the product interfaces
Created in NX10.0.0. More...
 
void SetPublishOptionalInfo (bool publishOptionalInfo)
 Sets the optional information publishing
Created in NX10.0.0. More...
 
void SetReplaceWithStr (const NXString &replaceWithStr)
 Sets the replace with str
Created in NX10.0.0. More...
 
void SetReplaceWithStr (const char *replaceWithStr)
 Sets the replace with str
Created in NX10.0.0. More...
 
void SetRevisionAttr (const NXString &revisionAttr)
 Sets the revision attr
Created in NX10.0.0. More...
 
void SetRevisionAttr (const char *revisionAttr)
 Sets the revision attr
Created in NX10.0.0. More...
 
void SetStringToReplace (const NXString &stringToReplace)
 Sets the string to replace
Created in NX10.0.0. More...
 
void SetStringToReplace (const char *stringToReplace)
 Sets the string to replace
Created in NX10.0.0. More...
 
void SetSuffixStr (const NXString &suffixStr)
 Sets the suffix str
Created in NX10.0.0. More...
 
void SetSuffixStr (const char *suffixStr)
 Sets the suffix str
Created in NX10.0.0. More...
 
void SetSyncArrangements (bool syncArrangements)
 Sets the sync arrangements
Created in NX10.0.0. More...
 
void SetValidationAbortImportOnFail (bool validationAbortImportOnFail)
 Sets the validation abort import on fail
Created in NX10.0.0. More...
 
void SetValidationMode (NXOpen::PDM::PartOperationImportBuilder::Validation validationMode)
 Sets the validation mode
Created in NX10.0.0. More...
 
void SetValidationRuleSetBrowseOption (NXOpen::PDM::PartOperationImportBuilder::ValidationRuleSetFileBrowseOption validationRuleSetBrowseOption)
 Sets the validation rule set browse option
Created in NX10.0.0. More...
 
void SetValidationRuleSetFile (const NXString &filename)
 Sets the validation rule set file
Created in NX10.0.0. More...
 
void SetValidationRuleSetFile (const char *filename)
 Sets the validation rule set file
Created in NX10.0.0. More...
 
void SetValidationTreatOutdatedAsPass (bool validationTreatOutdatedAsPass)
 Sets the validation treat outdated as pass
Created in NX10.0.0. More...
 
void SetValidationTreatWarningAsPass (bool validationTreatWarningAsPass)
 Sets the validation treat warning as pass
Created in NX10.0.0. More...
 
NXString StringToReplace ()
 Returns the string to replace
Created in NX10.0.0. More...
 
NXString SuffixStr ()
 Returns the suffix str
Created in NX10.0.0. More...
 
bool SyncArrangements ()
 Returns the sync arrangements
Created in NX10.0.0. More...
 
bool ValidationAbortImportOnFail ()
 Returns the validation abort import on fail
Created in NX10.0.0. More...
 
NXOpen::PDM::PartOperationImportBuilder::Validation ValidationMode ()
 Returns the validation mode
Created in NX10.0.0. More...
 
NXOpen::PDM::PartOperationImportBuilder::ValidationRuleSetFileBrowseOption ValidationRuleSetBrowseOption ()
 Returns the validation rule set browse option
Created in NX10.0.0. More...
 
NXString ValidationRuleSetFile ()
 Returns the validation rule set file
Created in NX10.0.0. More...
 
bool ValidationTreatOutdatedAsPass ()
 Returns the validation treat outdated as pass
Created in NX10.0.0. More...
 
bool ValidationTreatWarningAsPass ()
 Returns the validation treat warning as pass
Created in NX10.0.0. 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...
 
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::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...
 

Detailed Description

Represents a builder class that performs Create operations
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateImportOperationBuilder
Default values.

Property Value

ConversionType

AsID

DefaultAction

Overwrite

IncludeComponentParts

1

IncludeDependentParts

0

NumberingSource

PartIDGenerator

ValidationAbortImportOnFail

0

ValidationMode

Off

ValidationRuleSetBrowseOption

Native

ValidationTreatOutdatedAsPass

0

ValidationTreatWarningAsPass

1


Created in NX10.0.0.

Member Enumeration Documentation

This enum is used to specify the conversion rule for <ja_type>JA_PART_OPERATION_IMPORT_BUILDER_NumberingSourceOption_OSFilename</ja_type>.

Enumerator
ConversionRuleAsID 

as id

ConversionRuleAsIDandRevision 

as idand revision

ConversionRuleWithPrefix 

with prefix

ConversionRuleWithSuffix 

with suffix

ConversionRuleWithReplaceString 

with replace string

This enum is used to specify the default action for import.

Enumerator
ExistingPartActionOverwrite 

overwrite

ExistingPartActionUseExisting 

use existing

ExistingPartActionNewRevision 

new revision

ExistingPartActionDefault 

default

This enum is used to specify the default behavior for auto assign.

Enumerator
NumberingSourceOptionPartIDGenerator 

part idgenerator

NumberingSourceOptionOSFilename 

osfilename

NumberingSourceOptionAttribute 

attribute

This enum is used to specify the validation mode.

Enumerator
ValidationOff 

off

ValidationImportFromPart 

import from part

ValidationRunValidation 

run validation

ValidationRunValidationHybrid 

run validation hybrid

ValidationDefault 

default

This enum is used to specify the option to browse the validation rule set file from.

Enumerator
ValidationRuleSetFileBrowseOptionNative 

native

ValidationRuleSetFileBrowseOptionTeamcenter 

teamcenter

Member Function Documentation

bool NXOpen::PDM::PartOperationImportBuilder::AddDfaMixins ( )

Returns the add dfa mixins
Created in NX10.0.0.



License requirements : None

void NXOpen::PDM::PartOperationImportBuilder::AddParts ( std::vector< NXString > &  parts,
std::vector< NXString > &  errorMsgs 
)

Add parts to import
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
partsparts
errorMsgserrormsgs
void NXOpen::PDM::PartOperationImportBuilder::AddPartsFromFolder ( const NXString folderPath,
std::vector< NXString > &  errorMsgs 
)

Add parts to import from selected folder
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
folderPathfolderpath
errorMsgserrormsgs
void NXOpen::PDM::PartOperationImportBuilder::AddPartsFromFolder ( const char *  folderPath,
std::vector< NXString > &  errorMsgs 
)

Add parts to import from selected folder
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
folderPathfolderpath
errorMsgserrormsgs
void NXOpen::PDM::PartOperationImportBuilder::AddPartsUsingLogFile ( const NXString logFilePath,
std::vector< NXString > &  errorMsgs 
)

Add parts using log file either clone log file or import log file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
logFilePathlogfilepath
errorMsgserrormsgs
void NXOpen::PDM::PartOperationImportBuilder::AddPartsUsingLogFile ( const char *  logFilePath,
std::vector< NXString > &  errorMsgs 
)

Add parts using log file either clone log file or import log file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
logFilePathlogfilepath
errorMsgserrormsgs
NXString NXOpen::PDM::PartOperationImportBuilder::AssociatedFilesRootDirectory ( )

Returns the associated files root directory
Created in NX10.0.0.



License requirements : None

NXOpen::PDM::PartOperationImportBuilder::ConversionRule NXOpen::PDM::PartOperationImportBuilder::ConversionType ( )

Returns the conversion type
Created in NX10.0.0.



License requirements : None

NXOpen::PDM::PartOperationImportBuilder::ExistingPartAction NXOpen::PDM::PartOperationImportBuilder::DefaultAction ( )

Returns the default action
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::DefaultDescription ( )

Returns the default description
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::DefaultItemType ( )

Returns the default item type
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::DefaultName ( )

Returns the default name
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::DefaultOwningGroup ( )

Returns the default owning group
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::DefaultOwningUser ( )

Returns the default owning user
Created in NX10.0.0.



License requirements : None

void NXOpen::PDM::PartOperationImportBuilder::ExecuteDryRun ( )

Execute the dry run
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

void NXOpen::PDM::PartOperationImportBuilder::GetDefaultProjectInformation ( std::vector< NXString > &  projectNames,
std::vector< NXOpen::Session::ProjectAssignmentState > &  assignmentStates 
)

Get default projects information
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
projectNamesnames of the projects
assignmentStatesassignment states
void NXOpen::PDM::PartOperationImportBuilder::GetDfaFiles ( std::vector< NXString > &  dfaFiles)

Get the dfa files
Created in NX10.0.0.



License requirements : None

Parameters
dfaFilesdfafiles
NXOpen::PDM::LogicalObject* NXOpen::PDM::PartOperationImportBuilder::GetLogicalObjectForPart ( const NXString partFilename)

Gets the known logical object for the given part filename.

Returns

Created in NX10.0.0.

License requirements : None
Parameters
partFilenamepart filename
NXOpen::PDM::LogicalObject* NXOpen::PDM::PartOperationImportBuilder::GetLogicalObjectForPart ( const char *  partFilename)

Gets the known logical object for the given part filename.

Returns

Created in NX10.0.0.

License requirements : None
Parameters
partFilenamepart filename
void NXOpen::PDM::PartOperationImportBuilder::GetUpdatedLogicalObjects ( std::vector< NXOpen::PDM::LogicalObject * > &  logicalObjects)

Gets the updated logical object objects for the parts after item type, relation type or master part for nonmaster is set or changed.


Created in NX10.0.0.

License requirements : None

Parameters
logicalObjectslogicalobjects
bool NXOpen::PDM::PartOperationImportBuilder::IncludeComponentParts ( )

Returns the include component parts
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::IncludeDependentParts ( )

Returns the include dependent parts
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::NumberAttr ( )

Returns the number attr
Created in NX10.0.0.



License requirements : None

NXOpen::PDM::PartOperationImportBuilder::NumberingSourceOption NXOpen::PDM::PartOperationImportBuilder::NumberingSource ( )

Returns the numbering source
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::OutputLogFile ( )

Returns the output log file
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::PrefixStr ( )

Returns the prefix str
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::ProductInterfaces ( )

Returns the product interfaces
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::PublishOptionalInfo ( )

Returns the optional information publishing
Created in NX10.0.0.



License requirements : None

void NXOpen::PDM::PartOperationImportBuilder::RemoveDfaFile ( const NXString filename)

Remove the dfa file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
filenamefilename
void NXOpen::PDM::PartOperationImportBuilder::RemoveDfaFile ( const char *  filename)

Remove the dfa file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
filenamefilename
NXString NXOpen::PDM::PartOperationImportBuilder::ReplaceWithStr ( )

Returns the replace with str
Created in NX10.0.0.



License requirements : None

void NXOpen::PDM::PartOperationImportBuilder::ResetAttributes ( const std::vector< NXOpen::PDM::LogicalObject * > &  logicalObjects)

Clear all attributes from the selected logical objects
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
logicalObjectslogicalobjects
NXString NXOpen::PDM::PartOperationImportBuilder::RevisionAttr ( )

Returns the revision attr
Created in NX10.0.0.



License requirements : None

void NXOpen::PDM::PartOperationImportBuilder::SetAddDfaMixins ( bool  addDfaMixins)

Sets the add dfa mixins
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
addDfaMixinsadddfamixins
void NXOpen::PDM::PartOperationImportBuilder::SetAssociatedFilesRootDirectory ( const NXString foldername)

Sets the associated files root directory
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
foldernamefoldername
void NXOpen::PDM::PartOperationImportBuilder::SetAssociatedFilesRootDirectory ( const char *  foldername)

Sets the associated files root directory
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
foldernamefoldername
void NXOpen::PDM::PartOperationImportBuilder::SetConversionType ( NXOpen::PDM::PartOperationImportBuilder::ConversionRule  conversionType)

Sets the conversion type
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
conversionTypeconversiontype
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultAction ( NXOpen::PDM::PartOperationImportBuilder::ExistingPartAction  defaultAction)

Sets the default action
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultActiondefaultaction
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultDescription ( const NXString defaultDescription)

Sets the default description
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultDescriptiondefaultdescription
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultDescription ( const char *  defaultDescription)

Sets the default description
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultDescriptiondefaultdescription
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultItemType ( const NXString defaultItemType)

Sets the default item type
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultItemTypedefaultitemtype
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultItemType ( const char *  defaultItemType)

Sets the default item type
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultItemTypedefaultitemtype
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultName ( const NXString defaultName)

Sets the default name
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultNamedefaultname
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultName ( const char *  defaultName)

Sets the default name
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultNamedefaultname
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultOwningGroup ( const NXString defaultOwningGroup)

Sets the default owning group
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultOwningGroupdefaultowninggroup
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultOwningGroup ( const char *  defaultOwningGroup)

Sets the default owning group
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultOwningGroupdefaultowninggroup
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultOwningUser ( const NXString defaultOwningUser)

Sets the default owning user
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultOwningUserdefaultowninguser
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultOwningUser ( const char *  defaultOwningUser)

Sets the default owning user
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
defaultOwningUserdefaultowninguser
void NXOpen::PDM::PartOperationImportBuilder::SetDefaultProjectInformation ( std::vector< NXString > &  projectNames,
const std::vector< NXOpen::Session::ProjectAssignmentState > &  assignmentStates 
)

Set default projects information
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
projectNamesnames of the projects to assign
NOTE: The full Unicode character set is not supported for this parameter.
assignmentStatesassignment states
void NXOpen::PDM::PartOperationImportBuilder::SetDfaFiles ( std::vector< NXString > &  dfaFiles)

Set the dfa files
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
dfaFilesdfafiles
void NXOpen::PDM::PartOperationImportBuilder::SetExistingPartAttributes ( NXOpen::PDM::LogicalObject logicalObject,
const NXString cliSpec 
)

Apply existing item attributes
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
logicalObjectlogicalobject
cliSpecclispec
void NXOpen::PDM::PartOperationImportBuilder::SetExistingPartAttributes ( NXOpen::PDM::LogicalObject logicalObject,
const char *  cliSpec 
)

Apply existing item attributes
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
logicalObjectlogicalobject
cliSpecclispec
void NXOpen::PDM::PartOperationImportBuilder::SetIncludeComponentParts ( bool  includeComponentParts)

Sets the include component parts
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
includeComponentPartsincludecomponentparts
void NXOpen::PDM::PartOperationImportBuilder::SetIncludeDependentParts ( bool  includeDependentParts)

Sets the include dependent parts
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
includeDependentPartsincludedependentparts
void NXOpen::PDM::PartOperationImportBuilder::SetNumberAttr ( const NXString numberAttr)

Sets the number attr
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
numberAttrnumberattr
void NXOpen::PDM::PartOperationImportBuilder::SetNumberAttr ( const char *  numberAttr)

Sets the number attr
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
numberAttrnumberattr
void NXOpen::PDM::PartOperationImportBuilder::SetNumberingSource ( NXOpen::PDM::PartOperationImportBuilder::NumberingSourceOption  numberingSource)

Sets the numbering source
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
numberingSourcenumberingsource
void NXOpen::PDM::PartOperationImportBuilder::SetOutputLogFile ( const NXString filename)

Sets the output log file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
filenamefilename
void NXOpen::PDM::PartOperationImportBuilder::SetOutputLogFile ( const char *  filename)

Sets the output log file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
filenamefilename
void NXOpen::PDM::PartOperationImportBuilder::SetPrefixStr ( const NXString prefixStr)

Sets the prefix str
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
prefixStrprefixstr
void NXOpen::PDM::PartOperationImportBuilder::SetPrefixStr ( const char *  prefixStr)

Sets the prefix str
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
prefixStrprefixstr
void NXOpen::PDM::PartOperationImportBuilder::SetProductInterfaces ( bool  productInterfaces)

Sets the product interfaces
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
productInterfacesproductinterfaces
void NXOpen::PDM::PartOperationImportBuilder::SetPublishOptionalInfo ( bool  publishOptionalInfo)

Sets the optional information publishing
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
publishOptionalInfopublishoptionalinfo
void NXOpen::PDM::PartOperationImportBuilder::SetReplaceWithStr ( const NXString replaceWithStr)

Sets the replace with str
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
replaceWithStrreplacewithstr
void NXOpen::PDM::PartOperationImportBuilder::SetReplaceWithStr ( const char *  replaceWithStr)

Sets the replace with str
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
replaceWithStrreplacewithstr
void NXOpen::PDM::PartOperationImportBuilder::SetRevisionAttr ( const NXString revisionAttr)

Sets the revision attr
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
revisionAttrrevisionattr
void NXOpen::PDM::PartOperationImportBuilder::SetRevisionAttr ( const char *  revisionAttr)

Sets the revision attr
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
revisionAttrrevisionattr
void NXOpen::PDM::PartOperationImportBuilder::SetStringToReplace ( const NXString stringToReplace)

Sets the string to replace
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
stringToReplacestringtoreplace
void NXOpen::PDM::PartOperationImportBuilder::SetStringToReplace ( const char *  stringToReplace)

Sets the string to replace
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
stringToReplacestringtoreplace
void NXOpen::PDM::PartOperationImportBuilder::SetSuffixStr ( const NXString suffixStr)

Sets the suffix str
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
suffixStrsuffixstr
void NXOpen::PDM::PartOperationImportBuilder::SetSuffixStr ( const char *  suffixStr)

Sets the suffix str
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
suffixStrsuffixstr
void NXOpen::PDM::PartOperationImportBuilder::SetSyncArrangements ( bool  syncArrangements)

Sets the sync arrangements
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
syncArrangementssyncarrangements
void NXOpen::PDM::PartOperationImportBuilder::SetValidationAbortImportOnFail ( bool  validationAbortImportOnFail)

Sets the validation abort import on fail
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
validationAbortImportOnFailvalidationabortimportonfail
void NXOpen::PDM::PartOperationImportBuilder::SetValidationMode ( NXOpen::PDM::PartOperationImportBuilder::Validation  validationMode)

Sets the validation mode
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
validationModevalidationmode
void NXOpen::PDM::PartOperationImportBuilder::SetValidationRuleSetBrowseOption ( NXOpen::PDM::PartOperationImportBuilder::ValidationRuleSetFileBrowseOption  validationRuleSetBrowseOption)

Sets the validation rule set browse option
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
validationRuleSetBrowseOptionvalidationrulesetbrowseoption
void NXOpen::PDM::PartOperationImportBuilder::SetValidationRuleSetFile ( const NXString filename)

Sets the validation rule set file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
filenamefilename
void NXOpen::PDM::PartOperationImportBuilder::SetValidationRuleSetFile ( const char *  filename)

Sets the validation rule set file
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
filenamefilename
void NXOpen::PDM::PartOperationImportBuilder::SetValidationTreatOutdatedAsPass ( bool  validationTreatOutdatedAsPass)

Sets the validation treat outdated as pass
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
validationTreatOutdatedAsPassvalidationtreatoutdatedaspass
void NXOpen::PDM::PartOperationImportBuilder::SetValidationTreatWarningAsPass ( bool  validationTreatWarningAsPass)

Sets the validation treat warning as pass
Created in NX10.0.0.



License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
validationTreatWarningAsPassvalidationtreatwarningaspass
NXString NXOpen::PDM::PartOperationImportBuilder::StringToReplace ( )

Returns the string to replace
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::SuffixStr ( )

Returns the suffix str
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::SyncArrangements ( )

Returns the sync arrangements
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::ValidationAbortImportOnFail ( )

Returns the validation abort import on fail
Created in NX10.0.0.



License requirements : None

NXOpen::PDM::PartOperationImportBuilder::Validation NXOpen::PDM::PartOperationImportBuilder::ValidationMode ( )

Returns the validation mode
Created in NX10.0.0.



License requirements : None

NXOpen::PDM::PartOperationImportBuilder::ValidationRuleSetFileBrowseOption NXOpen::PDM::PartOperationImportBuilder::ValidationRuleSetBrowseOption ( )

Returns the validation rule set browse option
Created in NX10.0.0.



License requirements : None

NXString NXOpen::PDM::PartOperationImportBuilder::ValidationRuleSetFile ( )

Returns the validation rule set file
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::ValidationTreatOutdatedAsPass ( )

Returns the validation treat outdated as pass
Created in NX10.0.0.



License requirements : None

bool NXOpen::PDM::PartOperationImportBuilder::ValidationTreatWarningAsPass ( )

Returns the validation treat warning as pass
Created in NX10.0.0.



License requirements : None


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