Print at Dec 17, 2025, 5:49:39 PM

Posted by dorin at May 19, 2021, 7:19:01 PM
Re: Auto Dimensioning plugin
@Emmanuel
Thanks you test it and especially you have read the script.
Did you try to use Eclipse debugger (explained in the Debugging the plug-in section of the Plug-in developer's guide)?

Believe me or not but every time when I start to make a new plugin I read again and again your tutorial + I try to understand how you and others do this.
Without Eclipse debugger and assistance I can't do nothing.
About the bug:
I investigate a little and I compare few simple files created under different SH3D versions.
When I create and test a plugin I've made some test files with the current version of SH3D.
Rarely I've test on old files and this is my fault.
Now, after comparing the xml file created with 5.4, 6.2 and 6.5.2 I've observe on last it exist level0 even it is the only one.
Maybe this induce me in error and Eclipse debugger don't say nothing.
That's prove I'm not a programmer.
I will see if I can improve it without mess other functions.
Until there I recommend for users who have old files with unique level to update their file by adding a level, save file, reopen and delete the added level.
In this way you will have an updated file.
If you only open and save the file will don't work.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law