Using an editing logic function to drive multiple UI values

Lee_Hesketh
Lee_Hesketh Member, Developers Posts: 148 ✭✭✭
Hello all. Can one editing logic function be used to updated multiple changed values int the UI panel? If there are two values, let's say for simplicity's sake two length values, that are then changed in the code. Will both values be able to be updated or do ELF's only change one value?
There are 10 types of people in the world. Those who know binary, those who don't and those who didn't expect base 3!

Comments

  • ilya_baran
    ilya_baran Onshape Employees, Developers, HDM Posts: 1,278 image
    The editing logic function can change multiple parameters.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,126 image
    Please take a look at the Spur Gear example - that takes 3 values and modifies 2 of them based on the user editing the third. 
    Senior Director, Technical Services, EMEA
  • Lee_Hesketh
    Lee_Hesketh Member, Developers Posts: 148 ✭✭✭
    So I had a look and I got a little confused. How could I set a boolean that is defaulted to false to true and have it ticked in the UI?
    There are 10 types of people in the world. Those who know binary, those who don't and those who didn't expect base 3!