Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not load custom structure in own code #98

Open
ulda opened this issue May 10, 2020 · 1 comment
Open

can not load custom structure in own code #98

ulda opened this issue May 10, 2020 · 1 comment

Comments

@ulda
Copy link

ulda commented May 10, 2020

Hi
I created a model with opcua-modeler and load it with my own code:
async def main(): # setup our server server = Server() await server.init() await server.import_xml("handler-modell2.xml") await server.load_enums() await server.load_type_definitions()

but the custom structure i created is not regenerated
I see that model_manager uses _show_structs() to recreate these.

What is the right way to do this on my initialization code?

@oroulet
Copy link
Member

oroulet commented May 10, 2020

The modeller created several boxes only for design. It is normal they are not created when imprint xml fine. The structures still exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants