-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Definitely not a lalboard issue but I may do a pull request for docs if I make this run.
If I try to run a script named lalboard from vscode and then try to debug a test one like this:
test.py:
import adsk.core
from fscad import *
relative_import("./lalboard.py")
import lalboard
def design():
sphere = Sphere(1)
sphere.create_occurrence(True, scale=.1)
def run(_):
lalboard.run_design(design)
It doesn't work.
If I put the code inside the lalboard.py script (without the relative_import of course), then it works from vscode...
What's up with this naming convention from Fusion? Can't I just open the port for API usage in Fusion without this undocumented correlation between file name and script name...
Metadata
Metadata
Assignees
Labels
No labels