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

Version 6 SR18 Python Hatch

$
0
0

@Alasdair wrote:

Some of my python scripts for hatches have broken after updating to SR18.

For example:

import rhinoscriptsyntax as rs

object1 = rs.GetObject()
object2 = rs.GetObject()
pat = rs.HatchPattern(object1)

rs.HatchPattern(object2, pat)

Gives the error

Message: global name ‘_initHatchPatterns’ is not defined

Traceback:
line 240, in HatchPattern, “C:\Users\Alasdair\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\hatch.py”
line 7, in , “C:\Users\Alasdair\AppData\Local\Temp\TempScript.py”

Any ideas on how to fix this?

Cheers

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5825

Trending Articles