JoJo_Laser
Automotive
I am doing a macro for obtaining sections of an object and putting them in a sheet.
Now I can do the sections but I still don't understand how to fit them in the sheet.
For example.
3 sections in a sheet: macro do the sections, and moves them in these positions:
-----------------------------------
| ---- --------- ---- |
| | | | | | | |
| | | | | ---- |
| ---- | | |
| --------- |
-----------------------------------
I have the dimensions of the sections (not included the dimensions of the box, but they are different for different objects!) but I don't know which command I must use for move them in rows and columns.
I know there is the method (drawingView).x and (drawingView).y but they set the position of the CENTER of the section, so it is not so precise if I must align the sections in a row.
Furthermore, how can I know the dimensions of the section plus the box?!
Please, tell me at least if the question is clear, I am not english speaker (you don't say?!)
Now I can do the sections but I still don't understand how to fit them in the sheet.
For example.
3 sections in a sheet: macro do the sections, and moves them in these positions:
-----------------------------------
| ---- --------- ---- |
| | | | | | | |
| | | | | ---- |
| ---- | | |
| --------- |
-----------------------------------
I have the dimensions of the sections (not included the dimensions of the box, but they are different for different objects!) but I don't know which command I must use for move them in rows and columns.
I know there is the method (drawingView).x and (drawingView).y but they set the position of the CENTER of the section, so it is not so precise if I must align the sections in a row.
Furthermore, how can I know the dimensions of the section plus the box?!
Please, tell me at least if the question is clear, I am not english speaker (you don't say?!)