Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Storey Viewpoint Type : Floor Plan Option

__archiben
Booster
are there any GDL gurus out there who have had any success with AC11's new viewpoint type parameter?
n  = request("Floor_Plan_Option", "", fpo2D)
if fpo2D = 1 then
	parameters opt_code=0 : opt_code=0
	parameters opt_ceil_s=1 : opt_ceil_s=1
	parameters opt_bf_ceiling=1 : opt_bf_ceiling=1
else
	parameters opt_code=1 : opt_code=1
	parameters opt_ceil_s=0 : opt_ceil_s=0
	parameters opt_bf_ceiling=0 : opt_bf_ceiling=0
endif
i've kinda got it working on a modified zone object i'm working on, but it doesn't trigger automatically.

the intention is for the zone stamp to pick up the plan type and display floor finish information in floor plan mode, and ceiling height/finish information when in RCP mode . . . except when i switch the storey viewpoint type in my model view options the stamp doesn't change. if i open up the zone settings and turn off/on again some settings it does change.

i'm stumped. is there anything specific that i need to write into my master/parameter script? i tried a 'if GLOB_MODPAR_NAME = fpo2D...' command but that just generated a "System Error 01"

~/archiben
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
4 REPLIES 4
__archiben
Booster
ok - i had a typo, but now i have stranger behaviour...

the zone stamp in the storey plan window STILL doesn't update, but the zone stamp preview in the zone settings dialogue DOES.




~/archiben
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
Frank Beister
Moderator
I haven't tried it yet, but in which context do you make the selection? Are you using it in parameter script? Globals do not work all in this context.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
__archiben
Booster
F. wrote:
I haven't tried it yet, but in which context do you make the selection? Are you using it in parameter script? Globals do not work all in this context.
you da man!

the 'n = request(...' was in the master script, but the 'if fpo2D = ...' statement was indeed made in the parameter script.

it's now in the 2D script and all fixed up! thanks frank!

~/ben
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
Frank Beister
Moderator
Not for this. This will be one more entry into the selfgdl-database.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm