iAssembly and iLogic

iAssembly and iLogic

Anonymous
Not applicable
257 Views
2 Replies
Message 1 of 3

iAssembly and iLogic

Anonymous
Not applicable

Hello!

 

I need some information for solve the problem.

I created an iAssembly where there are some rows.

I created some exluded parts, patterns.

I wolud like to refer to exluded part or pattern in iLogic rule. How could i solve this?

I don't know the form.

 

kép1.JPG

 

kép2.JPG

0 Likes
258 Views
2 Replies
Replies (2)
Message 2 of 3

mwighton
Collaborator
Collaborator
What are n, nN, n_2, nN_2?
Would it be possible for you to upload the files?
Did this post help out? Hope it did.
If so please use the 'Accept as Solution' or 'Kudos' Button below.
God Bless

Mwighton
0 Likes
Message 3 of 3

Anonymous
Not applicable

It is my rule:

 

m = New Integer()
n = New Integer()
nN = New Integer()
n_2 = New Integer()
nN_2 = New Integer()
n_3 = New Integer()
nN_3 = New Integer()

If Component.IsActive("Component Pattern 4:1") = True
n = szelepszam
nN = szelepszamN

Else If Component.IsActive("Component Pattern 5:1") = True
n_2 = szelepszam_2
nN_2 = szelepszamN_2

Else If Component.IsActive("Component Pattern 6:1") = True
n_3 = szelepszam_3
nN_3 = szelepszamN_3

End If

m = 2*n + nN + 2*n_2 + nN_2 + 2*n_3 + nN_3

If m <= 24
Component.Visible("Modul-MS1:1") = True
Component.Visible("Modul-MS3:1") = False

ElseIf m > 24
Component.Visible("Modul-MS1:1") = False
Component.Visible("Modul-MS3:1") = True

End If

InventorVb.DocumentUpdate()
iLogicVb.UpdateWhenDone = True

 

 

I would like to read the Component Pattern 4, 5, 6 Exclude/Include state.

I know how I read the Visible, or Suppress state, but can't read exclude state.

0 Likes