Getting Session Information
Methods Introduced:
The method
MpfcCOMGlobal.pfcGetProEArguments() returns an array containing the command-line arguments passed to
Creo+, if these arguments follow one of two formats:
• Any argument starting with a plus sign (+) followed by a letter character.
• Any argument starting with a minus (-) followed by a capitalized letter.
The first argument passed in the array is the full path to the Creo+ executable.
The method
MpfcCOMGlobal.pfcGetProEVersion() returns a string that represents the
Creo+ version, for example “Wildfire”.
The method
MpfcCOMGlobal.pfcGetProEBuildCode() returns a string that represents the build code of the
Creo+ session.
|
|
The preceding methods can only access information in synchronous mode.
|