This is probably not the answer you’re looking for. But if you’re writing geometry generation/analysis code in GHPython, you’re gonna have a bad time mixing rhinoscriptsyntax and RhinoCommon. While it might be contentious, I advise beginners to start using RhinoCommon as quickly as possible, for numerous reasons:
And to learn how to inspect rhinoscriptsyntax source code, to see how it implements RhinoCommon:
That said, rhinoscriptsyntax is still very useful in GHPython. Notably when interfacing the Rhino document (e.g. reading geometry from layers and adding things back into Rhino).