Dogbone Execution error

Dogbone Execution error

akrumsee
Explorer Explorer
4,621 Views
20 Replies
Message 1 of 21

Dogbone Execution error

akrumsee
Explorer
Explorer

I'm trying to use the Casey Rogers Dogbone Add-in/ but I'm running into an execution error. When I select a corner in my project and click on the dogbone icon, it consistently pops up the same error message. The error is in line 140 of utils.py. Specifically it says "line 140, in notify notify_method(args). Lower in the error popup (after the listing of the stacked calls) it reads: "RuntimeError:2 : InternalValidationError : input -> evaluateString(xlVal->valueAsIString(), dTemp, bValueStrChanged).  

 

I've tried this in both my complex object and on an inside corner of a simple box with a box cut through it. 

 

Here's a capture of the full trace.

 

Capture.PNG

 

 

0 Likes
4,622 Views
20 Replies
Replies (20)
Message 2 of 21

Anonymous
Not applicable
Same issue here.
0 Likes
Message 3 of 21

prainsberry
Autodesk
Autodesk

I believe he has an error in his code.  There is a fix called out on the github issues page that hasn't been incorporated.  

 

You can also try my fork that i believe is working:

https://github.com/tapnair/Dogbone

 



Patrick Rainsberry
Developer Advocate, Fusion 360
0 Likes
Message 4 of 21

akrumsee
Explorer
Explorer

Sorry to have to report this, but I tried your fork of dogbone yesterday and it threw the identical error.

 

Art

0 Likes
Message 5 of 21

markY6RWE
Enthusiast
Enthusiast

Same thing here.

I thought it might be my Avast running in the background but still errors with Avast off.

 

Instructions for Windows directory are wrong, searched for the spurgear.py program to find the directory where Add-Ins exist on my system.

 

The error pops up when starting the add-in. Initially I was able to make it work on two edges without a pop up error but it was at 90 degree angle.

 

dogbone1.PNG

dogbone.PNG

0 Likes
Message 6 of 21

Anonymous
Not applicable

I'm getting this same error, any new news on a fix?  Its a really powerful tool for our workflow, but I can't get it to work.

 

Thanks,

 

Cameron

0 Likes
Message 7 of 21

prainsberry
Autodesk
Autodesk

Are you sure you are using my version? I don't think he has implemented the changes in his.  Make sure to delete the old version before you download mine.  They will show up as the same name in the list so they might conflict.

 

Just double checked and the version i have on Github currently does not throw the error.

 



Patrick Rainsberry
Developer Advocate, Fusion 360
0 Likes
Message 8 of 21

prainsberry
Autodesk
Autodesk

Hey guys quick update.  I got looking at this again this morning and i think i made a pretty big improvement to the way that the constraints were being solved in the sketch. 

 

It should be WAY more robust now.  SO if you make changes to the underlying geometry the sketches should update nicely.  Make sure to delete the old ones before you update to the new one:

 

https://github.com/tapnair/Dogbone

 



Patrick Rainsberry
Developer Advocate, Fusion 360
0 Likes
Message 9 of 21

markY6RWE
Enthusiast
Enthusiast

Fantastic, New download works great.

 

I had trouble finding the directory to put the folder in to make it show up but I noticed the + sign in the app addin so I just put the folder in my documents folder and added it from the fusion application.

 

 

0 Likes
Message 10 of 21

patrickcavanbrown
Participant
Participant

Holy moly praise jesus himself you made a working dogbone script.  i kiss your feet.  thank you, you jedi master.  

Message 11 of 21

Anonymous
Not applicable

I am having a problem with the dogbone addin opening the user setting window. I have put it in the below location. When I run it I get a window that says only "Hello admin" see picture below. I cannot seem to get it to launch. I do not know what I am doing wrong.

 

C:/Users/Lonnie/AppData/Roaming/Autodesk/ApplicationPlugins/Tapnair/Dogbone-master/Dogbone/Dogbone.py

0 Likes
Message 12 of 21

Anonymous
Not applicable

I am having a problem with the dogbone addin opening the user setting window. I have put it in the below location. When I run it I get a window that says only "Hello admin" see picture below. I cannot seem to get it to launch. I do not know what I am doing wrong.

 

C:/Users/Lonnie/AppData/Roaming/Autodesk/ApplicationPlugins/Tapnair/Dogbone-master/Dogbone/Dogbone.py

0 Likes
Message 13 of 21

prainsberry
Autodesk
Autodesk

Hey not sure what exactly is happening.  But try putting it here:

 

 

C:/Users/Lonnie/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/AddIns/Dogbone/

 

Then the add-in should show up in your script/add-ins dialog automatically.

 

 

That folder you reference is where the installed (from app store) add-ins usually go.

 

 



Patrick Rainsberry
Developer Advocate, Fusion 360
0 Likes
Message 14 of 21

Anonymous
Not applicable

Patrick,

I have added your version to C:/Users/Lonnie/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/AddIns/Dogbone/ , then went through the create and it does show up. 

It runs, but the options screen does not show up , just this windowDogbone.JPGWhen you click on ok no other menue shows up.

0 Likes
Message 15 of 21

prainsberry
Autodesk
Autodesk

Woah, that is really weird.  That is the message you get when you run the sample add-in.  Are seeing the button for the dogbone in your 'Create' menu?  

 

If you are still having trouble maybe we could jump on a web meeting later this afternoon and I'll take a look.  Feel free to send me a private message.



Patrick Rainsberry
Developer Advocate, Fusion 360
Message 16 of 21

Anonymous
Not applicable
Yes the "DogBone" button is in my dropdown for add-ins
0 Likes
Message 17 of 21

prainsberry
Autodesk
Autodesk

When you go into the addins dialog you are basically 'turning on' the addin.  THen it puts a command in your "Create" menu.  So you can use the dogbone feature from there. 

 

Is that maybe the issue?

 

dogbone-1.png

 

 

 

 

dogbone-2.png



Patrick Rainsberry
Developer Advocate, Fusion 360
Message 18 of 21

Anonymous
Not applicable
The Dogbone Addin issue is resolved. Instead of adding the program via the
"create" button, I added via a green plus sign.

Second, I was not aware the feature would show up under "Create Dropdown"

This is a great addin and I am happy that it is working.


0 Likes
Message 19 of 21

Anonymous
Not applicable

My Dogbone Addin issue is resolved.

Instead of adding the program via the “create” button, I added it via a Green plus sign. That corrected the error. The feature is working. 

This is a great addin and I am happy that it is working. I also want to thank you for the response.

Thank you. 

0 Likes
Message 20 of 21

Anonymous
Not applicable

My Dogbone Addin issue is resolved.

Instead of adding the program via the “create” button, I added it via a Green plus sign. That corrected the error. The feature is working. 

This is a great addin and I am happy that it is working. I also want to thank you for the response.

Thank you. 

0 Likes