CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-11-2013, 02:37 PM   #1
seismograph
Scout
portfolio
Christian Bauer
Austria
 
Join Date: Aug 2002
Posts: 40
Custom Attribut and Lightlister ???

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?

Code:
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
Attached Files
File Type: zip assembly.zip (28.7 KB, 2 views)
__________________
[see.]
 
Old 02-14-2013, 12:20 PM   #2
seismograph
Scout
portfolio
Christian Bauer
Austria
 
Join Date: Aug 2002
Posts: 40
can someone please help?
__________________
[see.]
 
Old 02-14-2013, 12:20 PM   #3
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:03 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.