Inventor General Discussion

Inventor General Discussion

Reply
Contributor
13 Posts
2 Kudos
Registered: ‎09-13-2012
Post 1 of 8
Accepted Solution

Open all parts in assembly at once

458 Views, 7 Replies
10-03-2012 06:39 AM

Hello all,

 

is it possible to open all parts in an assembly at once?

 

I tried to select them all in the modelbrowser, and then open, but ain't working. I tried also with the design assistent, but also not working.

 

I will use this function to place all (open) parts from an assembly in one drawing. Then i am sure that i don't forget any parts.

 

Or is there maybe another solution for my problem?

 

Thanks in advance,

Paul van Deursen

Hi Paul-tedecon,

 

As others have mentioned, the practice of placing all of your model drawings into a single drawing file is often poor practice. But here is a simple ilogic rule to open all of the referenced files from the assembly.

 

'Define the open document
Dim oDoc As Document
oDoc = ThisDoc.Document
'Look at all of the files referenced in the open document
Dim docFile As Document
For Each docFile In oDoc.AllReferencedDocuments
'open the indexed file
'true opens the file normaly
'false opens the file programatically without generating the graphics
ThisApplication.Documents.Open(docFile.FullFileName, True)
Next

 I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

*Expert Elite*
3,382 Posts
1,278 Kudos
Registered: ‎12-07-2011
Post 2 of 8

Re: Open all parts in assembly at once

10-03-2012 07:21 AM in reply to: Paul-tedecon

Paul,

How many parts are we talking?

What is your final drawing wanting to look like?

 

This might be a candidate for an ilogic rule.

Best Regards,
Scott McFadden
Inventor Professional 2014
(Colossians 3:23-25)

Contributor
13 Posts
2 Kudos
Registered: ‎09-13-2012
Post 3 of 8

Re: Open all parts in assembly at once

10-03-2012 08:28 AM in reply to: Cadmanto

 

Thanks for your reply.

 

 

 

We’re talking from 10 to around 90 parts and all assemblies are different (totally different).

 

 

 

I want a front and maybe sideview from each part on one drawing. For this customer we need to export all parts to autocad, place them on one sheet and dimension all parts following their dimension style.

 

 

 

A tool to automatically open all parts, will already safe a lot of time, then I only have to place them in a drawing.

 

 

 

Hope this gives an answer on your question?

 

 

 

This is actually the first time I hear something about ilogic rules. What will it do?

 

 

 

Thanks!

 

*Expert Elite*
28,641 Posts
2,129 Kudos
Registered: ‎04-20-2006
Post 4 of 8

Re: Open all parts in assembly at once

10-03-2012 08:56 AM in reply to: Paul-tedecon

Paul-tedecon wrote:

 

I will use this function to place all (open) parts from an assembly in one drawing. Then i am sure that i don't forget any


Just to clarify - this is all parts on one drawing sheet in one dwg file?

Not multiple sheets (one per part) in one dwg file.
Not multiple dwg files (one per part).

Please mark this response as "Accept as Solution" if it answers your question.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2015 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2015-SP1 64-bit
http://www.autodesk.com/edcommunity
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
Contributor
13 Posts
2 Kudos
Registered: ‎09-13-2012
Post 5 of 8

Re: Open all parts in assembly at once

10-03-2012 11:43 PM in reply to: JDMather

Indeed, all parts of one assembly on one sheet exported to dwg.

 

Unless there is not enough space on a sheet, but then i will make another dwg with the rest of the parts on it.

 

Thanks!

Distinguished Contributor
2,163 Posts
0 Kudos
Registered: ‎10-10-2005
Post 6 of 8

Re: Open all parts in assembly at once

10-04-2012 09:31 AM in reply to: Paul-tedecon

You can open multiple parts from explorer but not the assembly browser.

 

IMO: That many parts detailed on one sheet is a bad practice.

 

 

*Expert Elite*
879 Posts
50 Kudos
Registered: ‎02-16-2006
Post 7 of 8

Re: Open all parts in assembly at once

10-04-2012 11:13 AM in reply to: Paul-tedecon

You can export the bom to excel and use as a checklist.

You could also pack and go the assembly to another folder to gather all parts in one place.

You could add a custom iproperty to all the parts and show in the BOM editor, when the part is included in the drawing fill in the iproperty with yes,done, drawn...etc. as an alternative checklist.

 

One thing I wouldn't do is open 90 individual parts at once, my machine would choke after about 30.

Yours may be a super duper machine.

I normally only open about 10-20 if it's necessary to do common action on them all.

 

I know the customer is always right even when they are wrong, we have them asking for all parts on one drawing too, but I agree with the other lads, too many parts on one drawing is asking for trouble.

 

A final option would be view reps in the assembly to isolate the parts in the drawing, but this is time consuming.

*Expert Elite*
3,002 Posts
1,705 Kudos
Registered: ‎03-08-2006
Post 8 of 8

Re: Open all parts in assembly at once

10-04-2012 11:49 AM in reply to: Paul-tedecon

Hi Paul-tedecon,

 

As others have mentioned, the practice of placing all of your model drawings into a single drawing file is often poor practice. But here is a simple ilogic rule to open all of the referenced files from the assembly.

 

'Define the open document
Dim oDoc As Document
oDoc = ThisDoc.Document
'Look at all of the files referenced in the open document
Dim docFile As Document
For Each docFile In oDoc.AllReferencedDocuments                
'open the indexed file
'true opens the file normaly
'false opens the file programatically without generating the graphics
ThisApplication.Documents.Open(docFile.FullFileName, True) 
Next

 I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!