Nomi 0 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 Share this post Link to post
m.graf 33 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 Share this post Link to post
m.graf 33 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 Share this post Link to post