pycatia.part_interfaces.sketch_based_shape

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

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.part_interfaces.sketch_based_shape.SketchBasedShape(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
SketchBasedShape

Represents the shapes based on sketched 2D geometry.
It is the base object for prisms, holes, revolutions, stiffeners, and
sweeps.

See also:
Prism, Hole, Revolution, Stiffener, Sweep
set_profile_element(i_profile_element: Reference) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetProfileElement(Reference iProfileElement)

Returns or sets a profile element.
Parameters:

i_profile_element (Reference) –

Return type:

None

property sketch: Sketch

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Sketch() As Sketch (Read Only)

Returns the sketch the shape is based on.

Example:
The following example returns the sketch a pad named firstPad is based
on:

Set sketchPad = firstPad.Sketch
Return type:

Sketch