Infrastructure |
Saving an Existing CATIA Document |
|
This macro shows you how to save an existing CATIA
document that is currently in the session. In order to save a new CATIA
document, see the CAAInfSaveAsDocument [1]
sample for a detailed description. This sample details the programming
equivalent of the
|
|||
|
CAAInfSaveDocument is launched in CATIA [2]. An existing document called "CAAInfReadDocument.CATPart" must be found in the CATDocView. CAAInfSaveDocument.CATScript is located in the CAAScdInfUseCases module. Execute macro (Windows only).
|
|||
|
CAAInfSaveDocument includes four steps:
Retrieving the CATDocView Environment Variable and Checking its Valuation
Define the [Top] Saving the Active CATIA Document
An existing CATIA document is opened using the [Top] |
Save the CATIA Document Specified by an Object Variable
The same document is opened a second time. Another way of saving an
existing CATIA document is to execute the [Top] |
Save the CATIA Document Specified by its Name
The same document is opened one last time. The third way of saving a
CATIA document is by executing the [Top] |
This use case has shown the three ways of saving an existing CATIA document during an interactive session:
ActiveDocument property of the CATIA applicationItem methodIn all three cases, the document is saved under the same storage path and name.
[Top]
| [1] | Saving a New CATIA Document |
| [2] | Replaying a Macro |
| [3] | Opening an Existing CATIA Document |
| [4] | Closing a CATIA Document |
| [Top] | |
Copyright © 2001, Dassault Systèmes. All rights reserved.