All Frameworks  Object Hierarchy  This Framework  Indexes   

DrawingDocument (Object)

Represents the Document object for drawings.

Property Index

DrawingRoot
Retrieves the drawing root in the drawing document.
Parameters
Returns the collection of parameters of the drawing document.
Relations
Returns the collection of relations of the drawing document.
Sheets
Returns the collection of drawing sheets of the drawing document.
Standard
Returns or sets the drawing standard of the drawing document.

Method Index

Isolate
Isolates all the drawing views of all the drawing sheets of the drawing document.
Update
Updates all the drawing sheets of the drawing document.

Properties


o Property DrawingRoot() As (Read Only)
Retrieves the drawing root in the drawing document.
Example:
This example retrieves the drawing from the active document, supposed to be a drawing document.
 CATIA.ActiveDocument.DrawingRoot
 
o Property Parameters() As (Read Only)
Returns the collection of parameters of the drawing document.
Example:
This example retrieves in DrawingParameters the collection of parameters currently managed by the active document, supposed to be a drawing document.
 Dim DrawingParameters As Parameters
 Set DrawingParameters = CATIA.ActiveDocument.Parameters
 
o Property Relations() As (Read Only)
Returns the collection of relations of the drawing document.
Example:
This example retrieves in DrawingRelations the collection of relations currently managed by the active document, supposed to be a drawing document.
 Dim DrawingRelations As Relations
 Set DrawingRelations = CATIA.ActiveDocument.Relations
 
o Property Sheets() As (Read Only)
Returns the collection of drawing sheets of the drawing document.
Example:
This example retrieves in SheetCollection the collection of sheets currently managed by the active document, supposed to be a drawing document.
 Dim SheetCollection As DrawingSheets
 Set SheetCollection = CATIA.ActiveDocument.Sheets
 
o Property Standard() As
Returns or sets the drawing standard of the drawing document.
Example:
This example sets the drawing standard of the active document, supposed to be a drawing document, to ISO.
 CATIA.ActiveDocument.Standard = catISO
 

Methods


o Sub Isolate()
Isolates all the drawing views of all the drawing sheets of the drawing document.
Example:
This example isolates all the drawing views of all the drawing sheets of the active document, supposed to be a drawing document.
 CATIA.ActiveDocument.Isolate
 
o Sub Update()
Updates all the drawing sheets of the drawing document.
Example:
This example updates the active document, supposed to be a drawing document.
 CATIA.ActiveDocument.Update
 

Copyright © 2003, Dassault Systèmes. All rights reserved.