Hi guys,
I’m trying to make a script that copy a unistrut in a rack of conduits every 8’ and 2’ depending on the length of the conduit I choose as reference. It relies on the direction of the rack (North/South, East/West).
I can accomplish what I want by using 2 boolean buttons (Positive or Negative direction and X or Y Orientation) but it might be confusing for the users. I prefer using data-shapes radio buttons for easier inputting.
The problem I’m facing is that when I connect “<” node to the test port of the “if” node, it only outputs 1 vector, hence, only 1 unistrut is copied. If I connect a True/False (from Direction boolean) node to the “if” node it outputs all the vectors I need for copying all the unistruts. I don’t understand why, in the first case I only get one vector as a result and in the other case I get all I need.
Can anyone help me here in order to use only the data-shape (radio buttons) input and not using both, the boolean and the radio buttons input?
I’m a newbie using dynamo. So, I’ll appreciate any constructive comment to improve my script.