cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum
GDL coding questions, Python and add-on development using the API Dev Kit.

Parking Space Numbering Python Script | Oriented Grid

MaFarine
Booster
Hi there,

I am new to Python scripting and I was trying to adapt a script from Graphisoft called "Parking Space Numbering" to suit my needs for a first exercise.

I am able to modify plenty of things but I get stuck with the path that the numbering follows.
By default the path goes from xMin and yMin to xMax and yMax by zigzagging.

My problem is that my project is not oriented at 0° but at X.XX° and that it doesn't work.
(In blue how it works and in red how I would like it to work)

How can I adapt the code for this situation?

Thanks a lot for your help!

Best regards,
Mathieu
Mathieu Farine | BIM Manager | CCHE Lausanne | Switzerland
AC24-26 FRA | WIN11 | i7-9850H | 32Go | RTX4000
0 REPLIES 0

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!