[Plugin] Arc_Offset_True
-
https://sketchucation.com/pluginstore?pln=Arc_offset_true
This is v1.6 which avoids that error message.
The tool worked fine before, but the closing code which tried to add the new arc to the selection set was failing at the very end with that error message.
That was because the newer API versions handle exploded groups' entities differently - previously you could get a collection of the groups entities and then explode the group, then process those entities [e.g. the edges to add to the selection set]; but the API changes make such a collection 'invalid' because its references to the entities are reported as deleted; so now you must collect the results of the explosion, and filter out unwanted stuff to keep just the 'new' edges and then process them...
It's much more convoluted but has the same outcome...
Most scripts have been appropriately adjusted over the recent years to accommodate this API change - but this one escaped - because it's ten years old and it did the offset OK, just falling over at the final hurdle of changing the selection set, and therefore printing an error into the Ruby Console, if you had it open ! -
Mucho gracias
Advertisement