Skip to content

How to save mol* state programmatically and load it on subsequent render #129

Open
@JamMaster1999

Description

@JamMaster1999

Hello,

Thanks for making the project light-weight and easily portable.

I have successfully implemented the PDBeMolstarPlugin and am able to render scenes without any issues by setting the options json.

Once the initial render takes place, the user might want to modify the scene to their liking using the GUI.

How do I retrieve this new state and how do I then load it back into the plugin to be rendered?

From just a quick look around, there is a state parameter on the viewer instance, but am not sure how to then load it in.

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