All Frameworks Object Hierarchy This Framework Indexes
| o Property Contour( | ) As |
Dim NewContour As Reference
Set NewContour = rootProduct.CreateReferenceFromName("Product1/New/!Sketch.2")
ExistingCutout.Contour =NewContour
| o Property CutoutType( | ) As |
Dim Type As String Type = Cutout1.CutoutType
| o Property DirectionElement( | ) As |
Dim DirOfCutOut As Reference Set DirOfCutOut = Cutout2.DirectionElement
| o Property Direction( | ) As |
Dim GetDir(3) GetDir(3) = Cutoutctr.Direction Dim x, y, z As Double x = GetDir(0) y = GetDir(1) z = GetDir(2) 'For Setting Direction Dim Setdir(3) Setdir(0) = 0.5 Setdir(1) = 0.5 Setdir(2) = 0.5 Cutout1.Direction =Setdir
| o Property ReferenceSurface( | ) As |
Dim SurForCutout As Reference Set SurForCutout = Cutout2.ReferenceSurface
| o Func GetObject( | ) As |
S_OK if everything ran ok.
Dim Prod As Product Set Prod = Cutout1.GetObject
Copyright © 2003, Dassault Systèmes. All rights reserved.