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

Message: 'module' object has no attribute 'LayerNames'

$
0
0

Hi

I’m trying to figure out what’s going on with python, all my codes suddenly stopped running yesterday. I’ve narrowed down the problem to the rhinoscriptsyntax module, the error only appears when I import it…

So if I run the code to just load the module:

import rhinoscriptsyntax as rs

The following error appears : Message: ‘module’ object has no attribute ‘LayerNames’

When I delete import rhinoscriptsyntax as rs the error goes away, but the code obviously doesn’t run.
I’ve re-installed rhino and the error persists. I’m a bit perplexed about the hole thing, has the module been corrupted? Mabey a manual reinstall will help?

Some feedback would be much appreciated.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles