How can i use iLogic to access the 'ITEM' property from Parts List properties (as shown on screenshot)? It is not part of the BOM or the custom iProperties.

How can i use iLogic to access the 'ITEM' property from Parts List properties (as shown on screenshot)? It is not part of the BOM or the custom iProperties.

shizahkhalid
Contributor Contributor
999 Views
5 Replies
Message 1 of 6

How can i use iLogic to access the 'ITEM' property from Parts List properties (as shown on screenshot)? It is not part of the BOM or the custom iProperties.

shizahkhalid
Contributor
Contributor

shizak_1977_0-1710770062703.png

I don't know if this is a custom property (it doesn't show up in the custom iProperties tab), or if it is a built in property, but it shows up in the Parts List drop down in the Column Chooser for Parts Lists in the Style Editor, and has the following values in the parts list: 

 

shizak_1977_0-1710776389569.png

Any help would be greatly appreciated!

 

0 Likes
1,000 Views
5 Replies
Replies (5)
Message 3 of 6

FINET_Laurent
Advisor
Advisor

Hello @shizahkhalid,

 

Here an example on how to access this number from the parts list itself :

Dim pl As Inventor.PartsList = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingPartsListFilter, "Pick a part list:")

For Each r As Inventor.PartsListRow In pl.PartsListRows
	MsgBox(r.Item("ITEM").Value)
	
Next	

 

Kind regards,

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

Message 4 of 6

shizahkhalid
Contributor
Contributor

Thank you, this works to extract the values of ITEM from the assembly drawing parts list. I want these item values to be the labels of part drawings which i generate on another sheet. How can I refer to the parts list of the sheet with the assembly drawing?

Message 5 of 6

srabournP4VCD
Contributor
Contributor

Did you happen to make this work?

0 Likes
Message 6 of 6

Stakin
Collaborator
Collaborator

Hi, @FINET_Laurent  Is there a way to access the other property(Base QTY,Base Unit,File Name,Item QTY,Mass,Material,Model State,Unit QTY,Vollume)?


How can I access these attributes even though I haven't referenced them in the parts list?


thanks

0 Likes