Infrastructure |
Closing a CATIA Document |
![]() |
This macro shows you how to close an existing CATIA
document that is currently in the session. It details the programming
equivalent of the
|
||
![]() |
CAAInfCloseDocument is launched in CATIA [1]. An existing document called "CAAInfReadDocument.CATPart" must be found in the CATDocView. CAAInfCloseDocument.CATScript is located in the CAAScdInfUseCases module. Execute macro (Windows only).
|
||
![]() |
CAAInfCloseDocument includes four steps:
Retrieving the CATDocView Environment Variable and Checking its Valuation
Define the [Top] Closing the Active CATIA Document
An existing CATIA document is opened using the [Top] |
Closing the CATIA Document Specified by an Object Variable
A second way of closing an existing CATIA document is to execute the [Top] |
Closing the CATIA Document Specified by its Name
Finally, the third way of closing a CATIA document is to execute the [Top] |
This use case has shown the three ways of closing an existing CATIA document during an interactive session:
ActiveDocument
property of the CATIA applicationItem
method[Top]
[1] | Replaying a Macro |
[2] | Opening an Existing CATIA Document |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.