OneNote for AutoCAD® is an add-in for AutoCAD that allows users to take notes alongside their drawings from within AutoCAD. These notes are backed up to the cloud and can be accessed anytime. Users can see these notes the next time they open the drawing in AutoCAD.
OneNote-For-AutoCAD is being shared as sample code to demonstrate a real world example of how to leverage the OneNote REST APIs across various integration points. Developers can use this code sample to bootstrap their own OneNote related projects.
OneNote for AutoCAD is now shipped to the AutoDesk app store!
You can download the add-in OneNote for AutoCAD [here] (https://apps.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3aonenote_windows32and64%3aen)
The project is written in C# and requires .NET 4.5 or above. A Visual Studio 2013 or above compatible solution is provided and the project has the following dependencies:
- Nuget packages:
- LiveSDK
- Newtonsoft.Json
- Microsoft.AspNet.WebApi.Client
- AutoCAD .NET APIs. Learn more here
Open Visual Studio as an administrator. Provided that you have all of the indicated dependencies, then you should be able to build this project directly from the VS interface.
To run the app you need to have following pre-requisites:
-
- Trial or Full version of AutoCAD installed
-
- You will need to obtain a Microsoft Live Application ClientId as described [here] (https://msdn.microsoft.com/en-us/library/office/dn575426.aspx)
-
- In AuthManager.cs set the ClientId as your Microsoft Live Application ClientId.
-
- In the Project properties, ensure that the option to Start External Program on Debug is selected and supply it the path to the acad.exe executable on your machine. Generally this is present in Program Files where AutoCAD is installed. Then on running the project, the AutoCAD IDE will start up with the add-in installed.
-
- Once you make any changes to the project, build it and load the new dll using netload in the AutoCAD IDE.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.