NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
NXOpen.Tooling.ToolingSession Class Reference

Represents Tooling session More...

Inheritance diagram for NXOpen.Tooling.ToolingSession:
NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe void AssignAttribute (NXOpen.NXObject objectTag, string attributeName, string attributeValue)
 JA method to assign an attribute to the given object More...
 
unsafe void ClosePart (NXOpen.NXObject part, NXOpen.BasePart.CloseWholeTree wholeTree, NXOpen.BasePart.CloseModified closeModified)
 Close an existing part More...
 
unsafe NXOpen.Tooling.CloneObject CreateCloneObject (NXOpen.Tooling.ToolingApplication applicationType, NXOpen.Tooling.ToolingCloneaction cloneActionType)
 Creates the clone operation object More...
 
unsafe void CreateComponentPattern (NXOpen.NXObject component, NXOpen.NXObject targetEntity)
 Create component pattern More...
 
unsafe
NXOpen.Tooling.SpreadsheetData 
CreateSpreadsheetData ()
 Creates an instance of class NXOpen.Tooling.SpreadsheetData . More...
 
unsafe
NXOpen.Assemblies.Component[] 
GetReusableComponent ()
 Return the component generated in the previous "Add Reusable Component" operation. More...
 
unsafe void GetReusableObjects (NXOpen.NXObject part, out NXOpen.NXObject[] reusableObjects)
 Gets the last added reusable object More...
 
unsafe void LoadInterpartData (NXOpen.NXObject objectTag)
 Fully load all the children parts of the given parent part. More...
 
unsafe NXOpen.BasePart LoadReusablePart (string filename, bool isNativePart)
 Opens an existing part, but does not set it to be the displayed part. More...
 
unsafe void ResetShrinkageAttribute (NXOpen.NXObject objectTag, bool recalculateValue, int scaleType, string[] expressionValues)
 Resets shrinkage attribute value More...
 
unsafe void SetEntryIdentifier (string entryIdentifier)
 Sets the entry identifier of reusing Standard Part Management dialog More...
 
unsafe void SetWizardType (int type)
 Sets the wizard type of tooling application. More...
 
unsafe void SetWizardTypeStatus (NXOpen.Tooling.ToolingApplicationstatus statusType)
 Sets the wizard type status of tooling application. 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...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Detailed Description

Represents Tooling session

To obtain an instance of this class, refer to NXOpen.Session

Created in NX8.0.0

Member Function Documentation

unsafe void NXOpen.Tooling.ToolingSession.AssignAttribute ( NXOpen.NXObject  objectTag,
string  attributeName,
string  attributeValue 
)
inline

JA method to assign an attribute to the given object

Created in NX1872.0.0

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

Parameters
objectTag
attributeName
attributeValue
unsafe void NXOpen.Tooling.ToolingSession.ClosePart ( NXOpen.NXObject  part,
NXOpen.BasePart.CloseWholeTree  wholeTree,
NXOpen.BasePart.CloseModified  closeModified 
)
inline

Close an existing part

Created in NX9.0.2

License requirements: None.

Parameters
partTag of the part that will be closed
wholeTreeIf true, unloads all components of the part. If false, unloads only the top-level part
closeModifiedBehavior of close if component parts are modified.
unsafe NXOpen.Tooling.CloneObject NXOpen.Tooling.ToolingSession.CreateCloneObject ( NXOpen.Tooling.ToolingApplication  applicationType,
NXOpen.Tooling.ToolingCloneaction  cloneActionType 
)
inline

Creates the clone operation object

Created in NX8.0.0

License requirements: None.

Parameters
applicationTypeApplication type to determine the clone settings
cloneActionTypeClone action type
Returns
the new NXOpen.Tooling.CloneObject instance
unsafe void NXOpen.Tooling.ToolingSession.CreateComponentPattern ( NXOpen.NXObject  component,
NXOpen.NXObject  targetEntity 
)
inline

Create component pattern

Created in NX11.0.2

License requirements: None.

Parameters
component
targetEntity
unsafe NXOpen.Tooling.SpreadsheetData NXOpen.Tooling.ToolingSession.CreateSpreadsheetData ( )
inline

Creates an instance of class NXOpen.Tooling.SpreadsheetData .

Please note this method will only create an empty class NXOpen.Tooling.SpreadsheetData object, it needs to call other method NXOpen.Tooling.SpreadsheetData.ReadData to retrieve the data.

Created in NX8.0.0

License requirements: None.

Returns
the new NXOpen.Tooling.SpreadsheetData instance
unsafe NXOpen.Assemblies.Component [] NXOpen.Tooling.ToolingSession.GetReusableComponent ( )
inline

Return the component generated in the previous "Add Reusable Component" operation.

Created in NX9.0.0

License requirements: None.

Returns
The array of reuseable components
unsafe void NXOpen.Tooling.ToolingSession.GetReusableObjects ( NXOpen.NXObject  part,
out NXOpen.NXObject[]  reusableObjects 
)
inline

Gets the last added reusable object

Created in NX10.0.0

License requirements: None.

Parameters
partTag of the part that contains reusable objects
reusableObjectsObjects, mainly bodies, from the input part
unsafe void NXOpen.Tooling.ToolingSession.LoadInterpartData ( NXOpen.NXObject  objectTag)
inline

Fully load all the children parts of the given parent part.

Created in NX1872.0.0

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

Parameters
objectTagthe parent part whose children part to be loaded.
unsafe NXOpen.BasePart NXOpen.Tooling.ToolingSession.LoadReusablePart ( string  filename,
bool  isNativePart 
)
inline

Opens an existing part, but does not set it to be the displayed part.

Created in NX9.0.1

License requirements: None.

Parameters
filenameName of part file
isNativePartIs the file from native or TC
Returns
Part Tag
unsafe void NXOpen.Tooling.ToolingSession.ResetShrinkageAttribute ( NXOpen.NXObject  objectTag,
bool  recalculateValue,
int  scaleType,
string[]  expressionValues 
)
inline

Resets shrinkage attribute value

Created in NX1872.0.0

License requirements: ug_mold_design ("UG MOLD")

Parameters
objectTag
recalculateValue
scaleTypethe type of scale feature
expressionValuesexpression values
unsafe void NXOpen.Tooling.ToolingSession.SetEntryIdentifier ( string  entryIdentifier)
inline

Sets the entry identifier of reusing Standard Part Management dialog

Created in NX1872.0.0

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

Parameters
entryIdentifier
unsafe void NXOpen.Tooling.ToolingSession.SetWizardType ( int  type)
inline

Sets the wizard type of tooling application.

Created in NX11.0.2

License requirements: None.

Parameters
typewizard type of current tooling application
unsafe void NXOpen.Tooling.ToolingSession.SetWizardTypeStatus ( NXOpen.Tooling.ToolingApplicationstatus  statusType)
inline

Sets the wizard type status of tooling application.

Created in NX1899.0.0

License requirements: None.

Parameters
statusType

Property Documentation

Tag NXOpen.Tooling.ToolingSession.Tag
get

Returns the tag of this object.


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