pycatia.part_interfaces.pattern¶
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.pattern.Pattern(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapePartInterfaces.TransformationShapePatternRepresents the pattern shape.It is the base object for rectangular and circular patterns. A pattern shape isa set of copies of the same shape. The copy is done according to linear andangular repartitions.See also:CircPattern, RectPattern, Repartition, LinearRepartition,AngularRepartition- activate_position(i_pos_u: int, i_pos_v: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ActivatePosition(long iPosU,long iPosV)Allows user to activate an instance of the pattern.Parameters:iPosUThe position of the instance in the U directioniPosVThe position of the instance in the V direction
- Parameters:
i_pos_u (int) –
i_pos_v (int) –
- Return type:
None
- desactivate_position(i_pos_u: int, i_pos_v: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub DesactivatePosition(long iPosU,long iPosV)Allows user to desactivate an instance of the pattern.Parameters:iPosUThe position of the instance in the U directioniPosVThe position of the instance in the V direction
- Parameters:
i_pos_u (int) –
i_pos_v (int) –
- Return type:
None
- property item_to_copy: AnyObject¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ItemToCopy() As AnyObjectReturns or sets the shape to be copied.Example:The following example returns in shape the copied shape of the patternfirstPattern, and then sets it to pad1:Set shape = firstPattern.ItemToCopyfirstPattern.ItemToCopy = pad1
- Return type:
- property rotation_angle: Angle¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RotationAngle() As Angle (Read Only)Returns the pattern global rotation angle. The rotation is applied to thewhole pattern, but not to the shapes themselves. The shape to be copied is usedas the rotation center.Example:The following example returns in globAng the rotation of patternfirstPattern:Set globAng = firstPattern.RotationAngle
- Return type: