stupid question, the answer is
listAttr(ud=1)
-- Drake
On Oct 24, 4:58 pm, Drake <[EMAIL PROTECTED]> wrote:
> Hi~
>
> I am trying to retrieve from a node a list of extra attributes which I
> added by addAttr such that I can write a customized 'Export by
> Selection' because Maya's built-in 'ExportSelection' does export too
> much what we called 'non-interesting' nodes, like light linking,
> initialShadingGroup, renderPartition, ...
>
> And I tried to use attribute's 'internal' state but it seemed not the
> right answer.
>
> For example, for a clean and new (empty) maya scene, there is a persp
> camera w/ any customized extra attributes. I did a quick test:
>
> persp=PyNode('persp')
> select(persp, r=1)
> attributeInfo(internal=0)
>
> and it gives me a list of attributes...
>
> I guess I am in wrong way for extracting a list of extra attributes
> and does anyone have ideas on this?
>
> -- Drake
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---