nanoCAD Platform Help

Loading Python-script

Loading Python-Script

CAD drafting Loading Python-script 0       Ribbon: ManageApplicationsScripts > CAD software Loading Python-script 1 Python

CAD drawing Loading Python-script 2       Menu: ToolsScripts > CAD drafting Loading Python-script 3 Python

CAD software Loading Python-script 4    Command line: PY, -PY

After calling the command, in the dialog box that opens, select the desired file with the py extension. The script execution starts immediately after the file is loaded.

To work with the PY command, Python 3 should be installed in Windows operating system and Active Scripting support (win32com.axscript) should be enabled. You can install Python Win32 extensions (pywin32) and Python Active Scripting support will be registered automatically.