Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ilogic set a Multivalue to specific value

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
429 Views, 4 Replies

Ilogic set a Multivalue to specific value

I have written the following code:

 

    If SCsupportRight = "No" Then
        MessageBox.Show(" I will add them for you.")
End If

 

The parameter SCsupportRight is a multivalue parameter which contains:

- "Yes"

- "No" 

 

After the messagebox i want iLogic to set the parameter "SCsupportRight" to the value "yes" automatically.

 

I cant find the code which sets a multivalue parameter to a specific value.

Any help?

 

 

Tags (2)
4 REPLIES 4
Message 2 of 5
kgilham
in reply to: Anonymous

Try the following

 

If SCsupportRight = "No" Then
MessageBox.Show("I will add them for you")
Parameter("SCsupportRight") = "Yes"

End If  

 Let me know if this works for you.



Kyle Gilham
Customer Advocacy Manager
Message 3 of 5
Anonymous
in reply to: kgilham

kgilham wrote:

Try the following

 

If SCsupportRight = "No" Then
MessageBox.Show("I will add them for you")
Parameter("SCsupportRight") = "Yes"

End If  

 Let me know if this works for you.


Nope. The value isn't changing.

Message 4 of 5
kgilham
in reply to: Anonymous

Interesting, that was working on my end.  Would you mind attaching the part you are working on?  It would help me make sure I am going through the same workflow that you are.

 

Thanks,



Kyle Gilham
Customer Advocacy Manager
Message 5 of 5
Anonymous
in reply to: Anonymous

I was working on another part of the iLogic file and for some unknown reason now your solution seems to work :).

Thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report