pycatia.part_interfaces.user_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.user_pattern.UserPattern(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
PartInterfaces.TransformationShape
PartInterfaces.Pattern
UserPattern

Represents the user pattern.
The shape is copied along user’s positions.
add_feature_to_locate_positions(i_feature_to_locate_positions: AnyObject) None

Note

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

Adds a new feature to locate instances.

Parameters:

iFeatureToLocatePositions
The new object containing points of positioning

Example:
The following example adds the new feature feature to locate instances
of the Pattern firstPattern:

call firstPattern.AddFeatureToLocatePositions(object)
Parameters:

i_feature_to_locate_positions (AnyObject) –

Return type:

None

property anchor_point: AnyObject

Note

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

Returns the anchor point of the user pattern.

Example:
The following example returns in anchor the anchor point of the Pattern
firstPattern:

Set anchor = firstPattern.AnchorPoint
Return type:

AnyObject

property feature_to_locate_positions: AnyObject

Note

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

Returns the collection of feature to locate instances.

Example:
The following example returns in list the list of feature to locate
instances of the Pattern firstPattern:

Set list = firstPattern.FeatureToLocatePositions
Return type:

AnyObject