Itoo Software Forum

Author Topic: Macro_Input For Value List  (Read 2794 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1472
Macro_Input For Value List
« on: March 25, 2025, 08:35:15 PM »
During Beta testing, I found an interesting use of Value List as possible Macro Input. I'm not sure if that could be managed. As it is now, only Numeric input is recognized as Parameter Input.


iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4657
    • iToo Software
Re: Macro_Input For Value List
« Reply #1 on: March 26, 2025, 09:40:42 AM »
Do you mean to propagate a list of values to the macro ? I'm afraid that's not possible.
You can attach a Value List to a macro parameter, but only to select one of the values as numeric input.

On the other hand, the 'Selector' parameter type lets you to define a list of values in macro parameters.
Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1472
Re: Macro_Input For Value List
« Reply #2 on: March 26, 2025, 11:01:46 AM »
Can you create a Link connector?
The idea is to have an option to use a Value listed for some features in Macro if needed, but since it is not practical to deal with a parameters list, I intend to add an Input connector via link and then to add a Value List Operator in Top Level of the Style so I can use it.

EG:
In Macro, I have the option to rotate some Geometry based on  MatID, but since the Macro is supposed to be universal, my idea is to prepare an Arithmetic Expression eg: Input1*90; 
Then, on the Top Level to add Value list:
1.  0
2.  1
3.  1
4.  0
5.  1
6.  1
7. .........

This will allow users to have a various range of control via Value List.

With this workflow, I could prepare some options in Macro, and if needed user can just add Value List Operator and have a lot of control.
 




iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4657
    • iToo Software
Re: Macro_Input For Value List
« Reply #3 on: March 26, 2025, 12:44:46 PM »
I will think on it, but at first glance there is not a simple way to add it. Because Link nodes should work in two modes: natively, or as macro input.
There is a direct translation for Spline, Segment and Numeric nodes to macro inputs, because none of these nodes can be used natively within a macro.
Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1472
Re: Macro_Input For Value List
« Reply #4 on: March 26, 2025, 02:15:00 PM »
Yes, I understand.
Maybe to work like a "Mirror/Link" nodes. To add Value Operator both in Macro and in Top Level but to be connected somehow like Linked/Mirrored values from the TopLevel to the MacroLevel .   
I know, this would require additional input node but I found the Value List quite useful because it works after the Master Generator is initially evaluated, and as you know, this is always the biggest constraint for me.  ;)
« Last Edit: March 27, 2025, 06:35:22 AM by Dragan »