How to choose number of copies in a component?

I know how to make components with copies, but I would like to know if there is the possibility for the user to choose the number of copies and also choose the spacing between them, and that they are independent variables. The way I know how to do it, the copies are the result of dividing the length of the “path” by the spacing.

Making components that copy | SketchUp Help

Repeating a sub-component within a dynamic component (1 Dimension) | SketchUp Help

Repeating a sub-component within a dynamic component (2 Dimensions) | SketchUp Help

Making attribute values end-user configurable | SketchUp Help

Look at this one…
Don’t open the file as it is already the dynamic component, insert it (import or just dragging into the drawing)…

Deckenstrahler_Reihe_Vorraum.skp (45.8 KB)

1 Like

thank u so much