NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.CAM.CAMSession Class Reference

Represents cam session More...

Inheritance diagram for NXOpen.CAM.CAMSession:

Public Types

enum  ObjectSubtype {
  Setup, Operation, Program, Tool,
  Method, Geometry
}
 the template subtype class More...
 

Public Member Functions

unsafe void SpecifyConfiguration (string configFile)
 Specify the configuration file of the current cam session More...
 
unsafe string[] GetTemplateTypes ()
 Get the names of the available template types. More...
 
unsafe string[] GetTemplateSubtypes (string typeName, NXOpen.CAM.CAMSession.ObjectSubtype subtypeClass)
 Get the names of the available template subypes for the specified template type. More...
 
unsafe NXOpen.CAM.Preferences CreateCamPreferences ()
 Create Cam Preferences builder. More...
 
unsafe void SetMcsDisplay (bool displayMCS)
 Set MCS display More...
 
unsafe bool GetMcsDisplay ()
 Get MCS display More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
NXOpen.CAM.PathDisplay PathDisplay [get]
 Returns the NXOpen.CAM.PathDisplay belonging to this cam session More...
 

Detailed Description

Represents cam session

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

Created in NX4.0.0

Member Enumeration Documentation

the template subtype class

Enumerator
Setup 

Setup

Operation 

Operations

Program 

NC Program

Tool 

Machine Tools and Cutters

Method 

Machining Method

Geometry 

Geometry

Member Function Documentation

unsafe NXOpen.CAM.Preferences NXOpen.CAM.CAMSession.CreateCamPreferences ( )

Create Cam Preferences builder.

Created in NX7.5.0

License requirements: cam_base ("CAM BASE")

Returns
created cam preferences builder
unsafe bool NXOpen.CAM.CAMSession.GetMcsDisplay ( )

Get MCS display

Created in NX8.0.1

License requirements: None.

Returns
whether the MCS should be displayed
unsafe string [] NXOpen.CAM.CAMSession.GetTemplateSubtypes ( string  typeName,
NXOpen.CAM.CAMSession.ObjectSubtype  subtypeClass 
)

Get the names of the available template subypes for the specified template type.

Only those subtypes have the specified subtype class are returned.

Created in NX4.0.0

License requirements: cam_base ("CAM BASE")

Parameters
typeNamethe name of the template type
subtypeClassthe subtype class
Returns
the names of available subtypes
unsafe string [] NXOpen.CAM.CAMSession.GetTemplateTypes ( )

Get the names of the available template types.

Created in NX4.0.0

License requirements: cam_base ("CAM BASE")

Returns
the names of the template types
unsafe void NXOpen.CAM.CAMSession.SetMcsDisplay ( bool  displayMCS)

Set MCS display

Created in NX8.0.1

License requirements: cam_base ("CAM BASE")

Parameters
displayMCSwhether the MCS should be displayed
unsafe void NXOpen.CAM.CAMSession.SpecifyConfiguration ( string  configFile)

Specify the configuration file of the current cam session

Created in NX4.0.0

License requirements: cam_base ("CAM BASE")

Parameters
configFilethe name of the configuration file

Property Documentation

NXOpen.CAM.PathDisplay NXOpen.CAM.CAMSession.PathDisplay
get

Returns the NXOpen.CAM.PathDisplay belonging to this cam session

Created in NX10.0.2

Tag NXOpen.CAM.CAMSession.Tag
get

Returns the tag of this object.


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