Changing object display per MVO?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-06-01 12:58 AM
2019-06-01
12:58 AM
Is there a way to add an "If... GoSub" routine to the 2d script, so that when the MVO is RCP, the 2D view will change?
I've been trying to figure it out from the GDL reference guide, but I can't determine where it addresses it...
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-06-01 11:24 PM
2019-06-01
11:24 PM
The reflected ceiling option was added to the MVOs before intodution of the LIBRARYGLOBAL command.
I think the old syntax should work still. I used it in tis way:
The new LIBRARYGLOBAL syntax is the following (you find it in the macro GetPlanViewGlobals:
Aand you need the parameter "gs_symbtype_2D_m" as INT-type and a VALUES{2} in Parameter-Script.
I think the old syntax should work still. I used it in tis way:
x=REQUEST ("floor_plan_option", "", storyViewpointType) IF storyViewpointType THEN ... ENDIF0 stays for floor plan, 1 statys for reflected celing plan.
The new LIBRARYGLOBAL syntax is the following (you find it in the macro GetPlanViewGlobals:
!---------------------------------------------------------------------------------------------- !2D options MVO !---------------------------------------------------------------------------------------------- reqILSymbol = gs_symbtype_2D_m if reqILSymbol = PLANSYMB_BY_MVO then reqILSymbolTemp = 0 success = LIBRARYGLOBAL ("LibraryGlobals13", "iLSymbol", reqILSymbolTemp) if success > 0 then reqILSymbol = reqILSymbolTemp else reqILSymbol = PLANSYMB_RCP endif endif end reqILSymbol PLANSYMB_REALISTIC = 1 PLANSYMB_ELECTRIC = 2 PLANSYMB_RCP = 3 PLANSYMB_BY_MVO = 4After this you can make a Case distinction: IF reqILSymbol = 1 THEN ...
Aand you need the parameter "gs_symbtype_2D_m" as INT-type and a VALUES{2} in Parameter-Script.
Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
GDL object creation: b-prisma.de