paic
02-25-2005, 02:23 PM
hi,
Maybe this question is a noob one, but i'm stuck.
I have a "MFnTypedAttribute attr" which I believe is the one i'm looking for, but impossible to extract the data it should contain (which should be string)
If I do : attr.attrType(), the result if MFnData::kString.
But here, i can't do more : when I try to make : MFnStringData data(attr.object()) I have an error saying that attr doesn't support the MFnStringData function set ...
so, starting from a MFnTypedAttribute, is there a way to get my value ?? Or should I do something else completely different ?
Thx for any help, i'm really desperate T__T
.:: Paic Citron ::.
Maybe this question is a noob one, but i'm stuck.
I have a "MFnTypedAttribute attr" which I believe is the one i'm looking for, but impossible to extract the data it should contain (which should be string)
If I do : attr.attrType(), the result if MFnData::kString.
But here, i can't do more : when I try to make : MFnStringData data(attr.object()) I have an error saying that attr doesn't support the MFnStringData function set ...
so, starting from a MFnTypedAttribute, is there a way to get my value ?? Or should I do something else completely different ?
Thx for any help, i'm really desperate T__T
.:: Paic Citron ::.
