bcd Posted May 28, 2017 Share Posted May 28, 2017 Is it possible to Name a node for clarity but keep it from appearing in the OIP of the Marionette Object? 1 Quote Link to comment
Marionette Maven Marissa Farrell Posted May 28, 2017 Marionette Maven Share Posted May 28, 2017 There are two ways you could do this: 1) instead of naming the actual node, put a pass node between that node and the one you were going to wire to and name the pass node. This will allow you to see what's passing through the pass node in your script without exposing it to the object. 2) edit the script of the node and rename it on the Python level. This would require that you remove the first line of code from the script editor that references the external python file, but would allow you to rename the node (for example, you could rename a "string" node to "Name of Class" I would suggest using the first method just to prevent the need to edit the guts of the nodes, only drawback is slightly more clutter in your network. 1 Quote Link to comment
bcd Posted May 28, 2017 Author Share Posted May 28, 2017 Thanks for this Marissa, yes opt 1 looks like the way to go; easy & quick. Perhaps in the next revision an Ignore Name character might be possible, eg those that I tried but failed with were" space ' " ' ' " " _ \ * Quote Link to comment
heavy manners Posted June 12, 2024 Share Posted June 12, 2024 Coming from a Grasshopper environment, this to me is an absolutely essential feature that should not require such a hassle. I hope I have missed something, but now in 2024 it seems like this has still not been dealt with. Any new recommendations as to how to get around it? Thanks! Quote Link to comment
Marionette Maven Marissa Farrell Posted June 12, 2024 Marionette Maven Share Posted June 12, 2024 @heavy manners No changes have been made at this point. I'll add it to a list of requested enhancements. Can you provide what you imagine a better process would be to display named nodes in the OIP? Quote Link to comment
heavy manners Posted June 13, 2024 Share Posted June 13, 2024 18 hours ago, Marissa Farrell said: @heavy manners No changes have been made at this point. I'll add it to a list of requested enhancements. Can you provide what you imagine a better process would be to display named nodes in the OIP? Thank you! I think the process is working fine for displaying nodes in the OIP, it's just that it would be very useful, for organisational reasons, to be able to name nodes within the script without having them show up in the OIP. But these two things would clash, I guess (having two name fields), so perhaps a simple checkbox with "show in OIP" and another field for display order could do the trick? Quote Link to comment
Pat Stanford Posted June 13, 2024 Share Posted June 13, 2024 Or maybe something like is used with Plugin Objects where if the Parameter Name starts with an underscore (_) character (or is it two underscores?) the parameters does not show in the OIP. I think some type of prefix character is a better option than a check box that you need to keep track of for every named object. Yes it is slightly inconvenient, but this is programming and we deal with inconvenience of having to do things in a certain way all the time in programming. 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.