AIberto Posted November 5, 2015 Share Posted November 5, 2015 Hi all I use (layerstate-save "layer_color" nil nil) save the layer state. next, I change the layer color use (layerstate-save "layer_color" nil nil) again. then,restore. (layerstate-restore "layer_color" nil nil) I found "layerstate-save" can't overwrite the layer state. Quote Link to comment Share on other sites More sharing options...
tombu Posted November 5, 2015 Share Posted November 5, 2015 I would simply use the Layer States Manager. You could check to see if it's a member of (layerstate-getnames) or just use (layerstate-delete "layer_color") before (layerstate-save "layer_color" nil nil) Quote Link to comment Share on other sites More sharing options...
AIberto Posted November 5, 2015 Author Share Posted November 5, 2015 I would simply use the Layer States Manager. You could check to see if it's a member of (layerstate-getnames) or just use (layerstate-delete "layer_color") before (layerstate-save "layer_color" nil nil) Thank you tombu. I used (layerstate-delete "layer_color") before (layerstate-save "layer_color" nil nil), Just only do this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.