You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
radlist = Autodesk.Alignment.InstantaneousRadiusAtStation(align, station);
res = [];
i = 0;
return = [Imperative]
{
while (i < len(radlist))
{
d = [Imperative]
{
if (Math.isfinite(radlist[i]))
{
res.append(station[i]);
}
};
i = i+1;
}
return = res;
};
It is a combination of nodes and python code. The inputs are a list of stations along an alignment, and a list of the alignment radius at each station. Since some parts of the alignment are straight lines, the radius is shown to be infinity. The infinity values are filtered out
What did you expect to see?
A list of stations that has valid radii
What did you see instead?
null
What packages or external references (if any) were used?
Python math library
Stack Trace
No response
Details
CLR: 8.0.11
The text was updated successfully, but these errors were encountered:
Thank you for submitting the issue to us. We are sorry to see you get stuck with your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.
Is Math.IsInfinate a valid function in design script (which this appears to be)? You cannot call Python methods therein so you need to limit yourself to the functions Dynamo provides.
Dynamo Version
3.3.0.6316
Host
No response
Operating System
Microsoft Windows NT 10.0.19045.0
What did you do?
radlist = Autodesk.Alignment.InstantaneousRadiusAtStation(align, station);
res = [];
i = 0;
return = [Imperative]
{
while (i < len(radlist))
{
d = [Imperative]
{
if (Math.isfinite(radlist[i]))
{
res.append(station[i]);
}
};
i = i+1;
}
return = res;
};
It is a combination of nodes and python code. The inputs are a list of stations along an alignment, and a list of the alignment radius at each station. Since some parts of the alignment are straight lines, the radius is shown to be infinity. The infinity values are filtered out
What did you expect to see?
A list of stations that has valid radii
What did you see instead?
null
What packages or external references (if any) were used?
Python math library
Stack Trace
No response
Details
CLR: 8.0.11
The text was updated successfully, but these errors were encountered: