Jump to content
Developer Wiki and Function Reference Links ×

node for making pulldown out of a preselection


Recommended Posts

i would like to have an oip port in my existing marionette, which has a pulldown out of this selection.

 

so i need a pulldownnode which

 

SelectObj(INSYMBOL & INVIEWPORT & ((T=POLY) & (N='*Poly*')));

 

and outputs the name of the selested polyline as a string.

 

someone has a clue, how to combine the filterselection with nodes?

 

 

BR KC

Link to comment
Posted (edited)

i manipulated the code of the node (after i consulted ChatGPT) to get an input port and i tried to output the n-th element of the list i inputted.

 

This works so far, except the selection is not "changing its selection choicenames" i think it has somethin to do with behaviour and run node complications.

 

2. if i wrap it, the named node is in the oip palette as a parameter.

 

image.png.ab4ea69d970b9905a051b2271eb9f337.png

 

the outputstring has to be cleaned so the 2 ' has to be removed.

 

Maybe someone has a clue, why the hack this is not reacting like i think it "shoud".

Edited by KingChaos
Link to comment
  • Marionette Maven

It's currently not possible to dynamically change the elements in the OIP popups within Marionette through the script. 

 

I investigated a different solution a while back that involved using OIP Buttons and popup dialogs, I'll try to remember to look around for it in my free time.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...