Below It's My solution:
Firstly,set WWR to value as large as possible in wizard mode,and then enter the detailed mode.
Secondly,create four global parameters,named E,S,W and N ,which represent for East,South,West and North WWR respectively.
Thirdly,default the height of all windows using follwing expression.
if (MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 0
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<60 ) then
#PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 300
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<360 )
then #PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 60
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<150 )
then #PA("E")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 150
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<210 )
then #PA("S")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else #PA("W")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
endif
endif
endif
endif
If you want to change WWR,you can only change the global parameters.For example:
In your project,
East WWR is 30 %,
South WWR is 50 %,
West WWR is 20 %,
and North WWR is 40 %.
In eQUEST detailed mode,you can modify global parameter E to 0.3,S to 0.5,W to 0.2 and N to 0.4.
Though above expression can implement the WWR setting,a warning "expression too long" will occur.So I modify the expression to solve it,Which is shown as following:
if (MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 0
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<60 ) then
#PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 300
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<360 )
then #PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 60
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<150 )
then #PA("E")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 150
&& MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<210 )
then #PA("S")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
else #PA("W")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")
endif
endif
endif
endif
How do I set WWR in eQuest detailed mode? I'll take "eQuest hacks" for $400, Alex.
Can't you understand the method above,or didn't I make it clear?
Answering your own question, tutorial-style, is perfectly acceptable and encouraged (on all Q&A websites), and this specific solution seems worthy.
But you should still make the question clear, and you should use the "Answer your own question" checkbox when submitting the question (or answer it later), so that the question and answer are separate. This will also give the opportunity for other people to share alternative answers.
Please rephrase your question and add the answer in the dedicated section.
@yongqingzhao. Sorry, I was making a too-obscure US-specific cultural reference. I will try hard to refrain in the future. These kinds of "hacks" (in the good sense) are exactly the kind of thing UnmetHours needs. Just please, as @JulienMarrec explained, phrase your question as a question and paste the workaround as the answer to that question, so that people can find it more easily. Please also retag the question with 'equest' (just mis-spelled is all) and maybe also 'wwr' so that it gets picked up properly in searches. Thanks for this neat contribution!