cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.

Why does MVO step 2 not work?

LeeJaeYoung
Virtuoso

Custom-made Model View Options object | GRAPHISOFT GDL Center

 

LeeJaeYoung_0-1699938964101.png

스크린샷 2023-11-14 141008.png

I copied and pasted it, but no matter what I do, the name doesn't change.

 

Capturing Model View Options - Graphisoft Community

AC27 on window 11
6 REPLIES 6
Barry Kelly
Moderator

Have you re-loaded the library?

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Yes  i restart archicad 

AC27 on window 11

Actually it works when I change mine even without re-loading the library.

 

Do you have more than one library loaded?

Do you also have another macro that is for the 20 library?

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

LeeJaeYoung_0-1699954987801.png

 

 
 

This part needs to be included for it to work.

 

! in UI script of the MVO object

ui_style 0, 1

ui_outfield `Plan Symbol Type`, 0, _yCurr, 150, 15

ui_style 0, 0

 

스크린샷 2023-11-14 184433.png

 
 

 

 

AC27 on window 11

I don't know why.

It is the UI_DIALOG line that creates the title.

 

If you now comment out those extra lines, does it stay showing 25?

I think it was just not updating for some reason.

 

Notice in your first image 3 titles were saying "Library 20".

Which makes me think the wrong library was loaded.

And now you have a completely different list of titles showing 25.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

The image above is an image of the linked Custom-made Model View Options object. ^^
25 is the image I followed.
However, everything is handled behind the scenes.
If you succeed and delete that part again, the same phenomenon occurs.
I'm going to be satisfied with this.
Thank you Barry for always caring. ^^

AC27 on window 11