Script for costing via attributes on objects
I'm trying to research whether or not I'm able to get a cost estimation from 3D max.
I haven't had much luck so far, but a guy on the CGTalk forums suggested that inside Maya, you can add attributes to objects.
After a search, I found that you can do this is 3D max too. Great news!
Can the scripting gurus here please tell me if this can be done;
Assign a number to an object (let's say 10 objects, numbered 1 to 10)
Somehow assign a price or a value to that number/object that can be tallied up as a total figure.
Make a script that grabs the number ID from all of the objects in a scene and tallies the cost attached to the ID number.
Couch/sofa has an attribute of 1. 1=$1000
Dining chair has attribute of 2. 2=$60
Table has an attribute of 3. 3=$500
Run Maxscript, 1+2+3=$1560
Can this be done? Or something similar, less clunky perhaps?
Thanks in advance,