BOM filter with view representation using ilogic

BOM filter with view representation using ilogic

Anonymous
Not applicable
682 Views
4 Replies
Message 1 of 5

BOM filter with view representation using ilogic

Anonymous
Not applicable

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. 

683 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

@chandra.shekar.g 

Do you have any answer for this?

is it possible to do it iLogic?

0 Likes
Message 3 of 5

Anonymous
Not applicable

@Sergio.D.Suárez 

 

Do you have any idea about this?

0 Likes
Message 4 of 5

WCrihfield
Mentor
Mentor

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)

0 Likes
Message 5 of 5

JelteDeJong
Mentor
Mentor

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

0 Likes