Hey folks,
I ran into a coding problem that I'm not sure what it is that I'm doing wrong. I've ran it through the infix tool and I still get the same results. This is code for the modeldef.xml. Everything works except the E: var is being ignored for some reason. I cut out var b, c, and d one at a time but still no joy. I used the same E: var for another part and works fine there, it's just this one that's giving me the problem. Any idea?
<PartInfo>
<Name>xxxxx</Name>
<AnimLength>100</AnimLength>
<Visibility>
<Parameter>
<Code>
(E:var a,enum) 1 ==
(A:var b,bool) &&
(A:var c:0, percent) 1 >
(A:var d, volts) 22 > &&
if{ 1 } els{ 0 }
</Code>
</Parameter>
</Visibility>
</PartInfo>>
I ran into a coding problem that I'm not sure what it is that I'm doing wrong. I've ran it through the infix tool and I still get the same results. This is code for the modeldef.xml. Everything works except the E: var is being ignored for some reason. I cut out var b, c, and d one at a time but still no joy. I used the same E: var for another part and works fine there, it's just this one that's giving me the problem. Any idea?
<PartInfo>
<Name>xxxxx</Name>
<AnimLength>100</AnimLength>
<Visibility>
<Parameter>
<Code>
(E:var a,enum) 1 ==
(A:var b,bool) &&
(A:var c:0, percent) 1 >
(A:var d, volts) 22 > &&
if{ 1 } els{ 0 }
</Code>
</Parameter>
</Visibility>
</PartInfo>>
