Skip to content

Expose Import Script exports in import options #12912

@nameOfUser0236

Description

@nameOfUser0236

Describe the project you are working on

Various personal projects heavily using import scripts.

Describe the problem or limitation you are having in your project

Import scripts are unable to be configured in any meaningful way. The only way to pass data to them is to:
A: create a separate script for each configuration
B: somehow derive the needed information from the input scene (e.g. node names)
C: have a sidecar file containing the configuration
None of these are appealing workarounds.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Add all exported variables from the import script to the import dialog.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

The options should appear under the import script path, possibly in a "Script options" group.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No, it can't be worked around without significant effort.

Is there a reason why this should be core and not an add-on in the asset library?

It would require replacing the entire import dock.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions