Skip to content

[Bug]: Faulty ToRawLineData function for type "4186316022" #1581

@quasarchimaere

Description

@quasarchimaere

What happened?

Somehow if you want to use write Line for the type 4186316022 (ToRawLineData) the function in IFC2X3 is defined as follows: 4186316022: (i) => [i.GlobalId, i.OwnerHistory, i.Name, i.Description, i.RelatedObjects, i.RelatingPropertyDefinition],

But in IFC4 and IFC4X3 this line turns into 4186316022: (i) => [i.GlobalId, i.OwnerHistory, i.Name, i.Description, i.RelatedObjects, Labelise(i.RelatingPropertyDefinition)], which labelises the last param (reference to another ifc-line number) and thus causes an error when trying to call writeRawLineData with the RawLineData result

Version

at least 0.0.69 and onwards (used to be just fine around 0.0.59)

What browsers are you seeing the problem on?

No response

Relevant log output

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions