All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown | +---IDispatch | +---CATBaseUnknown | +---CATBaseDispatch | +---Collection | +---DrawingSheets
o Property ActiveSheet( | ) As CATIADrawingSheet (Read Only) |
Dim MyDrawingDoc As Document Set MyDrawingDoc = CATIA.Documents.Item("CATDrawing1") Dim SheetToWorkIn As DrawingSheet Set SheetToWorkIn = MyDrawingDoc.Sheets.ActiveSheet
o Func Add( | CATBSTR | iDrawingSheetName) As CATIADrawingSheet |
Dim MyDrawingDoc As Document Set MyDrawingDoc = CATIA.Documents.Item("CATDrawing1") Dim MySheet As DrawingSheet Set MySheet = MyDrawingDoc.Sheets.Add("FirstSheet")
o Func AddDetail( | CATBSTR | iDrawingSheetName) As CATIADrawingSheet |
Dim MyDrawingDoc As Document Set MyDrawingDoc = CATIA.Documents.Item("CATDrawing1") Dim MySheet As DrawingSheet Set MySheet = MyDrawingDoc.Sheets.Add("FirstSheet")
o Func Item( | CATVariant | iIndex) As CATIADrawingSheet |
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( | CATVariant | iIndex) |
CATIA.ActiveDocument.DrawingSheets.Remove(2) CATIA.ActiveDocument.DrawingSheets.Remove("SheetToBeRemoved")
Copyright © 2003, Dassault Systèmes. All rights reserved.