Closed tmorgan497 closed 2 years ago
Hi @tmorgan497 Maybe I'm wrong but for me the layers belongs to the part/assembly, not the drawing that's why the function does not return anything
Hi @tmorgan497 Maybe I'm wrong but for me the layers belongs to the part/assembly, not the drawing that's why the function does not return anything
Hmm. Maybe it's a Creo thing, but when when I hide a layer in the part or assembly and save status, it still shows up in the drawing until I hide the layer within the drawing. I'll have to keep looking around the Creo config options, but the only related thing I've found so far is def_shown_layers_in_view
. Well regardless, I've been able to workaround it by integrating a mapkey into my python script to hide the layer...
Thanks for replying so quickly!
Description
Running
creopyson.layer_list()
returns nothing when the active part is a .drw file. Do the layer functions work with .drw files?What I Did