As a newcomer to Vectrscripts I was hoping someone might be able to suggest a solution for this problem:
I am currently editing an existing VS from 8.5.2 to make it compatible with 10.5. The script perfroms a sequence of grouping and ungrouping operations before exporting the file. I guess this is to ensure the file is made up of lines only before doing the export.
It does this procedure 7 times to ensure most levels of grouping are reached.
However, in 10.5 it ungroups until there are no more groups, then errors out as there are no more groups left to convert.
I need to find a way round this: I was thinking of putting a do while loop in that would run on the condition of the menu item "convert to group()" being valid. is this possible? is there a function that returns a boolean value for the status of a menu item? Any other suggestions for this problem?
All help much appreciated.