My opinion on changes to global and parameter scripts.
View based globals should not affect the parameter script
Project based globals should be allowed to affect the parameter script
why?
GLOB_CONTEXT
yes, could change in different views
parameters shouldn't change due to the view
GLOB_VIEW_TYPE
yes, could change in different views
parameters shouldn't change due to the view
GLOB_SCALE
yes, could change in different views
parameters shouldn't change due to the view
GLOB_DRAWING_BGD_PEN
yes, could change in different views
parameters shouldn't change due to the view
GLOB_FRAME_NR
yes, could change in different views
parameters shouldn't change due to the view
GLOB_FIRST_FRAME
yes, could change in different views
parameters shouldn't change due to the view
GLOB_LAST_FRAME
yes, could change in different views
parameters shouldn't change due to the view
GLOB_EYEPOS_X
yes, could change in different views
parameters shouldn't change due to the view
GLOB_EYEPOS_Y
yes, could change in different views
parameters shouldn't change due to the view
GLOB_EYEPOS_Z
yes, could change in different views
parameters shouldn't change due to the view
GLOB_TARGPOS_X
yes, could change in different views
parameters shouldn't change due to the view
GLOB_TARGPOS_Y
yes, could change in different views
parameters shouldn't change due to the view
GLOB_TARGPOS_Z
yes, could change in different views
parameters shouldn't change due to the view
GLOB_NORTH_DIR
project based, not view based.
the library part needs to know what this is...
this is a fixed value that will not change based on views
this needs to affect parameters, i.e. solar panels need to face the sun, sunshades to to adjust due to east/west/north/south orientation
GLOB_PROJECT_LONGITUDE
project based, not view based.
the library part needs to know what this is...
this is a fixed value that will not change based on views
this needs to affect parameters, i.e. solar panels need to face the sun, sunshades to to adjust due to east/west/north/south orientation
GLOB_PROJECT_LATITUDE
project based, not view based.
the library part needs to know what this is...
this is a fixed value that will not change based on views
this needs to affect parameters, i.e. solar panels need to face the sun, sunshades to to adjust due to east/west/north/south orientation
GLOB_PROJECT_ALTITUDE
project based, not view based.
the house may need to know this. higher altitudes may need more insulation, etc...
GLOB_PROJECT_DATE
project based, not view based.
May be i want the library part to change its behavior after a certain date, regulation change on or after a date...
GLOB_WORLD_ORIGO_OFFSET_X
project based, not view based.
GLOB_WORLD_ORIGO_OFFSET_Y
project based, not view based.
GLOB_CUTPLANES_INFO
yes, could change in different views
parameters shouldn't change due to the view
GLOB_STRUCTURE_DISPLAY
yes, could change in different views
parameters shouldn't change due to the view
LAYOUT_CURRENTREVISION_OPEN
yes, could change in different views
parameters shouldn't change due to the view
GLOB_HSTORY_ELEV
not view based
the library part may need to know what this is.
GLOB_HSTORY_HEIGHT
not view based
the library part may need to know what this is.
GLOB_CSTORY_ELEV
yes, could change in different views
parameters shouldn't change due to the view
GLOB_CSTORY_HEIGHT
yes, could change in different views
parameters shouldn't change due to the view
GLOB_CH_STORY_DIST
yes, could change in different views
parameters shouldn't change due to the view
GLOB_SUN_AZIMUTH
yes, could change in different views
parameters shouldn't change due to the view
GLOB_SUN_ALTITUDE
yes, could change in different views
parameters shouldn't change due to the view