Creates a RectangularPatternFeatureInput object. Use properties and methods on this object to define the rectangular pattern you want to create and then use the Add method, passing in the RectangularPatternFeatureInput object.
| inputEntities |
ObjectCollection |
An ObjectCollection of the entities to pattern. The collection can contain BRepFace, PartFeature, BRepBody, or Occurrence objects. All of the entities provided must be the same type. For example, it must contain only bodies and can't contain both bodies and faces.
You can also pattern ConstructionPoint, ConstructionAxis, and ConstructionPlane objects. When patterning any construction geometry, only one entity can be patterned at a time, so the ObjectCollection must contain a single item. |
| directionOneEntity |
Base |
Specifies the entity used to define the first direction entity. This can be a linear edge, construction axis, sketch line or rectangular pattern feature. If a rectangular pattern feature is set, the directionOneEntity and directionTwoEntity properties return the same rectangular pattern feature. |
| quantityOne |
ValueInput |
Specifies the number of instances in the first direction. |
| distanceOne |
ValueInput |
Specifies the distance in the first direction. How this value is used depends on the value of the PatternDistanceType property. A negative value can be used to change the direction. If the value is ExtentPatternDistanceType then it defines the total distance of the pattern. If the value is SpacingPatternDistanceType then it defines the distance between each element. |
| patternDistanceType |
PatternDistanceType |
Specifies how the distance between elements is computed. |