All Frameworks Object Hierarchy This Framework Indexes
o Func Add( | iDrawingPicturePath, | |
iPositionX, | ||
iPositionY) As |
Dim MySheet As DrawingSheet Set MySheet = CATIA.ActiveDocument.Sheets.ActiveSheet Dim MyView As DrawingView Set MyView = MySheet.Views.ActiveView Dim MyDrawingPicture1 As DrawingPicture Set MyDrawingPicture1 = MyView.Pictures.Add("C:\tmp\ball.bmp", 100., 50.)
o Func Item( | iIndex) As |
Dim MySheet As DrawingSheet Set MySheet = CATIA.ActiveDocument.Sheets.ActiveSheet Dim MyView As DrawingView Set MyView = MySheet.Views.ActiveView Dim ThisDrawingPicture As DrawingPicture Set ThisDrawingPicture = MyView.Pictures.Item(2)
o Sub Remove( | iIndex) |
Dim MyView As DrawingView Set MyView = MySheet.Views.ActiveView MyView.Pictures.Remove(3)
Copyright © 2003, Dassault Systèmes. All rights reserved.