Notifications
Clear all
[Closed] Custom Attribut and Lightlister ???
Feb 11, 2013 2:37 pm
Hi!
I have a problem with a custom attributes on a assembly (lightswitch), which crashes the lightlister with the message “–Unable to convert: undefined to type: color”
Is it my code or is it the lightlister?
global testassembly = attributes testassembly
attribID:#(0x2ce7da19, 0x774b9df2)
(
parameters main rollout:prop
(
light_on type:#boolean ui:light_on_check
)
rollout prop "Custom attribute"
(
checkbox light_on_check "Light On" checked:true
on light_on_check changed i do
(
for a in $ where (superclassof a == Light) do
(
a.on = i
)
)
)
)
-- run next line with a selectes assembly:
-- custAttributes.add $ testassembly
1 Reply