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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.DocumentDrawingDocumentRepresents 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, supposedto be a drawing document.CATIA.ActiveDocument.DrawingRoot
- Return type:
- 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 drawingdocument.Example:This example isolates all the drawing views of all the drawing sheetsof the active document, supposed to be a drawingdocument.CATIA.ActiveDocument.Isolate
- Return type:
None
- property 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 drawingdocument.Example:This example retrieves in DrawingParameters the collectionofparameters currently managed by the active document, supposed to beadrawing document.Dim DrawingParameters As ParametersSet DrawingParameters = CATIA.ActiveDocument.Parameters
- Return type:
- property 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 drawingdocument.Example:This example retrieves in DrawingRelations the collectionofrelations currently managed by the active document, supposed to beadrawing document.Dim DrawingRelations As RelationsSet DrawingRelations = CATIA.ActiveDocument.Relations
- Return type:
- property 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 drawingdocument.Example:This example retrieves in SheetCollection the collection of sheetscurrently managed by the active document, supposed to be a drawingdocument.Dim SheetCollection As DrawingSheetsSet SheetCollection = CATIA.ActiveDocument.Sheets
- Return type:
- property standard: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Standard() As CatDrawingStandardReturns or sets the drawing standard of the drawingdocument.Example:This example sets the drawing standard of the active document, supposedto 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 drawingdocument.CATIA.ActiveDocument.Update
- Return type:
None