September 18, 200223 yr Hi allI need the XML code for a switch that allows to show a window, initially hidden, when click on it, if the battery is connected.I try with the following code, but it don't work: if{ (A:Electrical master battery,bool) if{ 844 (>K:PANEL_ID_TOGGLE) }}Of course, 844 is the ID of the hidden window to show.What's wrong?Thanks.Rafael
September 18, 200223 yr Hi Rafael,Try this one:(A:Electrical master battery,bool) if{ 844 (>K:PANEL_ID_TOGGLE) }Best RegardsMatthias
September 18, 200223 yr Yep, looks good, if you want that the window is definetely opened and not toggled (assume it is open already) try PANEL_ID_OPEN instead of PANEL_ID_TOGGLE.Arne Bartels
Create an account or sign in to comment