pycatia.structure_interfaces.str_cutout_feature¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.structure_interfaces.str_cutout_feature.StrCutoutFeature(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectStrCutoutFeatureRepresents a Cutout Feature.CutoutType,Direction,Surface,DeirectionElement can beredefined.- property contour: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Contour() As ReferenceReturns or Sets the Contour Sketch for Current Cutout.Example:Dim NewContour As ReferenceSet NewContour = rootProduct.CreateReferenceFromName(“Product1/New/!Sketch.2”)ExistingCutout.Contour =NewContour
- Return type:
- property cutout_type: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CutoutType() As CATBSTRReturns or Sets the CutoutType for Current Cutout.Example:Dim Type As StringType = Cutout1.CutoutType
- Return type:
str
- property direction: tuple¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Direction() As CATSafeArrayVariantReturns or Sets the Direction Vector for Current Cutout.If we are inCATStrBeforeForming mode, it gives NULL.Example:Dim GetDir(3)GetDir(3) = Cutoutctr.DirectionDim x, y, z As Doublex = GetDir(0)y = GetDir(1)z = GetDir(2)‘For Setting DirectionDim Setdir(3)Setdir(0) = 0.5Setdir(1) = 0.5Setdir(2) = 0.5Cutout1.Direction =Setdir
- Return type:
tuple
- property direction_element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property DirectionElement() As ReferenceReturns or Sets the Element used for defining for Current Cutout.If we arein CATStrBeforeForming mode, it gives NULL.Example:Dim DirOfCutOut As ReferenceSet DirOfCutOut = Cutout2.DirectionElement
- Return type:
- get_object() Product ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetObject() As ProductRetrieves the Structure object on which the cutout is appliedon.Parameters:oObject[out] ProductReturns:S_OK if everything ran ok.Example:This example gives the product on which cutout isapplied.Dim Prod As ProductSet Prod = Cutout1.GetObjectCopyright © 1999-2011, Dassault Systèmes. All rightsreserved.
- Return type:
- property reference_surface: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ReferenceSurface() As ReferenceReturns or Sets the Reference Surface used for defining for CurrentCutout.Example:Dim SurForCutout As ReferenceSet SurForCutout = Cutout2.ReferenceSurface
- Return type: