iLogic : check only one checkbox

iLogic : check only one checkbox

TONELLAL
Collaborator Collaborator
4,015 Views
6 Replies
Message 1 of 7

iLogic : check only one checkbox

TONELLAL
Collaborator
Collaborator

Hello,

I need to create a form with several options, corresponding to parts to load/unload. Only 1 checkbox can be activated at a time, so when I check a check box, the others have to be unchecked. In VB this should be radio buttons, is it possible to have the same issue in iLogic with checkboxes ?

0 Likes
Accepted solutions (1)
4,016 Views
6 Replies
Replies (6)
Message 2 of 7

Vladimir.Ananyev
Alumni
Alumni

iLogic bases on VB.NET.  So you may call native VB.NET forms from iLogic rules.

This allows you overcome any limitations.

 

Hope the following post of my colleague Xiaodong Liang could be useful:

“Use VB.NET dialog in iLogic”

http://adndevblog.typepad.com/manufacturing/2013/06/use-vbnet-dialog-in-ilogic.html

cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 7

Anonymous
Not applicable
Accepted solution

You do know that in the form you can chose radio button instead of check box?   Just have to use a multi list in the parameters. 

 

Radio Button.jpg

 

I hope this helps.

Message 4 of 7

TONELLAL
Collaborator
Collaborator

Thanks for the VB link, this allows more posszibilities than iLogic but is not usable by an Inventor user. I think I'll use it for advanced dialog boxes, but it will be totally in VB instead of iLogic.

For the Radio button option, effectively I missed it, it is exactly what I need for my application.

Thanks for your answers !

0 Likes
Message 5 of 7

amarcoc
Advocate
Advocate

Hi.

 

How could you get in that form options?

 

My iLogic Forms are simpler than that. 

 

Could you explain step by step how to add the radio button option on a ilogic form?

 

Thanks!

0 Likes
Message 6 of 7

TONELLAL
Collaborator
Collaborator
Hi Marco,
I've created a screencast video but impossible to publish it... Try : https://autode.sk/2rcWTwq
Method :
-create a multivalue parameter "Options" in Fx table
-insert the parameter on a form
-in its properties, select "radio group" (see above)
-create a rule to test the value :
Select case Options
Case "Value 1"
...
Case "Value 2"
...
End select

Hope that's helps !
0 Likes
Message 7 of 7

TONELLAL
Collaborator
Collaborator
0 Likes