Show only one output in dynamo player

Hi all,

I have 3 results. Out of three I want to show only one output based on the category selected.

For ex. I have Lines category, Textnote category and filled region categories. At the beginning of the script if I select lines category then it should only show the lines result as output in dynamo player. I have added one watch node at the end to view as output in dynamo player.

Can anyone please tell me how to do this ? Thanks in advance.

Hope I can use Watchdialog node from spring nodes package. Based one the category selected I can easily give it as output. I found it as a easy way. If any other solution it is really appreciated.

Use datashapes as your input.

1 Like

Hi @shashank.baganeACM,

Or you can Right-Click on the Categories node and check the “Is Input” option.

Hello @MJB-online Its not about the input, only it is about the output.

I think i misunderstood your question.

  • Right-Click the watch node at the end of your graph and check “Is Output”.
  • You also have to rename the watch node at the end of your graph (see the solution of this topic).
  • And if you select the disired category at the “Edit inputs” button of Dynamo Player, the output would give you the list of Lines.

1 Like

Hi I appreciate that but If I have 3 results or more than two results. I want to show only one as output based on the category selected.

For ex:

As I have explained in the problem statement, I have 3 categories to select and I have 3 outputs.

If I select lines category, It should only show me the lines results as output. If I select text notes then it should show me text note results. I mean I have 3 inputs to select my category and I want only one output to show them as result.

Based on the category selected the output should be shown. Please see the snip in the problem statement for your reference.

That is what the first step (picture 1) does.
Choose the category in Dynamo Player, regardless of the selected category in your graph.


how to do this ? this is the question ! Hope now you’re clear with.

or should I use python for this ?

I already said… Try datashapes!

1 Like

But why would you need 3 different inputs, when you can choose the one you want in “Dynamo Player”?

That is somewhat the requirement. I hope data shapes can help me for this as suggested by @Alien.

I really appriciate that man. Thanks