...
TEMPLATE$("Length between PP: ~LPP [m]", 2, LPP)
Steps taken bij Quaestor:
Remove ~LPP:
Length between PP:[m]
Insert value "33.37 " from position ~:
Length between PP: 33.37 [m]...
Result:
"Length between PP: 33.37 [m]"
...
Assume an object GEOM to contain the following data:
0
3 "RADIUS" "THICKNESS" "CHORD"
"1" 0.250 54.0 495.4
"2" 0.450 40.2 520.4
"3" 0.600 21.0 543.7
"4" 0.800 17.0 390.4
"5" 1.000 Â 9.0 Â 14.5
relation:
TEMPLATE$("Thickness distribution:
Radius Thickness
~GEOM(RADIUS,THICKNESS)", 0, @GEOM)
returns:
"Thickness distribution:
Radius Thickness
0.25 54.00
0.45 40.20
0.60 21.00
0.80 17.00
1.00 9.00"
Values of RADIUS and THICKNESS are formatted according to the properties in the knowledge base, so fixed format with two decimals placed right in a cell of 9 spaces.
relation:
TEMPLATE$(
"Blade root radius : ~GEOM(RADIUS\1) r/R
BlBlade root thisckness : ~GEOM(THICKNESS\1) mm
Tip thickness : ~GEOM(THICKNESS\5) mm", 0, @GEOM)
returns:
relation:
returns:
Values of RADIUS and THICKNESS are formatted according to the properties in the knowledge base, so fixed format with two decimals placed right in a cell of 9 spaces.
relation:
returns:"Blade root radius : 0.25 r/R
BlBlade root thisckness : 54.00 mm
Tip thickness : 9.00 mm"
...
"Length between PP: 33.25 [m]"
...
...
Assume LPP=33.37 with the cell width in de knowledge base defined as 6
...
TEMPLATE$("The model will be fitted with#NPROP=2[1]# two propellers and[1]#NPROP=1[1]# one propeller and[1] all appendages", 0, NPROP)
...
TEMPLATE$("The model will be fitted with#NPROP>0[1]##NPROP=2[2]# two propellers and[2]#NPROP=1[2]# one propeller and[2][1] all appendages", 0, NPROP)
...
Quick links: Function overview | Attribute overview | Constants overview | Dimensions overview