Need help in providing input to an Inventor assembly from an API

Need help in providing input to an Inventor assembly from an API

ed17d004
Explorer Explorer
333 Views
2 Replies
Message 1 of 3

Need help in providing input to an Inventor assembly from an API

ed17d004
Explorer
Explorer

I have an Autodesk inventor assembly in which there is a coordinate frame, say, o-xyz, attached to a moving rigid body, where "o" is the origin of the frame. Also, there is coordinate frame, say, O-XYZ, attached to a body which is fixed/grounded. I want to write an API code using Microsoft Visual Basic 15 from which I can command the assembly to move in a certain way. I am able to rotate the axes and translate the origin of the moving coordinate frame w.r.t. to the fixed coordinate frame from an API. I have been facing issue in translating the axes of the moving frame along the axes of the fixed frame from the API. If anyone knows how to do it, it would be very helpful.

 

Thanks in advance!

0 Likes
334 Views
2 Replies
Replies (2)
Message 2 of 3

johnsonshiue
Community Manager
Community Manager

Hi! If I understand your request correctly, you may not need to use API in this case. You may simply create a UCS (driven by 3 positional parameters and 3 angular parameters). Then drive the parameters using an iLogic rule.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 3 of 3

ed17d004
Explorer
Explorer

Thanks a lot, @johnsonshiue, for the reply!

 

I am new to the iLogic tool of Inventor. If you can share some resources or a demonstration file related to your suggestion, it would be helpful.

 

Thanks!

 

0 Likes