On Thu, Jul 30, 2009 at 18:52, Serguei
Kalentchouk<[email protected]> wrote:
>
> When I add attributes to a custom node written Python API I am having
> trouble having them show up in Hypershade as possible input connections.
> This only seems to be an issue with incoming connections as the output
> connections show up just fine. The attributes work fine otherwise
> (connection editor, script etc)
>
> These are the properties I have set on an attribute:
> nAttr.setConnectable (True)
> nAttr.setReadable (True)
> nAttr.setStorable (True)
> nAttr.setWritable (True)
> nAttr.setChannelBox (True)

Make the attribute keyable as well.

-- 
-deane

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to