pycatia.drafting_interfaces.drawing_document

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.drafting_interfaces.drawing_document.DrawingDocument(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
InfInterfaces.Document
DrawingDocument

Represents the Document object for drawings.
property drawing_root: DrawingRoot

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property DrawingRoot() As DrawingRoot (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
Return type

DrawingRoot

isolate() None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
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
Return type

None

property parameters: pycatia.knowledge_interfaces.parameters.Parameters

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Parameters() As Parameters (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
Return type

Parameters

property relations: pycatia.knowledge_interfaces.relations.Relations

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Relations() As Relations (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
Return type

Relations

property sheets: pycatia.drafting_interfaces.drawing_sheets.DrawingSheets

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Sheets() As DrawingSheets (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
Return type

DrawingSheets

property standard: int

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Standard() As CatDrawingStandard

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
Returns

enum cat_drawing_standard

Return type

int

update() None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
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
Return type

None