NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
NXOpen::Tooling::StandardPartData Class Reference

Represents the standard part client data. More...

Inheritance diagram for NXOpen::Tooling::StandardPartData:
NXOpen::TransientObject

Public Member Functions

int AnalyzePositionMethods (const NXString &positionMethod)
 Analyzes the position methods and set the current position method. More...
 
int AnalyzePositionMethods (const char *positionMethod)
 Analyzes the position methods and set the current position method. More...
 
void AssignConceptMoldBaseAttributes (NXOpen::Part *moldBasePart, const NXString &fileContainer, const NXString &assemblyName, const NXString &assemblyPartNumber, const NXString &assemblyItemType, std::vector< NXString > &childrenNames)
 Assigns attributes to the concept mold base
Created in NX12.0.2. More...
 
void AssignConceptMoldBaseAttributes (NXOpen::Part *moldBasePart, const char *fileContainer, const char *assemblyName, const char *assemblyPartNumber, const char *assemblyItemType, std::vector< NXString > &childrenNames)
 Assigns attributes to the concept mold base
Created in NX12.0.2. More...
 
NXOpen::Tooling::ConceptStandardPartRecordGetConceptStandardPartRecord (NXOpen::Tooling::SpreadsheetData *sheetData, const NXString &fileContainer, const NXString &assemblyName, const NXString &assemblyPartNumber, const NXString &assemblyItemType, std::vector< NXString > &childrenNames)
 Returns the concept standard part record. More...
 
NXOpen::Tooling::ConceptStandardPartRecordGetConceptStandardPartRecord (NXOpen::Tooling::SpreadsheetData *sheetData, const char *fileContainer, const char *assemblyName, const char *assemblyPartNumber, const char *assemblyItemType, std::vector< NXString > &childrenNames)
 Returns the concept standard part record. More...
 
NXOpen::Assemblies::ComponentGetRootStandardPartOccurrence ()
 Gets the root standard part occurrence in edit. More...
 
void SetCreatedPartInstance (NXOpen::Assemblies::Component *component)
 Sets the instance of the added standard part
Created in NX12.0.2. More...
 
void SetCurrentStandardPart (const NXString &catalogName, const NXString &className, const NXString &registeredName)
 Sets the current standard part with specified catalog name, classification name and descriptive name. More...
 
void SetCurrentStandardPart (const char *catalogName, const char *className, const char *registeredName)
 Sets the current standard part with specified catalog name, classification name and descriptive name. More...
 
void SetDropData (NXOpen::NXObject *entity, const NXOpen::Point3d &position)
 Sets attaching tool object and drag position of the current standard part
Created in NX12.0.2. More...
 
void SetIsToAddPocketToolBody (bool addPocketToolBody)
 Sets the flag whether to add pocket tool bodies for standard parts
Created in NX12.0.2. More...
 
void SetIsToUseSymbol (bool useSymbol)
 Sets the flag whether to use symbols to represent standard parts
Created in NX12.0.2. More...
 
void SetLastAccessedObject (const NXString &catalogName, const NXString &className, const NXString &registerName)
 Remember last accessed standard part
Created in NX12.0.2. More...
 
void SetLastAccessedObject (const char *catalogName, const char *className, const char *registerName)
 Remember last accessed standard part
Created in NX12.0.2. More...
 
void SetParentPart (NXOpen::Part *parentPart)
 Sets the parent part of the current standard part
Created in NX12.0.2. More...
 
void SetPositionMethod (const NXString &positionMethod)
 Sets the position method of the current standard part
Created in NX12.0.2. More...
 
void SetPositionMethod (const char *positionMethod)
 Sets the position method of the current standard part
Created in NX12.0.2. More...
 
void SetReferenceSet (int refsetIndex)
 Sets the reference set name of the current standard part with specified index
Created in NX12.0.2. More...
 
void SetReferenceSetName (const NXString &refsetName)
 Sets the reference set name of the current standard part
Created in NX12.0.2. More...
 
void SetReferenceSetName (const char *refsetName)
 Sets the reference set name of the current standard part
Created in NX12.0.2. More...
 
void SetRootStandardPartOccurrence (NXOpen::Assemblies::Component *partOccurrence)
 Sets the root standard part occurrence to edit
Created in NX12.0.2. More...
 
void SetSelectedStandardPartData (const NXString &libName, const NXString &libPath)
 Assign selected standard part data to the client data
Created in NX11.0.0. More...
 
void SetSelectedStandardPartData (const char *libName, const char *libPath)
 Assign selected standard part data to the client data
Created in NX11.0.0. More...
 
virtual ~StandardPartData ()
 Dispose the StandardPartClientData object
Created in NX11.0.0. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents the standard part client data.


This object does not need a creator.

Created in NX11.0.0.

Constructor & Destructor Documentation

virtual NXOpen::Tooling::StandardPartData::~StandardPartData ( )
virtual

Dispose the StandardPartClientData object
Created in NX11.0.0.



License requirements : None

Member Function Documentation

int NXOpen::Tooling::StandardPartData::AnalyzePositionMethods ( const NXString positionMethod)

Analyzes the position methods and set the current position method.

Returns
the index of the given position method in the list
Created in NX12.0.2.

License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
Parameters
positionMethodthe definition string of position method
int NXOpen::Tooling::StandardPartData::AnalyzePositionMethods ( const char *  positionMethod)

Analyzes the position methods and set the current position method.

Returns
the index of the given position method in the list
Created in NX12.0.2.

License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
Parameters
positionMethodthe definition string of position method
void NXOpen::Tooling::StandardPartData::AssignConceptMoldBaseAttributes ( NXOpen::Part moldBasePart,
const NXString fileContainer,
const NXString assemblyName,
const NXString assemblyPartNumber,
const NXString assemblyItemType,
std::vector< NXString > &  childrenNames 
)

Assigns attributes to the concept mold base
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
moldBasePartThe mold base part to assign attributes
fileContainerLocation to save parts
assemblyNameAssembly name for creating new parts
assemblyPartNumberPart number of the assembly in managed mode NX
assemblyItemTypeItem Type of the assembly in managed mode NX
childrenNamesNames of the children
void NXOpen::Tooling::StandardPartData::AssignConceptMoldBaseAttributes ( NXOpen::Part moldBasePart,
const char *  fileContainer,
const char *  assemblyName,
const char *  assemblyPartNumber,
const char *  assemblyItemType,
std::vector< NXString > &  childrenNames 
)

Assigns attributes to the concept mold base
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
moldBasePartThe mold base part to assign attributes
fileContainerLocation to save parts
assemblyNameAssembly name for creating new parts
assemblyPartNumberPart number of the assembly in managed mode NX
assemblyItemTypeItem Type of the assembly in managed mode NX
childrenNamesNames of the children
NXOpen::Tooling::ConceptStandardPartRecord* NXOpen::Tooling::StandardPartData::GetConceptStandardPartRecord ( NXOpen::Tooling::SpreadsheetData sheetData,
const NXString fileContainer,
const NXString assemblyName,
const NXString assemblyPartNumber,
const NXString assemblyItemType,
std::vector< NXString > &  childrenNames 
)

Returns the concept standard part record.

Returns
Concept standard part record
Created in NX12.0.2.

License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
Parameters
sheetDataSpreadsheet data
fileContainerLocation to save parts
assemblyNameAssembly name for creating new parts
assemblyPartNumberPart number of the assembly in managed mode NX
assemblyItemTypeItem Type of the assembly in managed mode NX
childrenNamesNames of the children
NXOpen::Tooling::ConceptStandardPartRecord* NXOpen::Tooling::StandardPartData::GetConceptStandardPartRecord ( NXOpen::Tooling::SpreadsheetData sheetData,
const char *  fileContainer,
const char *  assemblyName,
const char *  assemblyPartNumber,
const char *  assemblyItemType,
std::vector< NXString > &  childrenNames 
)

Returns the concept standard part record.

Returns
Concept standard part record
Created in NX12.0.2.

License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
Parameters
sheetDataSpreadsheet data
fileContainerLocation to save parts
assemblyNameAssembly name for creating new parts
assemblyPartNumberPart number of the assembly in managed mode NX
assemblyItemTypeItem Type of the assembly in managed mode NX
childrenNamesNames of the children
NXOpen::Assemblies::Component* NXOpen::Tooling::StandardPartData::GetRootStandardPartOccurrence ( )

Gets the root standard part occurrence in edit.

