CutoutType,Direction,Surface,DeirectionElement can be redefined.
Properties
- Property Contour() As
-
Returns or Sets the Contour Sketch for Current Cutout.
- Example:
-
Dim NewContour As Reference Set NewContour = rootProduct.CreateReferenceFromName("Product1/New/!Sketch.2") ExistingCutout.Contour =NewContour
- Property CutoutType() As
-
Returns or Sets the CutoutType for Current Cutout.
- Example:
-
Dim Type As String Type = Cutout1.CutoutType
- Property Direction() As
-
Returns or Sets the Direction Vector for Current Cutout.If we are in CATStrBeforeForming mode, it gives NULL.
- Example:
-
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
- Property DirectionElement() As
-
Returns or Sets the Element used for defining for Current Cutout.If we are in CATStrBeforeForming mode, it gives NULL.
- Example:
-
Dim DirOfCutOut As Reference Set DirOfCutOut = Cutout2.DirectionElement
- Property ReferenceSurface() As
-
Returns or Sets the Reference Surface used for defining for Current Cutout.
- Example:
-
Dim SurForCutout As Reference Set SurForCutout = Cutout2.ReferenceSurface
Methods
- Func GetObject() As
-
Retrieves the Structure object on which the cutout is applied on.
- Parameters:
-
- oObject
- [out] Product dd>
- Returns:
-
S_OKif everything ran ok.- Example :
-
This example gives the product on which cutout is applied.
Dim Prod As Product Set Prod = Cutout1.GetObject
dd>