Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5871

rs.ViewNames(return_names=True, view_type=1) in order

$
0
0

@socken wrote:

Hi all,

I don't know if this is found in any other topic.
But if I'm correct the rs.ViewNames() returns the views in a list as they are created.
Is there a way to sort them in the order as they are place in the document?

for example:
I create view A, then B, then C. rs.ViewNames() will now return A,B,C
When I later move the "tabs" to C,A,B rs.ViewNames() still returns A,B,C.

I want to return the names of the "viewTabs" in a list as they are placed in the document (C,A,B)

Hope this makes sence

Thanks in advance

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5871

Trending Articles