architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startup script and Navisworks

malyshevleonid opened this issue · comments

Hello, I want to report a problem that I have encountered. I hope you can help me.

When I open Revit 2024, run StartupScript, it contains a script that exports the model to NWC.
Using Export method.

In the process of StartupScript I get the following error.
0EM3g000004oPav

But if I open Revit 2024 first, and without StartupScript I run the same script through RevitPythonShell, then everything works fine.
If I run StartupScript example, with Revit 2021, I do not observe such an error.

The version of Navisworks Exporter that I use: is Autodesk_Navisworks_Exporters_2024_Win_64bit_dlm_R1
Revit version: 2024.2
Revit Python Shell version: 2.0.2

InitScript:
init.txt
StartupScript:
startup.txt
(Please note, I changed the extension to .txt)
Paths for startup.py and init.py:
2024-01-31_22-32-28

If you need the model itself, which is not exported, please write, I will send it to you (but in general, this is absolutely any model).