Getting the Checkbox value

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Getting the Checkbox value

Postby DerRoy » Wed Jan 18, 2017 7:09 pm

Hi,

is there a way, the get a checkbox value (true or false or 0 or 1) and use it in an if line?
I created a checkbox with the No. 20001 and would like to use it as an indicator if I use a length sensor or if I use just cables on a PCB.
I created a field (20002) which has the value of the height of the sensor. My macro already works to check this value and use it for the new height.
But I would like to use the checkbox to indicate what shall be used, means the if line should check if the box is true = height of length sensor (32.57mm) or false than the height shall be 0

BR
Roy
DerRoy
 
Posts: 5
Joined: Wed Jan 18, 2017 7:04 pm

Return to Macros

Who is online

Users browsing this forum: Bing [Bot] and 22 guests

cron