Hello Community,
I’m finding a lot of this in many python code boilertplates:
My problem is that this directory does not exist and I'm wondering if I'm missing something in my install to place some python modules at these locations. I have found that C:\Program Files\Dynamo 0.8 exists along directories to the various libg library versions. Do I need to redirect my path variables to this location?<span style="color: #454545;">path = r</span><span style="color: #454545;">'C:\Autodesk\Dynamo\Core'</span>
<br style="color: #454545;" /><span style="color: #454545;">exec_path = r</span><span style="color: #454545;">'C:\Autodesk\Dynamo\Core\dll'</span>
<br style="color: #454545;" /><span style="color: #454545;">sys.path.</span><span style="color: #454545;">append</span><span style="color: #454545;">(path)</span>
<br style="color: #454545;" /><span style="color: #454545;">sys.path.</span><span style="color: #454545;">append</span><span style="color: #454545;">(exec_path)</span>
<br style="color: #454545;" /><span style="color: #454545;">clr.</span><span style="color: #454545;">AddReference</span><span style="color: #454545;">(</span><span style="color: #454545;">'LibGNet'</span><span style="color: #454545;">)</span>
<br style="color: #454545;" /><span style="color: #454545;">from</span><span style="color: #454545;"> Autodesk.LibG </span><span style="color: #454545;">import</span><span style="color: #454545;"> *</span>
Thanks,