Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parts List

11 REPLIES 11
Reply
Message 1 of 12
swhite
396 Views, 11 Replies

Parts List

Hopefully someone can answer this. As per attached pic we put the part number in our parts list, as often we have several on one sheet (12536R02A, 12536R02B, 12536R02C, etc). What I would like is if there is a way to automatically get the assembly name and put it in the header of the parts list when you insert the parts list?

Steven White
Lee C. Moore, Inc.
www.lcm-wci.com
Inventor 2011
Intel Dual Xeon E31225 @ 3.1 GHz CPU
16 GB RAM
NVIDIA Quadro 600 GPU
Windows 7 - 64 Bit
11 REPLIES 11
Message 2 of 12
swhite
in reply to: swhite

Forgot the sample 🙂 I would have no objection to running an external rule, but I can't get it to work so maybe someone has done something similar and knows how.

Parts list.PNG

Steven White
Lee C. Moore, Inc.
www.lcm-wci.com
Inventor 2011
Intel Dual Xeon E31225 @ 3.1 GHz CPU
16 GB RAM
NVIDIA Quadro 600 GPU
Windows 7 - 64 Bit
Message 3 of 12
jletcher
in reply to: swhite

Not automatic but yes you can.

 

Double click on parts list then click table layout and insert name.

IP.JPG

 

Name.JPG

 

Here.JPG

 

 

Message 4 of 12
jletcher
in reply to: jletcher

Opps missed you want it auto.. sorry

 

Let me see if they have code for it...

Message 5 of 12
jletcher
in reply to: jletcher

Well there is API code for it so yI should be able to make it work for ilogic. Iif no one jumps in and solves I will see but working on something for someone right now try to get you something if someone don't..

Message 6 of 12
Cadmanto
in reply to: jletcher

James,

I am not to fluent in API or iLogic but I am wondering if it is possible to type in code that points to the iproperty right in the title window while editing the parts list as you show inyour image.  Never done this so I have no idea if this would even work. 

 

check.PNGIf this solved your issue please mark this posting "Accept as Solution".

Or if you like something that was said and it was helpful, Kudoskudos.PNG are appreciated. Thanks!!!! Smiley Very Happy

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


Message 7 of 12
jletcher
in reply to: swhite

OK here you go it was easy just make sure to set trigger for it

get the path and name of the drawing file
path_and_name = ThisDoc.PathAndFileName(False) ' without extension


'define oDoc
oDoc = ThisDoc.Document


'specify the drawing sheet
oSheet = oDoc.Sheets("Sheet:1") ' sheet by name
'oSheet = oDoc.Sheets(1) ' first sheet


 ' say there is a Partslist on the sheet.
oPartslist = oSheet.PartsLists(1)
oPartslist.Title() = ThisDoc.FileName(False)

 

 

Message 8 of 12
swhite
in reply to: jletcher

Yah, currently doing it manually, it is no big thing, but just would be nice to be able to run a rule and fill them out. The problem is that at times I can have several parts list in one drawing and even more than one on a single sheet. The included sample has 3 sheets with 2 parts list on each page, which is giving me fits 🙂

Steven White
Lee C. Moore, Inc.
www.lcm-wci.com
Inventor 2011
Intel Dual Xeon E31225 @ 3.1 GHz CPU
16 GB RAM
NVIDIA Quadro 600 GPU
Windows 7 - 64 Bit
Message 9 of 12
jletcher
in reply to: jletcher

LOL dam brain not working

 

Now I just seen you have multi part list on one sheet that may not be so easy to be done . But let me see.

Message 10 of 12
jletcher
in reply to: jletcher

Ok I have to find a few things to make it work with more than one part list in IDW now you have to give me some time..

 

But I think I can depends on API.

 

Be back as soon as I can...

Message 11 of 12
swhite
in reply to: jletcher

It's no rush, been filling them out manually for 8 years, even months more wouldn't matter. Thanks all for your help. Need to take me a coding class for inventor. Any good online ones?

Steven White
Lee C. Moore, Inc.
www.lcm-wci.com
Inventor 2011
Intel Dual Xeon E31225 @ 3.1 GHz CPU
16 GB RAM
NVIDIA Quadro 600 GPU
Windows 7 - 64 Bit
Message 12 of 12
jletcher
in reply to: swhite

You can try this guy I talked with him and it seems like a good basics I did not do it because I need advance but for you it would work.

 

http://www.trainingtutorial.com/iLogic_Made_Simple2013.htm

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

Post to forums  

Autodesk Design & Make Report