NX Open C++ Reference Guide
Public Member Functions
NXOpen::PDM::PdmSession Class Reference

Represents the NX Manager session
To obtain an instance of this class, refer to Session

Created in NX7.5.0. More...

List of all members.

Public Member Functions

void GetTcserverSettings (NXString *connectString, NXString *discriminator)
 Returns the connect string and discriminator used by NX session to connect to the Tcserver.
NXOpen::PDM::FileManagementNewFileManagement ()
 Returns a new PDM::FileManagement object.
void SetDefaultFolder (const NXString &defaultFolderSpec)
 Sets default folder
Created in NX7.5.0.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Represents the NX Manager session
To obtain an instance of this class, refer to Session

Created in NX7.5.0.



Member Function Documentation

void NXOpen::PDM::PdmSession::GetTcserverSettings ( NXString connectString,
NXString discriminator 
)

Returns the connect string and discriminator used by NX session to connect to the Tcserver.

The client applications can use these settings to connect to the same Tcserver that NX is using.

Tcserver connect string: The connect string is path of the server hosting the services. The connect string for the different transport protocols will be in the following form: 4-Tier(HTTP mode): similar to http: 2-Tier(IIOP mode): The Tcserver IOR string

Discriminator: The discriminator is a unique identifier and contains unique information related to a given TC server. This unique identifier (discriminator) is recognized by TC pool manager as the session number that ties the server process to the client. The discriminator functionality is part of the SOA package. The discriminator allows multiple clients to connect to the same TC server. In 2-Tier(IIOP mode), the discriminator will be an empty string.


Created in NX7.5.0.

License requirements : None

Parameters:
connectStringthe connection string
discriminatorthe discriminator

Returns a new PDM::FileManagement object.

Returns:

Created in NX7.5.4.

License requirements : None
void NXOpen::PDM::PdmSession::SetDefaultFolder ( const NXString defaultFolderSpec)

Sets default folder
Created in NX7.5.0.



License requirements : None

Parameters:
defaultFolderSpecDefault folder path including default folder name to be set

Returns the tag of this object.


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