All Frameworks Object Hierarchy This Framework Indexes
o Property ActiveSheet( | ) As (Read Only) |
Dim MyDrawingDoc As Document Set MyDrawingDoc = CATIA.Documents.Item("CATDrawing1") Dim SheetToWorkIn As DrawingSheet Set SheetToWorkIn = MyDrawingDoc.Sheets.ActiveSheet
o Func AddDetail( | iDrawingSheetName) As |
Dim MyDrawingDoc As Document Set MyDrawingDoc = CATIA.Documents.Item("CATDrawing1") Dim MySheet As DrawingSheet Set MySheet = MyDrawingDoc.Sheets.Add("FirstSheet")
o Func Add( | iDrawingSheetName) As |
Dim MyDrawingDoc As Document Set MyDrawingDoc = CATIA.Documents.Item("CATDrawing1") Dim MySheet As DrawingSheet Set MySheet = MyDrawingDoc.Sheets.Add("FirstSheet")
o Func Item( | iIndex) As |
Dim ThisDrawingSheet As DrawingSheet Set ThisDrawingSheet = CATIA.ActiveDocument.Sheets.Item(3) Dim ThatDrawingSheet As DrawingSheet Set ThatDrawingSheet = CATIA.ActiveDocument.Sheets.Item("MySheet")
o Sub Remove( | iIndex) |
CATIA.ActiveDocument.DrawingSheets.Remove(2) CATIA.ActiveDocument.DrawingSheets.Remove("SheetToBeRemoved")
Copyright © 2003, Dassault Systèmes. All rights reserved.