youre on target with the first one Marcus, thanks

On Thu, Feb 20, 2020 at 11:11 AM Marcus Ottosson <konstrukt...@gmail.com>
wrote:

> There’s not enough information in the question. xD
>
> Assuming you mean getting a unit conversion when you connect e.g.
> polyCube.rotateX to your custom attribute, and that you’re wondering what
> function set you need to use to create such an attribute without Maya
> automatically creating such a conversion node, then have a look at
> MFnUnitAttribute. That’s the one that does any unit-related attributes,
> including time, distances and angles.
>
> You could also be talking about cmds.addAttr which would be different,
> and it also depends on when and how you get a conversion node.
>
> A reproducible would help.
>
> On Thu, 20 Feb 2020 at 19:56, Jesse Kielman <jessekiel...@gmail.com>
> wrote:
>
>> Im pretty sure it's MAngle
>>
>> On Thu, 20 Feb 2020, 19:55 Todd Widup, <todd.wi...@gmail.com> wrote:
>>
>>> hey..what attribute numericData type do you need to you dont get a unit
>>> conversion node for rotations?
>>>
>>>
>>>
>>> --
>>> Todd Widup
>>> Creature TD / Technical Artist
>>> todd.wi...@gmail.com
>>>
>>> --
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk35uF2MYwCcEOpz%2Bfnn6%3DNGc1%2Bk%3DXFCBGPtt51yiZaPiEA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CABBPk35uF2MYwCcEOpz%2Bfnn6%3DNGc1%2Bk%3DXFCBGPtt51yiZaPiEA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAA2zLRNzEQg6QRKiT%2BLYNh0knMS%3DPM0EFss%3D9qsFfc5uY7rJ2A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAA2zLRNzEQg6QRKiT%2BLYNh0knMS%3DPM0EFss%3D9qsFfc5uY7rJ2A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAzpF%2BS6nD4ur0NDGNScUCinVPgvsRNfZkKTmEC%3Dvzt7g%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAzpF%2BS6nD4ur0NDGNScUCinVPgvsRNfZkKTmEC%3Dvzt7g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Todd Widup
Creature TD / Technical Artist
todd.wi...@gmail.com

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk35RrXVDw911438V7KY%3DNUutuUFT4hzeaWPXFg-0_a6J-g%40mail.gmail.com.

Reply via email to