pycatia.part_interfaces.user_repartition¶
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_repartition.UserRepartition(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPartInterfaces.RepartitionUserRepartitionRepresents the User Pattern repartition.It is made up of a number of times the shape is copied and the location ofinstances. The number of times the shape is copied is accessible using theRepartition.InstancesCount property.- 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(AnyObjectiFeatureToLocatePositions)Adds a new feature to locate instances.Parameters:iFeatureToLocatePositionsThe new face to processExample:The following example adds the new feature feature to locate instancesof the Pattern firstPattern:call firstPattern.AddFeatureToLocatePositions(face)
- Parameters:
i_feature_to_locate_positions (AnyObject) –
- Return type:
None
- property feature_to_locate_positions: AnyObject¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FeatureToLocatePositions() As AnyObject (ReadOnly)Returns the collection of feature to locate instances.Example:The following example returns in list the list of feature to locateinstances of the Pattern firstPattern:Set list = firstPattern.FeatureToLocatePositions
- Return type: