dbsmith
09-05-2006, 05:09 AM
Just need to create a simple button in the Attribute Editor of my custom Node, using the API.
I.e. have my float fields etc...but what can I use to create a button (like the reload button that comes attached to a file texture node)?
eg
myNode::detail = nAttr.create( "View_Detail", "vd", MFnNumericData::kInt, 5 );
myNode::outputMesh = tAttr.create("outMesh", "om", MFnMeshData::kMesh);
myNode::myButton = tAttr.create("Button", "btn", ????????????????????? );
I.e. have my float fields etc...but what can I use to create a button (like the reload button that comes attached to a file texture node)?
eg
myNode::detail = nAttr.create( "View_Detail", "vd", MFnNumericData::kInt, 5 );
myNode::outputMesh = tAttr.create("outMesh", "om", MFnMeshData::kMesh);
myNode::myButton = tAttr.create("Button", "btn", ????????????????????? );
