Can I Put iProperties in Parts List Heading?

Can I Put iProperties in Parts List Heading?

Anonymous
Not applicable
580 Views
3 Replies
Message 1 of 4

Can I Put iProperties in Parts List Heading?

Anonymous
Not applicable

Check out the attached screenshot. I'd like to use several iProperties in the Heading for my Parts List. I tried calling them up as per standard protocol, but it doesn't seem to be working. My instincts tell me that it's not possible: you have to put in a "dumb" Heading. Is there a way to call up the iProperties (and perhaps even other properties or parameters) in my heading?

 

Thanks!

0 Likes
Accepted solutions (1)
581 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

You can make iLogic rule that is triggered to run before save, so it would be fully automatic and user friendly.

Rule should just read the values from iProperties and override the part list title. 

0 Likes
Message 3 of 4

Anonymous
Not applicable
I'm unaware of any functions in iLogic that specifically write to the Parts List Heading. Do you know what they are?
0 Likes
Message 4 of 4

Anonymous
Not applicable
Accepted solution

Here is how you can access partslist title. 

 

SyntaxEditor Code Snippet

Dim oApp As Inventor.Application
oApp = ThisApplication
 
Dim oDrawingDoc As DrawingDocument
oDrawingDoc = oApp.ActiveDocument

Dim oSheet As Sheet
oSheet = oDrawingDoc.ActiveSheet

Dim oPartslist As PartsList
oPartslist = oSheet.PartsLists.Item(1)
oPartslist.Title = "test"