Giter Club home page Giter Club logo

navisaddinmanager's Introduction

Navisworks Add-in Manager

Navis API Platform License: MIT

ReSharper Rider Visual Studio 2022 .NET Framework

Publish Github All Releases HitCount follow on Twitter

Summary

AddinManager

Usually, when developing and debugging an add-in with Navisworks API, user has to close & re-open Navisworks each time he/she modifies the add-in code and wants to re-compile. But with Add-In Manager, user can modify and run the Addin. directly without closing & re-opening Navisworks again and again.This tool enables users to test plugin code within Navisworks without having to create an entire plugin first.This is a next branch from Revit Addin Manager to support multiple platform API for developer. With current technology, you can use Hot Reload to speed it up.But try this project it will be faster with any Addin.

Some feature include:

  • A newbie can create a new Add-in and explore Navisworks API easy with Add-in manager.
  • Add-in tester(use Debug and Trace to test your add-in).
  • Debug / Trace : Support Show result use Debug or Trace to show result in Navisworks.
  • Add-in manager
    • AddInManager Manual : Use for normal process load/unload addin
    • AddInManager Faceless : use for load last process before addin without UI
  • Allow user know whether plugin can load successfully or not.
  • No depend on any library from outside Navisworks API.
  • F5 - Load fresh plugin don't need load again.
  • F1 - Go link open source report some error,bug or feature request.
  • Delete - Quick remove by use right click or use from keyboard.
  • Crt + MouseWheel - Zoom in/out by use mouse wheel in command plugin.
  • Arrow Up - Move from TreeView to search.
  • Arrow Down - Move from search to TreeView.
  • Esc - Quick Close Add-in Manager.
  • Enter - Quick Run Execute a command selected in Add-in Manager.

Add-In Manager

Command

  • AddInManagerManual
  • AddInManagerFaceless

Trace/Debug

  • Show/Hide result inside Dockpanel Navisworks.
  • Show Result history inside Navis Addin Manager.
  • Clear Result.
  • Show Result by color.

A sample command to execute:

  • Way one : use full with Add-in Manager
[Plugin("HelloWorld", "ChuongMep",DisplayName = "HelloWorld", ToolTip = "HelloWorld Navisworks AddinManager")]
    [AddInPlugin(AddInLocation.AddIn)]
    public class HelloWorld : AddInPlugin
    {
        public override int Execute(params string[] parameters)
        {
            //Code Here
            MessageBox.Show("Hello World",Application.Title);
            return 0;
        }
    }
   
  • Way two : use one quick run with Add-in Manager
    /// <summary>
    /// Only work for in AddinManager
    /// </summary>
    public class TestDontNeedUseAttClass : AddInPlugin
    {
        public override int Execute(params string[] parameters)
        {
            //Code Here
            MessageBox.Show("Hello World",Application.Title);
            return 0;
        }
    }

  • Quick Example to Debug or Trace result output :
using System.Diagnostics;
using Autodesk.Navisworks.Api.Plugins;
public class DebugTrace : AddInPlugin
{
    public override int Execute(params string[] parameters)
    {
        Trace.WriteLine($"Warning: This is a warning");
        Trace.WriteLine($"Error: This is a error");
        Trace.WriteLine($"Add: This is a add");
        Trace.WriteLine($"Modify: This is a modify");
        Trace.WriteLine($"Delete: This is a delete");
        return 0;
    }
}

Installation

Please follow last release at section Release

Support Navisworks Version : 2020, 2021, 2022, 2023,2024.

Guideline

You can visit to wiki and read document or access by this link.


Author

Originally implemented by ChuongHo with platform WPF and add more feature to fit with the progressive development of modern technology. His focus is to work smarter and achieve the most effective practices to enhance data utilization and digital collaboration among AEC parties.


License

This sample is licensed under the terms of the MIT License. Please see the License file for full details.


Contribute

Add-In Manager is an open-source project and would be nothing without its community. You can make suggestions or track and submit bugs via Github issues. You can submit your own code to the Add-In Manager project via a Github pull request .

Many Thanks all contributors for this repository. Feel free to contribute! Please refer to the CONTRIBUTING for details.


Sponsors

Thanks for providing a free All product IDE for this project


Credits


Open Source Recommend

  • NavisLookup : Allow user snoop properties, method, track event. Easy to explore Navsiworks.

Learning Resources

navisaddinmanager's People

Contributors

chuongmep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

navisaddinmanager's Issues

File Load Is Invalid

When loading the plugin into Navisworks I keep getting the error 'File Load is Invalid'. Even with the sample code provided (Hello World). Is there a better explanation of the error or any idea what could be wrong?

Using Navisworks Manage 2022 and Visual Studio 2022

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.