On Mon, 03 Nov 2008 12:29:50 -0500
Mike Crowe <[EMAIL PROTECTED]> wrote:
> Questions: Assuming I use cleo and EditAttribute (and maybe
> ConceptualSort), is there a way to extract nodes with specific
> attributes into a list?
With or without scripting? Without, I'd say no.
With, I'd say you'd probably want to inspect the uAs
(unknownAttributes) of some example nodes to get a feel for how cleo,
EditAttribute, and ConceptualSort store uAs on nodes.
Make a script button of:
---cut here---
if hasattr(p.v, 'unknownAttributes'):
g.es('V: '+repr(p.v.unknownAttributes))
else:
g.es('V: -')
if hasattr(p.v.t, 'unknownAttributes'):
g.es('T: '+repr(p.v.t.unknownAttributes))
else:
g.es('T: -')
---cut here---
and run it against some of the nodes you're interested in.
Cheers -Terry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---