Auto generate imported CAD-models with python

Hi!

I have generated several blocks with python when using a component from the VC-library, like this:

Now I want to do the same thing with my own CAD-model, which I have made to a component. But things is not working the same way with my own component as with thw block-component from the library. Anyone knows why?

Thanks for helping!

1 Like

Hy,

I recomend use .NetApi for this…

Regards
Feature

Your script and URI seem ok. I did not have any issues loading a file from my desktop or from My Models folder. Maybe triple-check that the file path is ok?
image

1 Like

Thank you! It was the path.

Hy,

I overread this, sorry… :frowning:

Regards
Feature

1 Like