Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

create ucs with ilogic out of excell parameters

2 REPLIES 2
Reply
Message 1 of 3
kim.vervliet
640 Views, 2 Replies

create ucs with ilogic out of excell parameters

Hi,

 

I am working on a workflow dynamo to inventor. Idea is to bring in the data by excel for creating an up to date connection.

Currently i want to generate several UCS's by ilogic according to imported parameters ( i brought in the final position and rotations  as parameters in inventor).

I am not that skilled in i-logic and VB, so if anybody could set me in the correct direction, it would be a great help.

 

thanks,

Kim

 

 

2 REPLIES 2
Message 2 of 3
johnsonshiue
in reply to: kim.vervliet

Hi! You might need to use VBA code in iLogic rule. Inventor API/Programming help has a sample code creating a 3-point UCS. You can copy and paste VBA code to an iLogic rule. Please take a look.

 

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2018/ENU/Inventor-API/files/Us...

 

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 3 of 3
kim.vervliet
in reply to: johnsonshiue

hi,

 

thanks, for the reply

 

I ran the script and i mentioned that he is creating this on a "new" part Level. What i would like to have is several ucs's in one assembly or part, according to excell data. I was able to place some points with help of the following post, but then i only have points and still need to redefine the ucs's according to these points.

Would it be possible to create ucs by ilogic, on a method like ' for this parameter - go to this column '. And this up to the point that excel is running out of data.

 

https://forums.autodesk.com/t5/inventor-forum/3d-point-in-space-linked-to-excel/m-p/2971890?_ga=2.67...

 

kr

kim

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

Post to forums  

Autodesk Design & Make Report