Quantcast
Channel: OpenBuildings | AECOsim | Speedikon
Viewing all articles
Browse latest Browse all 34666

Forum Post: If variable does not equal

$
0
0
A few days ago I posted a question about getting AECOsim to produce an error if BB_Discipline=MicroStation. The advice I got worked, but now we are rethinking our process and we have decided that it would probably be best if we went something looking for specific definitions for BB_Discipline. Below you will see the sybtax we put into place %if $(BB_Discipline)=="MicroStation" %error Cannot launch AECOsim as MicroStation. Please launch MicroStation from the Novell Application Launcher. %endif But I think we want to change it to the syntax below. I am not sure how to define NOT EQUAL TO  so I am using , please correct me if I am wrong. %if $(BB_Discipline) Mechanical || %if $(BB_Discipline) Electrical || %if $(BB_Discipline) Structural || %if $(BB_Discipline) Architectural %error Please launch AECOsim in either Machanical, Structural, Architectural or Electircal interface. %endif I get an invalid expression message when I launch AECOsim.

Viewing all articles
Browse latest Browse all 34666

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>