Infrastructure |
Saving a New CATIA Document |
![]() |
This macro shows you how to save a new CATIA document that is currently in the session. In order to save an existing CATIA document in the same storage location and under the same name, see the CAAInfSaveDocument [1] sample for a detailed description.
|
|||
![]() |
CAAInfSaveAsDocument is launched in CATIA [2]. An existing document called "CAAInfReadDocument.CATPart" must be found in the CATDocView. CAAInfSaveAsDocument.CATScript is located in the CAAScdInfUseCases module. Execute macro (Windows only).
|
|||
![]() |
CAAInfSaveAsDocument includes five steps:
Retrieving the CATDocView Environment Variable and Checking its Valuation
Define the [Top] Retrieving the CATTEMP Environment Variable and Checking its Valuation
Define a variable to use for the current CATTEMP in order to define the document storage path of saved document. Also, verify that this variable has been valuated. Define the [Top] Saving the Active CATIA Document
An existing CATIA document is created using the [Top] |
Saving the CATIA Document Specified by an Object Variable
A second way of saving a new CATIA document is to use execute the [Top] |
Saving the CATIA Document Specified by its Name
Finally, the third way of saving a new CATIA document is by executing
the [Top] |
This use case has shown the three ways of saving a new CATIA document during an interactive session:
ActiveDocument
property of the CATIA applicationItem
methodIn all three cases, it is necessary to specify the path name and location where the new document will be stored.
[Top]
[1] | Saving an Existing CATIA Document |
[2] | Replaying a Macro |
[3] | Creating a New CATIA Document |
[4] | Closing a CATIA Document |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.