Example script Add-In fails in validateInputs handler

Example script Add-In fails in validateInputs handler

wh6Q9NU
Advocate Advocate
251 Views
1 Reply
Message 1 of 2

Example script Add-In fails in validateInputs handler

wh6Q9NU
Advocate
Advocate

When creating a new (default) Add-In, from:

  1. "Script and Add-Ins" (Shift + S)
  2. Tab "Add-Ins"
  3. Click "Create" and select type Python
  4. Open the freshly generate Add-In example and open the file: "entry.py"
  5. Around line 138 with the command definition "def command_validate_input" we see at line 147 "

    inputs.areInputsValid = True"

This is failing. The fix I applied is: "args.areInputsValid = True", then the "OK" button is correctly disabled with an input value below 0.

 

Please check and correct. Thanks!

 

Example-script-Add-In-fails-in-validateInputs-handler.png

 

0 Likes
252 Views
1 Reply
Reply (1)
Message 2 of 2

Rushikesh.kadam
Autodesk
Autodesk

@wh6Q9NU Thank you for reporting it. I have created a ticket and assigned it to the concerned team.

 

------------------------------------------------------------------------------------------------------------------------------

If my reply was helpful, please click the "Accept as Solution" button. It helps others get the answer quickly! A "Like" is always welcomed.




Rushikesh Kadam
Senior QA Engineer
Quality Assurance
Autodesk, Inc.