pycatia.part_interfaces.sweep

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.sweep.Sweep(com_object)

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)

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

Represents the sweep shape.
It is the base object for ribs and slots.
property anchor_dir_reverse: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property AnchorDirReverse() As boolean

Returns the Sweep AnchorDirReverse flag (for Sweep Move Profile
only).
It returns TRUE if Anchor direction is reversed , FALSE if
not.

Returns:
oAnchorDirReverse The oAnchorDirReverse flag as a
boolean

Example:
Return type:

bool

property center_curve: Sketch

Note

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

Returns the sketch used as the sweep center curve. The sweep is built along
this sketch.

Example:
The following example returns in centerCurve the sketch used as center
curve by the firstSweep sweep object:

Set centerCurve = firstSweep.CenterCurve
Return type:

Sketch

property center_curve_element: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property CenterCurveElement() As Reference

Returns or sets the center curve .
To set the property, you can use the following Boundary object:
TriDimFeatEdge.
Return type:

Reference

property is_thin: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property IsThin() As boolean

Returns the Sweep thin flag.
It returns TRUE if the Sweep is a thin Sweep , FALSE if
not.

Returns:
oIsThin The thin flag as a boolean

Example:
The following example saves in thinFlag the thin flag of Sweep
firstSweep, and then sets it so that it will be now thin
:

Set thinFlag = firstSweep.IsThin
firstSweep.IsThin = TRUE
Return type:

bool

property merge_end: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property MergeEnd() As boolean

Returns the Sweep merge end flag (for thin Sweep only).
It returns TRUE if merge ends is required , FALSE if not.

Returns:
oIsMergeEnd The merge end flag as a boolean

Example:
The following example saves in MergeEndFlag the merge end flag of
Sweep firstSweep, and then sets it so that merge end will be required
:

Set MergeEndFlag = firstSweep.IsMergeEnd
firstSweep.IsMergeEnd = TRUE
Return type:

bool

property merge_mode: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property MergeMode() As CatMergeMode

Returns or sets the end mode .
Returns:

enum cat_merge_mode

Return type:

int

property move_profile_to_path: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property MoveProfileToPath() As boolean

Returns the Sweep MoveProfileToPath flag (for Sweep Move Profile
only).
It returns TRUE if move profile is required , FALSE if
not.

Returns:
oIsMoveProfileToPath The MoveProfileToPath flag as a
boolean

Example:
Return type:

bool

property neutral_fiber: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property NeutralFiber() As boolean

Returns the Sweep neutral fiber flag (for thin Sweep
only).
It returns TRUE if the Sweep is a neutral fiber Sweep , FALSE if
not.

Returns:
oIsNeutralFiber The neutral fiber flag as a boolean

Example:
The following example saves in NeutralFiberFlag the neutral fiber
flag of Sweep firstSweep, and then sets it so that it will be now neutral fiber
:

Set NeutralFiberFlag = firstSweep.IsNeutralFiber
firstSweep.IsNeutralFiber = TRUE
Return type:

bool

property normal_axis_dir_reverse: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property NormalAxisDirReverse() As boolean

Returns the Sweep NormalAxisDirReverse flag (for Sweep Move Profile
only).
It returns TRUE if Normal Axis direction is reversed , FALSE if
not.

Returns:
oNormalAxisDirReverse The oNormalAxisDirReverse flag as a
boolean

Example:
Return type:

bool

property pulling_dir_element: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property PullingDirElement() As Reference

Returns or sets the pulling direction .
To set the property, you can use one of the following Boundary objects:
PlanarFace, RectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge,
RectilinearMonoDimFeatEdge.
Return type:

Reference

property reference_surface_element: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property ReferenceSurfaceElement() As Reference

Returns or sets the reference surface .
To set the property, you can use the following Boundary object: Face.
Return type:

Reference

set_keep_angle_option() None

Note

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

Actives KeepAngleOption.
Return type:

None