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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapePartInterfaces.SketchBasedShapeSweepRepresents 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 booleanReturns the Sweep AnchorDirReverse flag (for Sweep Move Profileonly).It returns TRUE if Anchor direction is reversed , FALSE ifnot.Returns:oAnchorDirReverse The oAnchorDirReverse flag as abooleanExample:
- 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 alongthis sketch.Example:The following example returns in centerCurve the sketch used as centercurve by the firstSweep sweep object:Set centerCurve = firstSweep.CenterCurve
- Return type:
- property center_curve_element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CenterCurveElement() As ReferenceReturns or sets the center curve .To set the property, you can use the following Boundary object:TriDimFeatEdge.
- Return type:
- property is_thin: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property IsThin() As booleanReturns the Sweep thin flag.It returns TRUE if the Sweep is a thin Sweep , FALSE ifnot.Returns:oIsThin The thin flag as a booleanExample:The following example saves in thinFlag the thin flag of SweepfirstSweep, and then sets it so that it will be now thin:Set thinFlag = firstSweep.IsThinfirstSweep.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 booleanReturns 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 booleanExample:The following example saves in MergeEndFlag the merge end flag ofSweep firstSweep, and then sets it so that merge end will be required:Set MergeEndFlag = firstSweep.IsMergeEndfirstSweep.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 CatMergeModeReturns 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 booleanReturns the Sweep MoveProfileToPath flag (for Sweep Move Profileonly).It returns TRUE if move profile is required , FALSE ifnot.Returns:oIsMoveProfileToPath The MoveProfileToPath flag as abooleanExample:
- Return type:
bool
- property neutral_fiber: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property NeutralFiber() As booleanReturns the Sweep neutral fiber flag (for thin Sweeponly).It returns TRUE if the Sweep is a neutral fiber Sweep , FALSE ifnot.Returns:oIsNeutralFiber The neutral fiber flag as a booleanExample:The following example saves in NeutralFiberFlag the neutral fiberflag of Sweep firstSweep, and then sets it so that it will be now neutral fiber:Set NeutralFiberFlag = firstSweep.IsNeutralFiberfirstSweep.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 booleanReturns the Sweep NormalAxisDirReverse flag (for Sweep Move Profileonly).It returns TRUE if Normal Axis direction is reversed , FALSE ifnot.Returns:oNormalAxisDirReverse The oNormalAxisDirReverse flag as abooleanExample:
- 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 ReferenceReturns or sets the pulling direction .To set the property, you can use one of the following Boundary objects:PlanarFace, RectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge,RectilinearMonoDimFeatEdge.
- Return type:
- property reference_surface_element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ReferenceSurfaceElement() As ReferenceReturns or sets the reference surface .To set the property, you can use the following Boundary object: Face.
- Return type:
- 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