NX Open C++ Reference Guide
|
Represents cam session
To obtain an instance of this class, refer to Session
Created in NX4.0.0.
More...
Public Types | |
enum | ObjectSubtype { ObjectSubtypeSetup, ObjectSubtypeOperation, ObjectSubtypeProgram, ObjectSubtypeTool, ObjectSubtypeMethod, ObjectSubtypeGeometry } |
the template subtype class More... | |
Public Member Functions | |
NXOpen::CAM::Preferences * | CreateCamPreferences () |
Create Cam Preferences builder. | |
bool | GetMcsDisplay () |
Get MCS display. | |
std::vector< NXString > | GetTemplateSubtypes (const NXString &typeName, NXOpen::CAM::CAMSession::ObjectSubtype subtypeClass) |
Get the names of the available template subypes for the specified template type. | |
std::vector< NXString > | GetTemplateSubtypes (const char *typeName, NXOpen::CAM::CAMSession::ObjectSubtype subtypeClass) |
Get the names of the available template subypes for the specified template type. | |
std::vector< NXString > | GetTemplateTypes () |
Get the names of the available template types. | |
void | SetMcsDisplay (bool displayMCS) |
Set MCS display Created in NX8.0.1. | |
void | SpecifyConfiguration (const NXString &configFile) |
Specify the configuration file of the current cam session Created in NX4.0.0. | |
void | SpecifyConfiguration (const char *configFile) |
Specify the configuration file of the current cam session Created in NX4.0.0. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents cam session
To obtain an instance of this class, refer to Session
Created in NX4.0.0.
NXOpen::CAM::Preferences* NXOpen::CAM::CAMSession::CreateCamPreferences | ( | ) |
Create Cam Preferences builder.
bool NXOpen::CAM::CAMSession::GetMcsDisplay | ( | ) |
Get MCS display.
std::vector<NXString> NXOpen::CAM::CAMSession::GetTemplateSubtypes | ( | const NXString & | 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.
typeName | the name of the template type NOTE: The full Unicode character set is not supported for this parameter. |
subtypeClass | the subtype class |
std::vector<NXString> NXOpen::CAM::CAMSession::GetTemplateSubtypes | ( | const char * | 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.
typeName | the name of the template type NOTE: The full Unicode character set is not supported for this parameter. |
subtypeClass | the subtype class |
std::vector<NXString> NXOpen::CAM::CAMSession::GetTemplateTypes | ( | ) |
Get the names of the available template types.
void NXOpen::CAM::CAMSession::SetMcsDisplay | ( | bool | displayMCS | ) |
Set MCS display
Created in NX8.0.1.
License requirements : cam_base ("CAM BASE")
displayMCS | whether the MCS should be displayed |
void NXOpen::CAM::CAMSession::SpecifyConfiguration | ( | const NXString & | configFile | ) |
Specify the configuration file of the current cam session
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
configFile | the name of the configuration file NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAM::CAMSession::SpecifyConfiguration | ( | const char * | configFile | ) |
Specify the configuration file of the current cam session
Created in NX4.0.0.
License requirements : cam_base ("CAM BASE")
configFile | the name of the configuration file NOTE: The full Unicode character set is not supported for this parameter. |
tag_t NXOpen::CAM::CAMSession::Tag | ( | ) | const |
Returns the tag of this object.