Humm!!!!
I didn't mess with this code anymore, but I'll leave it down and thank you
very much, Neil Roche!
Em sexta-feira, 17 de setembro de 2021 às 06:07:39 UTC-3, Neil Roche
escreveu:
> You should just pass it back into a PyNode which should instance it back
> to a class.
>
> import pymel.core as pm
>
> my_class_node = pm.PyNode('animal_RIG_A001_v001:body_Fur01Shape')
>
> On Saturday, 17 July 2021 at 00:40:44 UTC+1 [email protected] wrote:
>
>> I've
>> animal_RIG_A001_v001:body_Fur01Shape
>> Which is of type : <class 'pymel.core.nodetypes.PgYetiMaya'>
>> I converted it to a string and it looked like this:
>> 'animal_RIG_A001_v001:body_Fur01Shape' type 'str'
>>
>> Now I need to get this string and go back to the type:
>> <class 'pymel.core.nodetypes.PgYetiMaya'>
>>
>>
>> How do I make it come back after I made it to a string?
>>
>
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/9a084e0e-9f6f-46ee-9d61-75c0cb04dad3n%40googlegroups.com.