Creates a PathPatternFeatureInput object. Use properties and methods on this object to define the path pattern you want to create and then use the Add method, passing in the PathPatternFeatureInput object.
"pathPatternFeatures_var" is a variable referencing a PathPatternFeatures object. |
"pathPatternFeatures_var" is a variable referencing a PathPatternFeatures object. |
| Type | Description |
| PathPatternFeatureInput | Returns the newly created PathPatternFeatureInput object or null if the creation failed. |
| Name | Type | Description |
| 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 goemetry, only one entity can be patterned at a time, so the ObjectCollection must contain a single item. |
| path | Path | The Path object that represents a single set of connected curves along which to drive the pattern. |
| quantity | ValueInput | Specifies the number of instances in the first direction. |
| distance | ValueInput | Specifies the distance. 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. |
| Name | Description |
| pathPatternFeatures.add | Demonstrates the pathPatternFeatures.add method using a selected body and sketch curve as the path. |