Class ToolingSession
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.Tooling
Assembly: NXOpen.dll
Syntax
public class ToolingSession : NXRemotableObject, IMessageSink
Constructors
ToolingSession(Session)
Declaration
protected ToolingSession(Session owner)
Parameters
| Type | Name | Description |
|---|---|---|
| Session | owner |
Properties
Tag
Declaration
public Tag Tag { get; }
Property Value
| Type | Description |
|---|---|
| Tag |
Methods
ClosePart(NXObject, BasePart.CloseWholeTree, BasePart.CloseModified)
Declaration
public void ClosePart(NXObject part, BasePart.CloseWholeTree wholeTree, BasePart.CloseModified closeModified)
Parameters
| Type | Name | Description |
|---|---|---|
| NXObject | part | |
| BasePart.CloseWholeTree | wholeTree | |
| BasePart.CloseModified | closeModified |
CreateCloneObject(ToolingApplication, ToolingCloneaction)
Declaration
public CloneObject CreateCloneObject(ToolingApplication applicationType, ToolingCloneaction cloneActionType)
Parameters
| Type | Name | Description |
|---|---|---|
| ToolingApplication | applicationType | |
| ToolingCloneaction | cloneActionType |
Returns
| Type | Description |
|---|---|
| CloneObject |
CreateComponentPattern(NXObject, NXObject)
Declaration
public void CreateComponentPattern(NXObject component, NXObject targetEntity)
Parameters
| Type | Name | Description |
|---|---|---|
| NXObject | component | |
| NXObject | targetEntity |
CreateSpreadsheetData()
Declaration
public SpreadsheetData CreateSpreadsheetData()
Returns
| Type | Description |
|---|---|
| SpreadsheetData |
GetReusableComponent()
Declaration
public Component[] GetReusableComponent()
Returns
| Type | Description |
|---|---|
| Component[] |
GetReusableObjects(NXObject, out NXObject[])
Declaration
public void GetReusableObjects(NXObject part, out NXObject[] reusableObjects)
Parameters
| Type | Name | Description |
|---|---|---|
| NXObject | part | |
| NXObject[] | reusableObjects |
LoadReusablePart(String, Boolean)
Declaration
public BasePart LoadReusablePart(string filename, bool isNativePart)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filename | |
| System.Boolean | isNativePart |
Returns
| Type | Description |
|---|---|
| BasePart |
SetWizardType(Int32)
Declaration
public void SetWizardType(int type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | type |
Implements
System.Runtime.Remoting.Messaging.IMessageSink