Skip to content

Import and Export Failures #7

@michaeldemchenko

Description

@michaeldemchenko

Description:
The CityJSONEditor addon does not work correctly in Blender 4.2. Both the import and export functionalities fail due to errors caused by missing keys and unsupported operators.

Environment:
Blender Version: 4.2
Addon Version: Latest from GitHub
OS: macOS


Export Error:
When attempting to export a scene, the following error occurs:

KeyError: 'bpy_struct[key]: key "CRS" not found'
Screenshot 2024-12-18 at 18 58 08

Import Error:
When attempting to import a file, the following error occurs:

file example: https://www.cityjson.org/tutorials/files/twobuildings.city.json

AttributeError: Calling operator "bpy.ops.wm.console_toggle" error, could not be found
Screenshot 2024-12-18 at 20 08 58

Сould you tell me what I'm doing wrong, or what needs to be done to make import and export work?
Thank you for maintaining this addon! Let me know if more details or testing are needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions