Could you please p
I’m a new to Dynamo but trying to do my best in understanding Dynamo logic.
I’m trying to create a script which checks the distance between cable trays and air ducts.
If the distance between cable trays and air ducts is less than 40 mm then the script should inform about this.
I have 2 questions:
- Why there is a problem with “Point Z” node when I’m trying to connect it to “Element.Get location”? Are there any other ways to get Z coordinates of every cable trays category?
- How can I set the value of 40 mm in Python script node to satisfy the condition. In other words how to let know Dynamo that I need 40 mm for “a” variable?
My Python script node:
Load the Python Standard and DesignScript Libraries
from Autodesk.DesignScript.Geometry import *
a = IN
if a < 40:
b = 'false'
b = ‘true’
OUT = b
Thank very much for your help