Modelview Options & Library Global
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-08-07 03:17 PM
2013-08-07
03:17 PM
A lot of my old symbols have options to make them appear in either the Plan, RCP or both.
!!! MODELVIEW OPTIONS ||||||||||||||||||||||||||||||||||||||
MVreq = REQUEST ("Floor_Plan_Option","",modelview)
IF modelview = 0 THEN
TEXT2 0,0,'Floorplan'
ENDIF
IF modelview = 1 THEN
TEXT2 0,0,'RCP'
ENDIF
I noticed that the MVO panel now has the following options:
1 - Realistic (similar to plan)
2 - Electric (newish option)
3 - RCP (as before)
Item 2 doesn't get addressed by REQUEST ("Floor_Plan_Option"," ",show).
How can I get my symbol to understand whether it can draw itself as option 1 (Realistic) or option 2 (Electric Symbol)? I've tried dabbling in the LIBRARYGLOBAL but it's really quite complicated and I'm stumped.
Many thanks!
Cameron Hestler, Architect
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-08-08 01:04 PM
2013-08-08
01:04 PM
Things evolve. Not easy to stay updated,when the changes are not clearly stated.
Now you need to use
MVreq = LIBRARYGLOBAL ("LibraryGlobals13", "iLSymbol", modelview)
modelview will take the value 1, 2 or 3 according to the MV Option.
Now you need to use
MVreq = LIBRARYGLOBAL ("LibraryGlobals13", "iLSymbol", modelview)
modelview will take the value 1, 2 or 3 according to the MV Option.
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-08-09 04:27 AM
2013-08-09
04:27 AM
Thank you Roberto - just what I was looking for!!
I find many of the newer features aren't really well documented (if at all). Which is fine with the program because you can experiment. Experimenting is not so fine with GDL because it's rather less forgiving.
I've also discovered that by inserting the following in the 2D & Parameter script:
CALL "RequestPlanViewGlobals" PARAMETERS ALL RETURNED_PARAMETERS gs_symbtype_2D_m (this has gotta be all one line!!!!!)
With new Parameters:
gs_symbtype_2D_ (text)
gs_symbtype_2D_m (integer)
You can select the MV options from within your symbols and have them respond accordingly.
Nifty stuff, but some documentation would help.
Cheers
I find many of the newer features aren't really well documented (if at all). Which is fine with the program because you can experiment. Experimenting is not so fine with GDL because it's rather less forgiving.
I've also discovered that by inserting the following in the 2D & Parameter script:
CALL "RequestPlanViewGlobals" PARAMETERS ALL RETURNED_PARAMETERS gs_symbtype_2D_m (this has gotta be all one line!!!!!)
With new Parameters:
gs_symbtype_2D_ (text)
gs_symbtype_2D_m (integer)
You can select the MV options from within your symbols and have them respond accordingly.
Nifty stuff, but some documentation would help.
Cheers
Cameron Hestler, Architect
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-11-13 06:18 AM
2015-11-13
06:18 AM
I know this is an old post, but the current GDL guide still lists this (or a close variation) as a valid coding option. However, I can't figure out how to set the MVO to be "Ceiling Plan" apart from Lamp options - which doesn't affect this REQUEST.
http://gdl.graphisoft.com/gdl-docs/gdl-guide/chapter-12-miscellaneous/request-options/
(do a page search for "storyViewpointType" - it's near the bottom)
Any ideas?
(do a page search for "storyViewpointType" - it's near the bottom)
Any ideas?
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb