Nomi Posted November 29, 2020 Share Posted November 29, 2020 Hi all, Ran into a snag with the vs.GetLayer(h) command in marionette. Instead of returning a handle to the layer of the object, it returns a handle to the current layer in the document. What am I missing? Do I need to regenerate the object/something along those lines? I've attached a script with a modified Get Layer node that returns the name of the layer rather than the handle (just so it's easier to see what you're getting back). Any help appreciated! Thanks, Naomi Get Layer.vwx Quote Link to comment
m.graf Posted December 2, 2020 Share Posted December 2, 2020 Hello Nomi, Why don't you use the original node "get layer"? in your node get Layer(ED) is "out" the name of the layer! Change out to l und you get the handle. Greatings M. Graf Quote Link to comment
m.graf Posted December 2, 2020 Share Posted December 2, 2020 (edited) Hello Nomi Sorry, saw your problem now. Change the "Name Node" to do "no copy" and you will get the original layer. with "copy" it returns the Layer of the new (copy) object greatings M.Graf Edited December 2, 2020 by m.graf Quote Link to comment
Nomi Posted December 4, 2020 Author Share Posted December 4, 2020 Aha! Perfect, thank you! Quote Link to comment
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.