PLUG'N SCRIPT
rapid plugin development
Tutorial
DSP
KUIML
How-to
Scripts
  • Tutorial
  • Element Reference
Language basics
  • SKIN
  • DUMMY
  • INCLUDE
  • INCLUDE_ONCE
  • DEFINE
  • UNDEFINE
  • VARIABLE
  • LOCAL_VARIABLE
  • TEMPLATE
  • TEMPLATE_INNER_CONTENT
  • REPEAT
Data model
  • PARAM
  • ACTION
    • Action types
  • ACTION_TRIGGER
UI Layout and positioning
  • CELL
  • TABLE
UI Widgets
  • TEXT
  • TEXT_FIELD
  • TEXT_EDIT_BOX
  • CANVAS
    • Graphics API
  • svg
Common attrubutes
  • For all elements
  • Widgets
  • Param Widgets
  • Param Controls
  • Param Info Viewers
  • Text Widgets
  • Surface Viewers
  • Curve Viewers
  • 3D Objects
  • Parameters mapping
KUIMLElement ReferenceUNDEFINE
December 14, 2020

UNDEFINE

This element removes custom elements previously declared with the DEFINE.

It's sometimes useful to temporarily define an element and remove it later, for example in TEMPLATE.

  1. <TEMPLATE id="MY_WIDGET" icon="" color="#000000" size="16">
  2. <DEFINE><LOCAL_ICON base_type="SVG_ICON_$icon$" /></DEFINE>
  3. <LOCAL_ICON color='$color$' size='$size$' />
  4. <UNDEFINE><LOCAL_ICON /></UNDEFINE>
  5. </TEMPLATE>

  6. <MY_WIDGET icon="MENU" />

Comments

2020 © Plug'n Script and KUIML by Blue Cat Audio  |  Site by LetiMix