Reply To: Object Style to New Layer

#103545
Aaron Gray
Participant

I tried the latest version and I’m still getting inconsistent results, but now in a different way. I’m finding that the objects with the object style I’ve selected are consistently moving to whichever layer I select. However, I also find that some other objects that don’t have that style are also moving to the selected layer.

Additionally, there seem to be certain layers where if I try to move objects to the layer with the script, I get an error with each object that says “Error: Cannot move locked items to a new layer,” even though none of the objects I’m trying to move are locked. However, then it goes ahead and moves the object to the layer anyway. (Here it seems like writing a line into the script to suppress error messages could be useful.)

I’m sorry I’m not able to post a sample file online, but the policies of the company I work for wouldn’t permit that. This seems like it will be a very useful script once it’s debugged. I wish I had the programming skills to help more!

This article was last modified on May 4, 2018

Comments (0)

Loading comments...