Skip to content

Reading wrong filepath for IFC Link library  #3663

@myoualid

Description

@myoualid

In testing whether we can ship IFC & blend files that contain ifc links using relative paths overall:

Scenario: (see folder structure below)
I start a new project.
I link an IFC project through a .blend file, using relative_paths.
I save my blender project.
I save my IFC file as a relative path.
I duplicate my folders.
I open my duplicated .blend file

--> The duplicated my_project.blend file reads the IFC Linked file from the path C:/my-project/REF/reference.blend instead of C:/my-project-copyt/REF/reference.blend. Probably because that's what stored in the Blender file that was copied.

Folder Structure:

main folder
└───my-project
│   │   my_project.blend
│   │   my_project.ifc
│   │
│   └───REF
│       │   reference.blend
│       │   reference.ifc
│   
└───my-project-copy
    │   my_project.blend
    │   my_project.ifc
    │ 
    └───REF
        │   reference.blend
        │   reference.ifc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions