Ilogic - create drawnings of all parts from an assembly

Ilogic - create drawnings of all parts from an assembly

m.rymut
Advocate Advocate
7,983 Views
21 Replies
Message 1 of 22

Ilogic - create drawnings of all parts from an assembly

m.rymut
Advocate
Advocate

Hi

Is it possible to use ilogic to create dwg drawnings of all the parts in an assembly?

So if i have an assembly with 10 parts, ilogic rule will make 10 files of drawnings, one for each part.

I was wondering if it is possible, i found those 2 topics:

 

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/how-to-create-a-drawing-using-ilogic...

 

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-create-drawing-file-from-part...

 

In those 2 there is ilogic code that makes a drawning of a part but if i have an assembly that has 200 parts, then i would have to open each part and make a drawning, so i wonder if i could just open assembly and run ilogic rule that would make a drawning of each part. 

Something i was trying to achive was getting proper template and scale so that each part can fit inside the drawning, because some parts are small and some are big, so either the big ones are bigger than the drawning or the small ones are just too small.

I dont really need any dimensions or anything, just basic views, like a front view, top view and a right view.

 

 

0 Likes
Accepted solutions (2)
7,984 Views
21 Replies
Replies (21)
Message 21 of 22

m.rymut
Advocate
Advocate

All work was done by @WCrihfield, and i am very thankful for all the help.

I am attaching the code you are asking for.

It creates a new .idw, opens it, places views and saves it where the part file is.

All you have to do is to change the template Path and name.

 

mrymut_0-1652169994432.png

I cant do that for you since i dont know where is your template file located.

Message 22 of 22

alessandro.brandestini
Contributor
Contributor
wow that's genius, thanks alot
0 Likes