Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
615 Views, 4 Replies

BOM filter with view representation using ilogic

Hello,

 

Can any one help me how to filter the BOM based on view representation using ilogic.

I want to automate this feature with assembly parameter.

Can any one share the sample examples. 

Anonymous
in reply to: Anonymous

@chandra.shekar.g 

Do you have any answer for this?

is it possible to do it iLogic?

Anonymous
in reply to: Anonymous

@Sergio.D.Suárez 

 

Do you have any idea about this?

WCrihfield
in reply to: Anonymous

I also have looked into this issue.  I don't see any access to the "Filter Settings" of the PartsList.  You can access the MemberSelection, PartsListStyle, and many other aspects of it, but not the one your looking for.

Try searching the Inventor Ideas forum.  If you don't find anything about it there, you can post the idea of including this access.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

JelteDeJong
in reply to: WCrihfield

i could not find a way to set the default filters but you could create your own filter. The following i logic code will filter all rows that have the letter "e" in the 3e cell. (that is ofcource not usefull but maby a start point for your own filter)

Dim doc As DrawingDocument = ThisApplication.ActiveDocument
Dim sheet As Sheet = doc.ActiveSheet
For Each row As PartsListRow In sheet.PartsLists.Item(1).PartsListRows
    Dim cell As PartsListCell = row.Item(3)
    If (cell.Value.Contains("e")) Then
        row.Visible = False
    Else
        row.Visible = True
    End If
Next

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com