PSNInteroperability Global Function CATGetVPMEnvironment
All Frameworks Class Hierarchy This Framework Indexes
PSNInteroperability Global Function CATGetVPMEnvironment
-
Returns the ENOVIAvpm V4 environment name of a document.
Role:This method returns the environment name of document loaded in session.
This returned name is exactly the same value used as iCatenv parameters of following
methods:
CATComputeDocId ,
CATCreateVPMSession ,
CATCreateVPMProductStructure ,
CATOpenConfiguredAssemblyInVPM ,
CATValuatePdmId .
If needed, your Imakefile.mk should include the module: CATPinServices
- Parameters:
-
- iObject
- CATProduct or CATDocument object
- oEnvironment
- Environment name
- Returns:
-
- S_OK: The environment name is successfuly returned
- E_FAIL: The method has failed
This object is included in the file: CATBatchServices.h
Copyright © 2003, Dassault Systèmes. All rights reserved.