Importing file. How to reference?

Hi @Xavier_Ayme,

Thanks for this - I’ve reported it as a bug.

https://mcneel.myjetbrains.com/youtrack/issue/RH-41234

– Dale

Hi @dale,

Ok, appreciate it!

question on this method vs programatically… I have a scenario where i need to import , BUT, default import methodology is to show all hidden layers from the import file and I need it NOT to do that…
(ie: if i save a file with some layers turned off, when i use rhino script as above it completes import AND shows all the previously hidden layers.

Any way to turn off that function in the command line version or i have to go low level fileio and manually add layer by layer.

Your best bet is let Rhino import and then have a post-import process that sets the model to what you want.

– Dale