Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic : check only one checkbox

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
TONELLAL
3572 Views, 6 Replies

iLogic : check only one checkbox

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 ?

6 REPLIES 6
Message 2 of 7
Vladimir.Ananyev
in reply to: TONELLAL

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

Message 3 of 7
jddickson
in reply to: TONELLAL

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
in reply to: jddickson

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 !

Message 5 of 7
amarcoc
in reply to: jddickson

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!

Message 6 of 7
TONELLAL
in reply to: amarcoc

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 !
Message 7 of 7
TONELLAL
in reply to: TONELLAL

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

Post to forums  

Autodesk Design & Make Report