Reply To: get componentVisibleName

Home Forums General Programming get componentVisibleName Reply To: get componentVisibleName

  • Topics: 14
  • Replies: 638
  • Total: 652
  • ★★★

One thing I’m wandering is why I get the following error if I try to display the Namevar on console

Console(“Name = “..Namevar) give this error but when it’s set in a modulator the name is displayed correctly

At line [-1]: [C]

Error message: No such operator defined

This is a speciality of Ctrlr. In some cases you need to set the L() “converter” when getting the string:

Namevar = L(mod:getComponent():getPropertyString("componentVisibleName"))

AFAIK “L” stands for Lua. It will prepare a string gotten from a component for using within Lua.

Do NOT follow this link or you will be banned from the site!