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

[Bug]: GetLine fails when flatten=true in some models #1012

Open
agviegas opened this issue Aug 28, 2024 · 0 comments
Open

[Bug]: GetLine fails when flatten=true in some models #1012

agviegas opened this issue Aug 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@agviegas
Copy link
Collaborator

What happened?

The function GetLine has the following signature:

IfcAPI.GetLine(     
   modelID: number,     
   expressID: number,     
   flatten?: boolean | undefined,     
   inverse?: boolean | undefined,     
   inversePropKey?: string | null | undefined
): any

Using flatten=true fails with some models. Here's a list (it's probably the same problem in all of them):

With this model:

GetLine(0, 39445, true) // fails

With this model:

GetLine(0, 346854, true) // fails
GetLine(0, 333704, true) // fails

With this model:

GetLine(0, 333704, true) // fails
GetLine(0, 337717, true) // fails

Version

0.0.57

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Anything else?

No response

@agviegas agviegas added the bug Something isn't working label Aug 28, 2024
@beachtom beachtom self-assigned this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants