0% found this document useful (0 votes)
47 views1 page

Using The DrawingDocument Object

The DrawingDocument object provides properties to access and return specific drawing documents from the Documents collection. The Documents property returns a single DrawingDocument object based on the document name or index number. The ActiveDocument property returns the currently active document. Index numbers denote the order documents were opened, with Documents(1) being the second opened and Documents(Documents.Count) being the last opened. Activating a document does not change its index number.

Uploaded by

agox194
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views1 page

Using The DrawingDocument Object

The DrawingDocument object provides properties to access and return specific drawing documents from the Documents collection. The Documents property returns a single DrawingDocument object based on the document name or index number. The ActiveDocument property returns the currently active document. Index numbers denote the order documents were opened, with Documents(1) being the second opened and Documents(Documents.Count) being the last opened. Activating a document does not change its index number.

Uploaded by

agox194
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Using the DrawingDocument Object

The following properties for returning a DrawingDocument object are described in this
section:

Documents property
ActiveDocument property

Documents Property
Use Documents(index), where index is the document name or index number in the
Documents collection, to return a single DrawingDocument object. The following example
activates the second document in the collection.
CATIA.Documents(2).Activate

The index number denotes the order in which the documents were opened or created.
Documents(1) is the second document created, and Documents(Documents.Count) is the
last one created. Activating a document doesn't change its index number. All documents are
included in the index count, even if they're hidden.

You might also like