Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Triage