Returns
The root part occurrence of the assembly standard part
Created in NX12.0.2.

License requirements : None
void NXOpen::Tooling::StandardPartData::SetCreatedPartInstance ( NXOpen::Assemblies::Component component)

Sets the instance of the added standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
componentThe component added or created in current NX session
void NXOpen::Tooling::StandardPartData::SetCurrentStandardPart ( const NXString catalogName,
const NXString className,
const NXString registeredName 
)

Sets the current standard part with specified catalog name, classification name and descriptive name.


Created in NX12.0.2.

License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
catalogNameCatalog name of the current standard part component
classNameClassification name of the current standard part component
registeredNameRegistered name of the current standard part component
void NXOpen::Tooling::StandardPartData::SetCurrentStandardPart ( const char *  catalogName,
const char *  className,
const char *  registeredName 
)

Sets the current standard part with specified catalog name, classification name and descriptive name.


Created in NX12.0.2.

License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
catalogNameCatalog name of the current standard part component
classNameClassification name of the current standard part component
registeredNameRegistered name of the current standard part component
void NXOpen::Tooling::StandardPartData::SetDropData ( NXOpen::NXObject entity,
const NXOpen::Point3d position 
)

Sets attaching tool object and drag position of the current standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
entityThe object where the standard part attaches
positionThe position where an object drags
void NXOpen::Tooling::StandardPartData::SetIsToAddPocketToolBody ( bool  addPocketToolBody)

Sets the flag whether to add pocket tool bodies for standard parts
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
addPocketToolBodyTrue if to add pocket tool bodies
void NXOpen::Tooling::StandardPartData::SetIsToUseSymbol ( bool  useSymbol)

Sets the flag whether to use symbols to represent standard parts
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
useSymbolTrue if the user chooses to use symbols to represent standard parts
void NXOpen::Tooling::StandardPartData::SetLastAccessedObject ( const NXString catalogName,
const NXString className,
const NXString registerName 
)

Remember last accessed standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
catalogNameCatalog name of the standard part last accessed
classNameClassification name of the standard part last accessed
registerNameRegister name of the standard part last accessed
void NXOpen::Tooling::StandardPartData::SetLastAccessedObject ( const char *  catalogName,
const char *  className,
const char *  registerName 
)

Remember last accessed standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
catalogNameCatalog name of the standard part last accessed
classNameClassification name of the standard part last accessed
registerNameRegister name of the standard part last accessed
void NXOpen::Tooling::StandardPartData::SetParentPart ( NXOpen::Part parentPart)

Sets the parent part of the current standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
parentPartThe parent part of the current standard part
void NXOpen::Tooling::StandardPartData::SetPositionMethod ( const NXString positionMethod)

Sets the position method of the current standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
positionMethodThe position method used to add a standard part
void NXOpen::Tooling::StandardPartData::SetPositionMethod ( const char *  positionMethod)

Sets the position method of the current standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
positionMethodThe position method used to add a standard part
void NXOpen::Tooling::StandardPartData::SetReferenceSet ( int  refsetIndex)

Sets the reference set name of the current standard part with specified index
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
refsetIndexThe index of the reference set to set
void NXOpen::Tooling::StandardPartData::SetReferenceSetName ( const NXString refsetName)

Sets the reference set name of the current standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
refsetNameThe name of the reference set applied to the current standard part
void NXOpen::Tooling::StandardPartData::SetReferenceSetName ( const char *  refsetName)

Sets the reference set name of the current standard part
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
refsetNameThe name of the reference set applied to the current standard part
void NXOpen::Tooling::StandardPartData::SetRootStandardPartOccurrence ( NXOpen::Assemblies::Component partOccurrence)

Sets the root standard part occurrence to edit
Created in NX12.0.2.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
partOccurrenceThe root part occurrence of the assembly standard part
void NXOpen::Tooling::StandardPartData::SetSelectedStandardPartData ( const NXString libName,
const NXString libPath 
)

Assign selected standard part data to the client data
Created in NX11.0.0.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
libNamelibname
libPathlibpath
void NXOpen::Tooling::StandardPartData::SetSelectedStandardPartData ( const char *  libName,
const char *  libPath 
)

Assign selected standard part data to the client data
Created in NX11.0.0.



License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")

Parameters
libNamelibname
libPathlibpath

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