All Frameworks Class Hierarchy This Framework Indexes
HRESULT CATInitBatchOnHost( | char* | iHostName) |
This method creates a CATIA V5 session if it is not yet initialized.
Use
CATTerminateBatch at the end of the application to close this session.
If there is no server running to which this method can connect to,
a new ENOVIAvpm V4 server is launched on the dedicated Unix host by submitting
the StartVPMBatchFromV5Batch.sh shell script.
The CV5VpmStart environment variable can be declared to set the unix directory where the
StartVPMBatchFromV5Batch.sh shell script is located on the dedicated Unix host.
the CV5VpmStartTimeOut environment variable can be declared
to set the timeout of the connection. By default, the timeout is 300.
This method can be used for Unix and Windows clients.
For Unix client, the dedicated host can be the current local host.
If needed, your Imakefile.mk should include the module: CATPinServices
Copyright © 2003, Dassault Systèmes. All rights reserved.