We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0594a6a commit 9fbfa34Copy full SHA for 9fbfa34
1 file changed
NavisPythonShell/init.py
@@ -1,8 +1,8 @@
1
# these commands get executed in the current scope
2
# of each new shell (but not for canned commands)
3
from Autodesk.Navisworks.Api import *
4
-
5
-doc = Application.ActiveDocument
+app = Application
+doc = app.ActiveDocument
6
selection = doc.CurrentSelection.SelectedItems
7
8
def quit():
0 commit comments