Hi @m_angel_lopez94,
I think you are asking just in general - if not apologies for the overexplaining.
This is a script that will generate a rectangle at given coordinates, then place a piece of text in the middle (rotated at 100deg), then draw another rectangle with text 1 unit to the right of the first... and so on
If you are new to scripts and want to try it out
- Download/open the "rectangle.xlsx
- copy cells K6 through to cell k73 (using [ctrl+c])
- go to CAD and click into command prompt ready to type,
- then paste (using [ctrl+v]) the copied cells.
You should hopefully find a group of rectangles that have autogenerated
Basically the data you have entered works as if you are typing it directly into the command prompt
If you are new to scripts, you can get a good understanding of the concept by typing in the first line in (respecting all spaces and punctuation)
This helps for when you want to modify the script to suit any other needs. For example I am going to use it as a way to add a band row under my profile view containing data that is not accessible via general band parameters. This way my engineers can fill in their own data, and the script will autopopulate the 'band' rectangles with the respective text.
Hope that helps, and again if I have over explained - apologies.