first of all thanks to all people spending time helping with my question.
I would like to create some dynamic components, but I’m not finding the right direction so all my effort are getting nothing. I’m not also sure what I want to make it’s possible, I tried to read the SketchUp online guide for the component and I haven’t found what I need.
I reduce all of these dynamic components in 2 different types ( attached what I would like to get).
1 Magic Cube
I want to create a scaling cube that allows me to fill a surface, like the tiles grid component provide by SketchUp, but I need to create also a partial cube, filling exactly the surface
2 Magic frame
I want to create a component that could create, in case the scaling factor is not an integer number, One more vertical piece put at the end of the object.
Thanks to all the people that could find time to help me, and also people overfly my bad english.