Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C++ add-in with simple input form

1 REPLY 1
Reply
Message 1 of 2
psaarloos
546 Views, 1 Reply

C++ add-in with simple input form

Hi,

 

I am busy creating my first C++ addin for Fusion 360. It's working quite well, but I am struggling with the PreviewCommandHandler. I am showing a couple of user parameters in an input form. I would like to see an immediately update of the model when I change an inputs in the form. On this moment I can only see the changes after pressing the ok button. Is this possible? Is there any sample available in C++ which I can learn from?

 

Many thanks in advance for your help!

 

 

Regards,
Pim Saarloos
Product Manager
If my post answers your question, please click the "Accept as Solution" button. Kudos are much appreciated!
Tags (3)
1 REPLY 1
Message 2 of 2
goyals
in reply to: psaarloos

There is adsk.core.InputChangeEventHandler which probably you can registered to know when an input is changed in Fusion dialog. Please take a look at this sample http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-e5c4dbe8-ee48-11e4-9823-f8b156d7cd97. Thanks.



Shyam Goyal
Sr. Software Dev. Manager

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report