dimven / NavisPythonShell

An IronPython console for Navisworks
MIT License
69 stars 14 forks source link

NPS for Navisworks manage 2023 #16

Open m-sexton opened 1 year ago

m-sexton commented 1 year ago

I have updated the references in the solution to 2023 and changed to .NET Framework 4.8 but builds fails. Anyone have any luck getting NPS for 2023?

image

michaelburke001 commented 11 months ago

Having similar issues, noticed the issue is relatively old. Hoping someone can give direction.

Thanks

Namib43 commented 8 months ago

I can't really figure out how I'm supposed to set it up like this. I can't find these files and put them on disk С. Autodesk.Navisworks.Api.dll Autodesk.Navisworks.Api.xml NpsRuntime.pdb PythonConsoleControl.pdb NavisPythonShell.pdb

wishbonesr commented 1 week ago

@Namib43 Not the same problem as this issue. But the post build commands take care of this, if you've updated the path to your installation.

wishbonesr commented 1 week ago

@michaelburke001 , @m-sexton I wish I could relate and then have a solution, but after removing and re-adding the NW dlls to each project reference, (and updating to .net 4.8 framework), and edited post build commands for my install path, and editing security on install plugins/dependencies, it compiled and "installed" like a charm. NPS_2023

wishbonesr commented 5 days ago

@michaelburke001 Now that I've looked a little closer at the errors. Goto line 8,9 in ScriptExecutor.cs, It should look like:

using Autodesk.Navisworks.Api;
using Autodesk.Navisworks.Api.Clash;

Wondering if when you replaced the references, VS refactor botched the usings.