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

GH python: Error importing ghpythonlib.components

$
0
0

@lemberski wrote:

I get this error trying to run the python script from this file (mesh edge finder.gh) (here the discussion):

Runtime error (IndexOutOfRangeException): index out of range: 0
Traceback:
line 117, in _buildmodule, "C:\Users\jimbo\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonlib\components.py"
line 126, in , "C:\Users\jimbo\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonlib\components.py"
line 1, in script

Even a script with this single line

import ghpythonlib.components as ghcomp

produces an error. Importing rhinoscriptsyntax works fine. Any hints how to solve this?

Thanks,
David

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5793

Trending Articles