NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected 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 NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

unsafe int AnalyzePositionMethods (string positionMethod)
 Analyzes the position methods and set the current position method More...
 
unsafe void AssignConceptMoldBaseAttributes (NXOpen.Part moldBasePart, string fileContainer, string assemblyName, string assemblyPartNumber, string assemblyItemType, string[] childrenNames)
 Assigns attributes to the concept mold base More...
 
unsafe
NXOpen.Tooling.ConceptStandardPartRecord 
GetConceptStandardPartRecord (NXOpen.Tooling.SpreadsheetData sheetData, string fileContainer, string assemblyName, string assemblyPartNumber, string assemblyItemType, string[] childrenNames)
 Returns the concept standard part record More...
 
unsafe NXOpen.Assemblies.Component GetRootStandardPartOccurrence ()
 Gets the root standard part occurrence in edit More...
 
unsafe void SetCreatedPartInstance (NXOpen.Assemblies.Component component)
 Sets the instance of the added standard part More...
 
unsafe void SetCurrentStandardPart (string catalogName, string className, string registeredName)
 Sets the current standard part with specified catalog name, classification name and descriptive name. More...
 
unsafe void SetDataToVersioned (NXOpen.Assemblies.Component partOccurrence)
 Sets the spread sheet and model file to the saved or latest version More...
 
unsafe void SetDropData (NXOpen.NXObject entity, NXOpen.Point3d position)
 Sets attaching tool object and drag position of the current standard part More...
 
unsafe void SetIsToAddPocketToolBody (bool addPocketToolBody)
 Sets the flag whether to add pocket tool bodies for standard parts More...
 
unsafe void SetIsToUseSymbol (bool useSymbol)
 Sets the flag whether to use symbols to represent standard parts More...
 
unsafe void SetLastAccessedObject (string catalogName, string className, string registerName)
 Remember last accessed standard part More...
 
unsafe void SetParentPart (NXOpen.Part parentPart)
 Sets the parent part of the current standard part More...
 
unsafe void SetPositionMethod (string positionMethod)
 Sets the position method of the current standard part More...
 
unsafe void SetReferenceSet (int refsetIndex)
 Sets the reference set name of the current standard part with specified index More...
 
unsafe void SetReferenceSetName (string refsetName)
 Sets the reference set name of the current standard part More...
 
unsafe void SetRootStandardPartOccurrence (NXOpen.Assemblies.Component partOccurrence)
 Sets the root standard part occurrence to edit More...
 
unsafe void SetSelectedStandardPartData (string libName, string libPath)
 Assign selected standard part data to the client data More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override void FreeResource ()
 Dispose the StandardPartClientData object More...
 

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 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

Member Function Documentation

unsafe int NXOpen.Tooling.StandardPartData.AnalyzePositionMethods ( string  positionMethod)
inline

Analyzes the position methods and set the current position method

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
Returns
the index of the given position method in the list
unsafe void NXOpen.Tooling.StandardPartData.AssignConceptMoldBaseAttributes ( NXOpen.Part  moldBasePart,
string  fileContainer,
string  assemblyName,
string  assemblyPartNumber,
string  assemblyItemType,
string[]  childrenNames 
)
inline

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
override void NXOpen.Tooling.StandardPartData.FreeResource ( )
inlineprotectedvirtual

Dispose the StandardPartClientData object

Created in NX11.0.0

License requirements: None.

Implements NXOpen.TransientObject.

unsafe NXOpen.Tooling.ConceptStandardPartRecord NXOpen.Tooling.StandardPartData.GetConceptStandardPartRecord ( NXOpen.Tooling.SpreadsheetData  sheetData,
string  fileContainer,
string  assemblyName,
string  assemblyPartNumber,
string  assemblyItemType,
string[]  childrenNames 
)
inline

Returns the 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
Returns
Concept standard part record
unsafe NXOpen.Assemblies.Component NXOpen.Tooling.StandardPartData.GetRootStandardPartOccurrence ( )
inline

Gets the root standard part occurrence in edit

Created in NX12.0.2

License requirements: None.

Returns
The root part occurrence of the assembly standard part
unsafe void NXOpen.Tooling.StandardPartData.SetCreatedPartInstance ( NXOpen.Assemblies.Component  component)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetCurrentStandardPart ( string  catalogName,
string  className,
string  registeredName 
)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetDataToVersioned ( NXOpen.Assemblies.Component  partOccurrence)
inline

Sets the spread sheet and model file to the saved or latest version

Created in NX1899.0.0

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
unsafe void NXOpen.Tooling.StandardPartData.SetDropData ( NXOpen.NXObject  entity,
NXOpen.Point3d  position 
)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetIsToAddPocketToolBody ( bool  addPocketToolBody)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetIsToUseSymbol ( bool  useSymbol)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetLastAccessedObject ( string  catalogName,
string  className,
string  registerName 
)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetParentPart ( NXOpen.Part  parentPart)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetPositionMethod ( string  positionMethod)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetReferenceSet ( int  refsetIndex)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetReferenceSetName ( string  refsetName)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetRootStandardPartOccurrence ( NXOpen.Assemblies.Component  partOccurrence)
inline

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
unsafe void NXOpen.Tooling.StandardPartData.SetSelectedStandardPartData ( string  libName,
string  libPath 
)
inline

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
libName
libPath

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