I'm struggling with a basic API plugin.

I'm struggling with a basic API plugin.

esumft
Advocate Advocate
590 Views
2 Replies
Message 1 of 3

I'm struggling with a basic API plugin.

esumft
Advocate
Advocate

Hello,

 

I've been trying to import some python modules into an API plugin, but it doesn't seem to recognise them even though they are installed and work on my other python scripts?

0 Likes
Accepted solutions (1)
591 Views
2 Replies
  • API
Replies (2)
Message 2 of 3

esumft
Advocate
Advocate

For example:

 

import Modules.amodule asmod
 
This causes the plugin to do nothing when ran inside Fusion.
0 Likes
Message 3 of 3

kandennti
Mentor
Mentor
Accepted solution

Hi @esumft .

 

I tried it and it worked fine.

 

Was it really "Height" of UserParameter?
(Name of ModelParameter can be changed with recent update)

1.png

0 Likes