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

Null exception on pulling Nurbs bars #1323

Closed
vietle-bh opened this issue Mar 15, 2023 · 0 comments · Fixed by #1324
Closed

Null exception on pulling Nurbs bars #1323

vietle-bh opened this issue Mar 15, 2023 · 0 comments · Fixed by #1324
Assignees
Labels
type:bug Error or unexpected behaviour

Comments

@vietle-bh
Copy link
Contributor

vietle-bh commented Mar 15, 2023

Description:

We don't support pulling Nurbs location curves yet, but let's at least handle the exception.

image

Steps to reproduce:

Using the test files below, pull any Revit beam that is based on a Nurbs curve. Any ID below will do:
1208663, 1208973, 1209221, 1209288, 1209467, 1209792, 1209794, 1209824, 1209826, 1209828, 1209830, 1209832, 1209834, 1209836, 1209876, 1209878, 1209880, 1209882, 1209884, 1209886, 1209888, 1209930, 1209932, 1209934, 1209936, 1209938, 1209940, 1209942, 1209982, 1209984, 1209986, 1209988, 1209990, 1209992, 1209994, 1210036, 1210038, 1210040, 1210042, 1210044, 1210046, 1210048, 1211097, 1211099, 1211101, 1211103, 1211105, 1211117, 1211119, 1211121, 1211125, 1211127, 1211129, 1211131, 1211133, 1211135, 1211137, 1211139, 1211141, 1211143, 1211145, 1211147, 1211149, 1211153, 1211155, 1211157, 1211159, 1211161, 1211163, 1211165, 1211167, 1211169, 1211171, 1211173, 1211175, 1211177, 1211179, 1211181, 1211183, 1211185, 1211187, 1211189, 1215099, 1215101, 1215103, 1215105, 1215107, 1215119, 1215121, 1215123, 1215127, 1215129, 1215131, 1215133, 1215135, 1215137, 1215139, 1215141, 1215143, 1215145, 1215147, 1215149, 1215151, 1215155, 1215157, 1215159, 1215161, 1215163, 1215165, 1215167, 1215169, 1215171, 1215173, 1215175, 1215177, 1215179, 1215181, 1215183, 1215185, 1215187, 1215189, 1215191,

Expected behaviour:

Replace "Exception has been thrown by the target of an invocation.." with a more accurate warning message.

Test file(s):

Requires Revit 2022.
SharePoint folder

@vietle-bh vietle-bh added the type:bug Error or unexpected behaviour label Mar 15, 2023
@vietle-bh vietle-bh self-assigned this Mar 15, 2023
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
Development

Successfully merging a pull request may close this issue.

1 participant