To use RESTful services send a file in inventor plugin

To use RESTful services send a file in inventor plugin

Anonymous
Not applicable
761 Views
3 Replies
Message 1 of 4

To use RESTful services send a file in inventor plugin

Anonymous
Not applicable

Hello, Currently I have been working on creating an addin in the inventor ribbon tab, when we click the addin then it should export the STEP file of current part or assembly to its destination(to server/database) using RESTful services.

 

I have already created the Addin and coded the part to automate the conversion of part or assembly into STEP format, now I need to send it using REST services, I would appreciate any help, thank you!!

0 Likes
Accepted solutions (1)
762 Views
3 Replies
Replies (3)
Message 2 of 4

tolgay.hickiran
Advisor
Advisor

You should use the http library like you'd normally do on .NET. I assume you either are using C# or VB, there isn't much difference in an inventor addin, assume it like a windows app and derive your RESTful api from there


Some worthwhile ideas
Copy Design should rename ilogic Rules too!
Why Nastran In-CAD doesn't have an SDK?IMPLEMENTED!

Tolgay Hickiran
Founding Partner
SignatureSignature

website
emailskypelinkedinyoutubeemail

0 Likes
Message 3 of 4

Anonymous
Not applicable

I was confused because of result I got, which indicated the use of APP inventor and Vault programing, thank you for your suggestion, if you have any relevant material for an example then it would be an great help. Thank you.

0 Likes
Message 4 of 4

tolgay.hickiran
Advisor
Advisor
Accepted solution

Unfortunately i don't have any restful examples with inventor addin to share. We do have however applications that are working with remote sql servers and the likes, so from our experience, i can definitely say that you can achieve what you want just by writing normal code as you do.

 

Just look for normal RestFUL examples and apply them to your code


Some worthwhile ideas
Copy Design should rename ilogic Rules too!
Why Nastran In-CAD doesn't have an SDK?IMPLEMENTED!

Tolgay Hickiran
Founding Partner
SignatureSignature

website
emailskypelinkedinyoutubeemail