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.

Think Like a Spec Writer
AC4.55 through 27 / USA AC27-4060 USA
Rhino 8 Mac
MacOS 12.7.2
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 | 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!