Skip to content

Commit 0594a6a

Browse files
committed
Update readme
1 parent 46ad826 commit 0594a6a

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

Images/devenv_9FXen0L47z.png

83.5 KB
Loading

Images/devenv_E5MD6kiAQC.png

80.7 KB
Loading

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,28 @@ The biggest limitation is that you can't deploy DLLs with custom scripts at this
2424

2525
- Reference the version of "Autodesk.Navisworks.Api.dll" that you'd like to target.
2626
- Compile the solution.
27-
- Go to the "%APPDATA%\Autodesk Navisworks Manage 2020\" (or the version that you'd like to target)
27+
- Go to the "C:\Program Files\Autodesk\Navisworks Manage {version}\Plugins" (with version a version current of navisworks)
2828
- If there is no "Plugins" foler, create it
29-
- In the "Plugins" folder create a "NavisPythonShell" folder
30-
- Copy the contents of the build folder (usually ".\NavisPythonShell\NavisPythonShell\bin\$(Configuration)\" ) to the "\Plugins\NavisPythonShell\" folder
31-
- The final plugin directory should be similar to "%APPDATA%\Autodesk Navisworks Manage 2020\Plugins\NavisPythonShell"
29+
- Change Permisstions of two folder `Plugins` and `Dependencies` in properties
30+
31+
![](Images/devenv_9FXen0L47z.png)
32+
33+
![](Images/devenv_E5MD6kiAQC.png)
34+
35+
- Build Solution(if you change `version` of navisworks, please change number version in post build event)
36+
```
37+
xcopy $(TargetDir)*.* "C:\Program Files\Autodesk\Navisworks Manage {version}\Plugins\NavisPythonShell\" /Y /I /E /EXCLUDE:$(SolutionDir)exclude.txt
38+
39+
xcopy $(TargetDir)*.* "C:\Program Files\Autodesk\Navisworks Manage {version}\Dependencies\" /Y /I /E /EXCLUDE:$(SolutionDir)noexclude.txt
40+
41+
```
3242
3343
OR
3444
35-
- Download a valid [release zip](https://github.com/dimven/NavisPythonShell/releases) for your version of Navisworks.
36-
- Extract the zip to "%APPDATA%\Autodesk Navisworks Manage 2020\Plugins" (or whichever version of Navisworks you're targeting)
45+
- Download a valid [release zip](https://github.com/dimven/NavisPythonShell/releases) for your `version` of Navisworks.
46+
- Extract the zip to two folder:
47+
- "C:\Program Files\Autodesk\Autodesk Navisworks Manage {version}\Plugins" : include all file in noexclude.txt and folder icon
48+
- "C:\Program Files\Autodesk\Autodesk Navisworks Manage {version}\Dependencies" : include all file in exclude.txt
3749
3850
## Contribute
3951

0 commit comments

Comments
 (0)