lesliejaneth / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Maya's Extra Attributes not exported #124

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. Using MelScript add a user attribute to a scene node
addAttr -dt "string" -ln "UserAttributeLongName" -sn "UserAttribute" $node;

2. Assign a value to the user attribute
setAttr -lock off ( $node + ".UserAttribute" );
setAttr -type "string" ( $node + ".UserAttribute" ) "UserAttributeValue";       
setAttr -lock on ( $node + ".UserAttribute" );

2. Export the scene using OpenCOLLADA

3. Note how the attribute information is not exported

In previous version of COLLADAMaya these would have been exported into the DAE 
using the <extra> tag and we have used it extensively to tag on user data to 
scene and material nodes.

Original issue reported on code.google.com by davidsr...@gmail.com on 20 Oct 2010 at 5:56

GoogleCodeExporter commented 8 years ago
I have attached a simple Maya scene. 
The box has a user attribute applied, found under 'Extra Attributes' on pCube1

Original comment by davidsr...@gmail.com on 20 Oct 2010 at 6:11

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by opencollada2@googlemail.com on 19 Jan 2011 at 8:20