Skip to content
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

Structure_Engine: NullReferenceException on transform of a bar with null nodes #3029

Closed
pawelbaran opened this issue Mar 23, 2023 · 0 comments · Fixed by #3030
Closed

Structure_Engine: NullReferenceException on transform of a bar with null nodes #3029

pawelbaran opened this issue Mar 23, 2023 · 0 comments · Fixed by #3030
Assignees
Labels
type:bug Error or unexpected behaviour

Comments

@pawelbaran
Copy link
Member

Description:

As in the title, issue identified while working on BHoM/Revit_Toolkit#1328, with the following sequence of actions:

  1. Convert a Revit Element to Bar without nodes (due to location extraction issue)
  2. Call Transform to account for host <=> link shift
  3. Bar.Transform calls Node.Transform to throw NullReferenceException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
2 participants