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?
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.
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..
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.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
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)
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 🙂
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.
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...
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?
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.