Skip to content

Crash report from Dynamo 3.3.0.6316 #16162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rheobe opened this issue Apr 23, 2025 · 2 comments
Open

Crash report from Dynamo 3.3.0.6316 #16162

rheobe opened this issue Apr 23, 2025 · 2 comments

Comments

@rheobe
Copy link

rheobe commented Apr 23, 2025

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

Copy link

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.

@JacobSmall
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

2 participants