Family with parametric array

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to create programmatically a family similar to the RFA file that I have attached. It is a parametric array of extrusions. As you can see, the reference Group contains an extrusion constrained by width, height and position (X, Y). Also I added a parameter for the number of elements that contains the array and the offset between the elements.
Manually, I can add the width and height dimensions when it is being created the sketch of the extrusion. This way, I don't get any constraint issue when I start changing the parameters via Family type table. Is it possible to create programmatically an array using this way? Do you know how could I constraint the width and height of the extrusion to not get the exception "Constraints are not satisfied"?
Thanks in advance,