Skip to content

How do I open a model that contains a custom plugin-dependent component? #865

Answered by adamkewley
adamkewley asked this question in Q&A
Discussion options

You must be logged in to vote

The error comes from the OpenSim API whenever it tries to load an .osim file that contains an XML element that it isn't aware of. Your .osim file contains something like:

<DynamicLigamentForce ...>
    <stuff />
</DynamicLigamentForce>

Where DynamicLigamentForce is a component that was added via an OpenSim plugin. In this specific case, the model being loaded is an OpenSim3 model that depends on a "Ligament Model Source" (linked in the SimTK source) that builds a DLL plugin that adds support for DynamicLigamentForce. The plugin dll was probably compiled against OpenSim3 when the authors originally published their work.

OpenSim Creator doesn't support loading custom plugins. Even if it did…

Replies: 1 comment

Comment options

adamkewley
May 2, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by adamkewley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant