2018-03-09 11:39 AM
!(1)
n = REQUEST ("Name_of_Profile", profil, profil_name)
!(2)
dim bbox[4]
n = REQUEST ("Profile_default_boundingbox", profil, bbox[1], bbox[2], bbox[3], bbox[4])
!(3)
w= bbox[3]-bbox[1]
h= bbox[4]-bbox[2]
!(4)
parameters width=w
parameters height=h
!--- preview
t=''
t= t+str(w, 4, 2)+'\n'
t= t+str(h, 4, 2)+'\n'
TEXT2 0,
0,
t
(1) Reads name of profile The use of most requests in parameter scripts (or master scripts run as parameter script) can result in unstable returned values, therefore should be avoided.
2018-06-19 03:41 PM