NX Open C++ Reference Guide
|
Values for the settings that affect the current Teamcenter session. More...
Public Member Functions | |
bool | AdministrationBypass () |
Returns a flag controlling the Teamcenter administrator's bypass option. | |
bool | AdministrationLogging () |
Returns a flag controlling Teamcenter administration logging. | |
bool | ApplicationLogging () |
Returns a flag controlling Teamcenter application logging Created in NX4.0.0. | |
void | Apply () |
Applies any changes to the settings Created in NX4.0.0. | |
void | DumpValidationInfo (const NXString &logFileName) |
Dump the validation info .This API can be used to expose the current state from the UGMGR session, typically the information about the session,assembly,components,their states etc. | |
void | DumpValidationInfo (const char *logFileName) |
Dump the validation info .This API can be used to expose the current state from the UGMGR session, typically the information about the session,assembly,components,their states etc. | |
std::vector< NXString > | GetGroups () |
Gets the names of the Teamcenter groups to which the user belongs. | |
std::vector< NXString > | GetProjects () |
Gets the names of the Teamcenter projects to which the user belongs also the first entry of the returned projects list is always empty. | |
std::vector< NXString > | GetRoles () |
Gets the names of the Teamcenter roles in which the user may act, given the current group returned by PDM::SessionSettings::Group . | |
std::vector< NXString > | GetVolumes () |
Gets the names of the Teamcenter volumes which the user may use, given the current group returned by PDM::SessionSettings::Group . | |
NXString | Group () |
Returns the Teamcenter group in which the user acts. | |
bool | IsAdministrator () |
Returns a flag indicating if the user has Teamcenter administator privileges. | |
bool | Journaling () |
Returns a flag controlling Teamcenter journaling Created in NX4.0.0. | |
NXString | Project () |
Returns the Teamcenter project in which the user acts. | |
NXString | Role () |
Returns the Teamcenter role in which the user acts. | |
bool | SecurityLogging () |
Returns a flag controlling Teamcenter security logging. | |
void | SetAdministrationBypass (bool adminBypassOn) |
Sets a flag controlling the Teamcenter administrator's bypass option. | |
void | SetAdministrationLogging (bool adminLoggingOn) |
Sets a flag controlling Teamcenter administration logging. | |
void | SetApplicationLogging (bool appLoggingOn) |
Sets a flag controlling Teamcenter application logging Created in NX4.0.0. | |
void | SetGroup (const NXString &group) |
Sets the Teamcenter group in which the user acts. | |
void | SetGroup (const char *group) |
Sets the Teamcenter group in which the user acts. | |
void | SetJournaling (bool journalingOn) |
Sets a flag controlling Teamcenter journaling Created in NX4.0.0. | |
void | SetProject (const NXString &project) |
Sets the Teamcenter project in which the user acts. | |
void | SetProject (const char *project) |
Sets the Teamcenter project in which the user acts. | |
void | SetRole (const NXString &role) |
Sets the Teamcenter role in which the user acts. | |
void | SetRole (const char *role) |
Sets the Teamcenter role in which the user acts. | |
void | SetSecurityLogging (bool securityLoggingOn) |
Sets a flag controlling Teamcenter security logging. | |
void | SetVolume (const NXString &volume) |
Sets the Teamcenter role in which the user acts. | |
void | SetVolume (const char *volume) |
Sets the Teamcenter role in which the user acts. | |
NXString | Volume () |
Returns the Teamcenter role in which the user acts. | |
virtual | ~SessionSettings () |
Free resources associated with the instance. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Values for the settings that affect the current Teamcenter session.
Any changes will only take effect when PDM::SessionSettings::Apply is callsed.
Created in NX4.0.0.
|
virtual |
Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX4.0.0.
License requirements : None
bool NXOpen::PDM::SessionSettings::AdministrationBypass | ( | ) |
Returns a flag controlling the Teamcenter administrator's bypass option.
Only available to administrators.
Created in NX4.0.0.
License requirements : None
bool NXOpen::PDM::SessionSettings::AdministrationLogging | ( | ) |
Returns a flag controlling Teamcenter administration logging.
Only available to administrators.
Created in NX4.0.0.
License requirements : None
bool NXOpen::PDM::SessionSettings::ApplicationLogging | ( | ) |
Returns a flag controlling Teamcenter application logging
Created in NX4.0.0.
License requirements : None
void NXOpen::PDM::SessionSettings::Apply | ( | ) |
Applies any changes to the settings
Created in NX4.0.0.
License requirements : None
void NXOpen::PDM::SessionSettings::DumpValidationInfo | ( | const NXString & | logFileName | ) |
Dump the validation info .This API can be used to expose the current state from the UGMGR session, typically the information about the session,assembly,components,their states etc.
Created in NX6.0.0.
License requirements : None
logFileName | log file name NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::SessionSettings::DumpValidationInfo | ( | const char * | logFileName | ) |
Dump the validation info .This API can be used to expose the current state from the UGMGR session, typically the information about the session,assembly,components,their states etc.
Created in NX6.0.0.
License requirements : None
logFileName | log file name NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::PDM::SessionSettings::GetGroups | ( | ) |
Gets the names of the Teamcenter groups to which the user belongs.
@return the names of the groups
Created in NX4.0.0.
License requirements : None
std::vector<NXString> NXOpen::PDM::SessionSettings::GetProjects | ( | ) |
Gets the names of the Teamcenter projects to which the user belongs also the first entry of the returned projects list is always empty.
@return the names of the projects
Created in NX8.5.0.
License requirements : None
std::vector<NXString> NXOpen::PDM::SessionSettings::GetRoles | ( | ) |
Gets the names of the Teamcenter roles in which the user may act, given the current group returned by PDM::SessionSettings::Group .
@return the names of the roles
Created in NX4.0.0.
License requirements : None
std::vector<NXString> NXOpen::PDM::SessionSettings::GetVolumes | ( | ) |
Gets the names of the Teamcenter volumes which the user may use, given the current group returned by PDM::SessionSettings::Group .
@return the names of the volumes
Created in NX4.0.0.
License requirements : None
NXString NXOpen::PDM::SessionSettings::Group | ( | ) |
Returns the Teamcenter group in which the user acts.
Should be one of those given by PDM::SessionSettings::GetGroups
Created in NX4.0.0.
License requirements : None
bool NXOpen::PDM::SessionSettings::IsAdministrator | ( | ) |
Returns a flag indicating if the user has Teamcenter administator privileges.
Some settings can are only available to administrators, and will raise errors if non-administrators try to access them.
Created in NX4.0.0.
License requirements : None
bool NXOpen::PDM::SessionSettings::Journaling | ( | ) |
Returns a flag controlling Teamcenter journaling
Created in NX4.0.0.
License requirements : None
NXString NXOpen::PDM::SessionSettings::Project | ( | ) |
Returns the Teamcenter project in which the user acts.
Should be one of those given by PDM::SessionSettings::GetProjects
Created in NX8.5.0.
License requirements : None
NXString NXOpen::PDM::SessionSettings::Role | ( | ) |
Returns the Teamcenter role in which the user acts.
Should be one of those given by PDM::SessionSettings::GetRoles
Created in NX4.0.0.
License requirements : None
bool NXOpen::PDM::SessionSettings::SecurityLogging | ( | ) |
Returns a flag controlling Teamcenter security logging.
Only available to administrators.
Created in NX4.0.0.
License requirements : None
void NXOpen::PDM::SessionSettings::SetAdministrationBypass | ( | bool | adminBypassOn | ) |
Sets a flag controlling the Teamcenter administrator's bypass option.
Only available to administrators.
Created in NX4.0.0.
License requirements : None
adminBypassOn | admin bypass on |
void NXOpen::PDM::SessionSettings::SetAdministrationLogging | ( | bool | adminLoggingOn | ) |
Sets a flag controlling Teamcenter administration logging.
Only available to administrators.
Created in NX4.0.0.
License requirements : None
adminLoggingOn | admin logging on |
void NXOpen::PDM::SessionSettings::SetApplicationLogging | ( | bool | appLoggingOn | ) |
Sets a flag controlling Teamcenter application logging
Created in NX4.0.0.
License requirements : None
appLoggingOn | app logging on |
void NXOpen::PDM::SessionSettings::SetGroup | ( | const NXString & | group | ) |
Sets the Teamcenter group in which the user acts.
Should be one of those given by PDM::SessionSettings::GetGroups
Created in NX4.0.0.
License requirements : None
group | group |
void NXOpen::PDM::SessionSettings::SetGroup | ( | const char * | group | ) |
Sets the Teamcenter group in which the user acts.
Should be one of those given by PDM::SessionSettings::GetGroups
Created in NX4.0.0.
License requirements : None
group | group |
void NXOpen::PDM::SessionSettings::SetJournaling | ( | bool | journalingOn | ) |
Sets a flag controlling Teamcenter journaling
Created in NX4.0.0.
License requirements : None
journalingOn | journaling on |
void NXOpen::PDM::SessionSettings::SetProject | ( | const NXString & | project | ) |
Sets the Teamcenter project in which the user acts.
Should be one of those given by PDM::SessionSettings::GetProjects
Created in NX8.5.0.
License requirements : None
project | project |
void NXOpen::PDM::SessionSettings::SetProject | ( | const char * | project | ) |
Sets the Teamcenter project in which the user acts.
Should be one of those given by PDM::SessionSettings::GetProjects
Created in NX8.5.0.
License requirements : None
project | project |
void NXOpen::PDM::SessionSettings::SetRole | ( | const NXString & | role | ) |
Sets the Teamcenter role in which the user acts.
Should be one of those given by PDM::SessionSettings::GetRoles
Created in NX4.0.0.
License requirements : None
role | role |
void NXOpen::PDM::SessionSettings::SetRole | ( | const char * | role | ) |
Sets the Teamcenter role in which the user acts.
Should be one of those given by PDM::SessionSettings::GetRoles
Created in NX4.0.0.
License requirements : None
role | role |
void NXOpen::PDM::SessionSettings::SetSecurityLogging | ( | bool | securityLoggingOn | ) |
Sets a flag controlling Teamcenter security logging.
Only available to administrators.
Created in NX4.0.0.
License requirements : None
securityLoggingOn | security logging on |
void NXOpen::PDM::SessionSettings::SetVolume | ( | const NXString & | volume | ) |
Sets the Teamcenter role in which the user acts.
Should be one of those given by PDM::SessionSettings::GetVolumes
Created in NX4.0.0.
License requirements : None
volume | volume |
void NXOpen::PDM::SessionSettings::SetVolume | ( | const char * | volume | ) |
Sets the Teamcenter role in which the user acts.
Should be one of those given by PDM::SessionSettings::GetVolumes
Created in NX4.0.0.
License requirements : None
volume | volume |
NXString NXOpen::PDM::SessionSettings::Volume | ( | ) |
Returns the Teamcenter role in which the user acts.
Should be one of those given by PDM::SessionSettings::GetVolumes
Created in NX4.0.0.
License requirements : None