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

Rhino.FileIO.File3dm.Read problem

$
0
0

Hi there,

i’m trying to import a named mesh object from a file using:

f = Rhino.FileIO.File3dm.Read(file_name)

If i query eg. f.Objects.Count it gives the right amount of objects in the file. However if i iterate over the file’s object table like below, it only lists the breps in the file:

for obj in f.Objects.GetEnumerator():
    print obj

using f.Dump() i can see that all objects are listed, including my named mesh. How can i find the mesh object by it’s name and import it from the file ?

thanks,
c.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles