Revit Secondary Development Foundation-add external tool options to the additional module, and revit Secondary Development

Source: Internet
Author: User

Revit Secondary Development Foundation-add external tool options to the additional module, and revit Secondary Development

Those who want to participate in secondary development with Revit may have such a situation. When we open our revit (version 2014 or later), click Add module, an external tool is missing !!! Is Autodesk hiding it for you!

Next, I will show you how to add the external tool button under the additional module.

I am using Revit2016, so the following is a demonstration of this version.

First, we need to download a 2016 SDK on the official Autodesk Website ,:

Additional Website: http://usa.autodesk.com/adsk/servlet/index? Id = 2484975 & siteID = 123112

After downloading the SDK, install it. The installation directory is free of charge. You must be able to solve this problem. I have installed it on drive F and open the first folder in the Revit 2016 SDK folder, that is, the Add-In Manager folder,

 

Copy the four highlighted files in, and find the Revit directory in Users under drive C. Emphasize that you need to open a hidden project to find the files. Different user paths may vary, my path is under C: \ Users \ Lenovo \ AppData \ Roaming \ Autodesk \ Revit \ Addins \ 2016.

Open the file and paste the four copied files,

Next, use NotePad to open the last two files with long names, Autodesk. AddInManager. addin, Autodesk. AddInManager-Automatic, and addin.

Copy the path of the current folder. my options are C: \ Users \ Lenovo \ AppData \ Roaming \ Autodesk \ Revit \ Addins \ 2016, then replace all the [TARGETDIR] of the two files with the path. The two files are located everywhere and the final result is as follows:

 

Close after saving, open Revit2016, and click on the additional module. You will be pleasantly surprised to find an additional external tool button!

Then let's run a Hello World!

 

 

 

Finally, this external tool has been completed!

I have also referenced a lot of articles and books. If there are any errors, I hope I can correct them!

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.