other node value

Vexus related Support Questions

other node value

Postby hidenori saito » Mon Mar 18, 2019 3:46 am

Hello
How to refer to other connection node values ​​with Maxscript Snippet node
please teach me.
hidenori saito
 
Posts: 8
Joined: Mon Mar 04, 2019 3:56 am

Re: other node value

Postby boomer » Tue Mar 19, 2019 3:39 pm

Hello,

What information are you looking for? Node selection from a child (ie downstream) nodes or some other information from other vexus nodes?

If you want you the node selection, select "Select Input Nodes" from the Code Paramaters section. Then in your MAX Script, you can refer to that selection as $

You you want to refer to other vexus nodes, that is not possible.
Mathew Kaustinen
Boomer Labs
boomer
Site Admin
 
Posts: 239
Joined: Fri Aug 11, 2006 9:03 pm

Re: other node value

Postby hidenori saito » Tue Mar 19, 2019 5:00 pm

Thank you for your reply.
I have attached a screenshot, but you can't do that?
Attachments
2019-03-20 07_53_57-Vexus 3.03B - [E__project_140529_demo_test3_script_vextest.vx]_.png
2019-03-20 07_53_57-Vexus 3.03B - [E__project_140529_demo_test3_script_vextest.vx]_.png (21.75 KiB) Viewed 1919 times
hidenori saito
 
Posts: 8
Joined: Mon Mar 04, 2019 3:56 am

Re: other node value

Postby boomer » Tue Mar 19, 2019 5:18 pm

Hello,

If you select the option "Select Input Nodes", then the nodes that were selected in the Selection Set are accessible using "$" - as shown in the attachment below:
Attachments
Vexus_Selections.png
Vexus_Selections.png (36.11 KiB) Viewed 1918 times
Mathew Kaustinen
Boomer Labs
boomer
Site Admin
 
Posts: 239
Joined: Fri Aug 11, 2006 9:03 pm

Re: other node value

Postby hidenori saito » Wed Mar 20, 2019 3:59 am

Thank you for your reply.
I know that it can get the object name selected by $.
Unable to get the name of the selected set.
hidenori saito
 
Posts: 8
Joined: Mon Mar 04, 2019 3:56 am

Re: other node value

Postby hidenori saito » Wed Mar 20, 2019 3:44 pm

I could do something I wanted to do using a custom node. :D

<node enabled="True" className="SelectionSetsPlus" virtualName="SelectionSetsPlus" image="script.svg" backgroundColor="RGBA(255,84,181,200)" isExpanded="False" action="custommxs">
<viewblocks isExpanded="False">
<rect width="112" y="0" x="0" height="48"/>
</viewblocks>
<inputs>
<item type="data" limit="0" name=""/>
</inputs>
<outputs>
<item type="data" limit="0" name=""/>
</outputs>
<attributeblocks isExpanded="1">
<attributeblock name="_Hidden_" isExpanded="False" action="default">
<attribute value="True" key="selectInputNodes" type="boolean" label="Select Input Nodes" action="default"/>
<attribute method="default" type="textbox" key="maxscript" label="Maxscript" action="default" value="

stringArray=filterString &quot;$:nodesets.value&quot; &quot;, &quot;
selectionSetsArray=#()

for j in stringArray do
(

append selectionSetsArray j
)

"/>
<attribute value="True" key="outputSelectedNodes" type="boolean" label="Output Node Selection" action="default"/>
</attributeblock>
<attributeblock name="Parameters" isExpanded="True" action="properties">

<attribute action="default" type="dropdownlist" items="Add, Filter, Replace, Subtract" key="selectiontype" label="Operation" value="Add" method="string"/>
<attribute action="default" type="textbox" key="nodesets" label="Names" value="" method="selectionsets"/>

</attributeblock>
</attributeblocks>
</node>
hidenori saito
 
Posts: 8
Joined: Mon Mar 04, 2019 3:56 am

Re: other node value

Postby jokermartini » Wed Mar 20, 2019 6:13 pm

Could you explain in a little more detail what you are trying to achieve and then I can help you create the node you need.
jokermartini
 
Posts: 31
Joined: Sat Sep 10, 2016 12:59 pm

Re: other node value

Postby hidenori saito » Wed Mar 20, 2019 7:24 pm

I think this is like houdini's ROP.
This tool has excellent traceability.

In addition to rendering, I think that you can do various things by combining multiple nodes instead of one node,
such as exporting and adjusting objects, but selecting objects alone was not enough.
hidenori saito
 
Posts: 8
Joined: Mon Mar 04, 2019 3:56 am


Return to Vexus

Who is online

Users browsing this forum: No registered users and 2 guests

cron