GDL
About building parametric objects with GDL.

MVO For Driving Object Labeling

I've created a Parking Space object that has 4 different zones for labeling. I want all the labels to be View dependent and so have made an MVO script to take care of that. 

 

I've gotten far enough that the label can write the index number returned to the part from the MVO setting, but can't get that MVO index number to pull the value from the appropriate value list in the object and create the label from that string.


Screen Shot 2022-10-04 at 1.43.35 PM.pngScreen Shot 2022-10-04 at 1.44.46 PM.pngScreen Shot 2022-10-04 at 1.46.24 PM.png
Think Like a Spec Writer
AC4.55 through 27 / USA AC27-4060 USA
Rhino 8 Mac
MacOS 14.2.1
1 REPLY 1
runxel
Legend

It's a bit hard to follow what you're struggling with without actual code.

So you are getting the "6" in your example from the MVO but you somehow can't use it as index for the array of options?

Meaning that "text2 0, 0, str_options[n_from_mvo]" does not work?

Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!