Gregi Posted June 8, 2020 Share Posted June 8, 2020 Hello everybody I tried to create a tool which allows me to align any object (2D, 3D, viewports). So i made a network an it kind of works - as long as i dont try to get object by "selected" an use it as a marionette command. where's my blind spot? Align Distance_20-06-08.vwx Quote Link to comment
Marionette Maven Marissa Farrell Posted June 8, 2020 Marionette Maven Share Posted June 8, 2020 Menu commands work by placing the network into the drawing area and then running it. It's possible that some of the nodes in your network are in a selected state when they are placed and are being included in the count of your selected objects. I'll take a look at your network when I find some free time and see if it's that, I had previously reported this as an issue and it was fixed, but maybe there's an edge case. Quote Link to comment
m.graf Posted June 11, 2020 Share Posted June 11, 2020 (edited) I have added some nodes to your marionette network - everything else is in the file (ich habe einige Nodes in Ihrem Marionette Netzwerk ergänzt - alles weitere steht in der Datei) try this version 🙂 Align Distance_20-06-08-MG.vwx Edited June 11, 2020 by m.graf Quote Link to comment
Gregi Posted June 11, 2020 Author Share Posted June 11, 2020 Didn't really work. I made a menu command, and the first rectangle jumped a bit instead of hold positon. But your changes gave me an idea, so i put in a filter to only work on the objects on same layer. first tests are working fine - will see Align Distance_20-06-08-gim.vwx Quote Link to comment
m.graf Posted June 11, 2020 Share Posted June 11, 2020 very good! i look at your Network, and see you removed my "Marionette Node Filter". you should better take both filters (Layer and Marionette Node Filter) and the Valve Node Part to stop the Script if nothing is selected. from Marissa: "...It's possible that some of the nodes in your network are in a selected state when they are placed and are being included in the count of your selected objects." greatings M.Graf Quote Link to comment
m.graf Posted June 11, 2020 Share Posted June 11, 2020 sorry forgot: I don't think "sel" works with groups, if you want it to work with groups, a "group filter" would have to be added as well. Quote Link to comment
Gregi Posted June 12, 2020 Author Share Posted June 12, 2020 Oh I see... oops, get more complicated than i thought... I would like to use it on groups too, so probably something this way?Align Distance_20-06-13-gim.vwx 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.