Light MVO in GDL

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2023-09-28
10:11 PM
- last edited on
ā2024-09-26
01:31 PM
by
Doreena Deng
I am trying to use the MVO for lights inside my GDL SCRIPT...
I cannot find the actual GLOB VARIABLE that would reflect the MVO selection...
I see others that use the global variable GLOB_MVO_STAIR.... for example....
But don't se any for LIGHTS or ELEC...
I tried to REVERSE ENGINEER an existing light, but GS GDL scripts go 9 ways to Sunday to do the simplest things! So I could not follow...
Any assistance would be appreciated!!!
Thanks
Visual Frontiers
AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion
DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2023-09-29 12:04 AM
I guess you mean these three bad boys?
This is how it's done:
lamp_symb = 0
rrr = LIBRARYGLOBAL("LibraryGlobals13", "iLSymbol", lamp_symb)
if rrr and lamp_symb then
! your code here
endif
Request the info from the "LibraryGlobals13" GDL (which constitutes the MVO panel).
The answer you can get is either 1, 2, or 3.
I think you'll figure it out from here on š
POSIWID ā The Purpose Of a System Is What It Does /// Ā«Furthermore, I consider that Carth... yearly releases must be destroyedĀ»
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2023-12-20 02:45 PM
This should be useful:
https://gdl.graphisoft.com/tips-and-tricks/model-view-options-in-general