Dear Qqianhui,
Thank you for your updates.
First, I will reply to your previous update that you sent me as a private message:
Question: I followed every step of Walkthrough-HelloWorld, but still, when start debugging, the add-in tag does not show at pull down menu of external tool of Revit. Attached are my project file and HelloWorld.addin file. The HelloWorld.addin file is saved at below path: image001.jpg.
Answer: Please always include a text version of all the text information you provide.
The path that you use for placing your add-in manifest is only accessible by opening and performing OCR or manual transcription of an image file.
You say that you are placing your add-in manifest in this folder:
C:\Program Files\Autodesk\Revit 2016\Addins
Where did you get that path from?
I hope it is not suggested anywhere in the getting started material.
If it is, that is an error. Please point out that spot so that we can correct it.
The possible paths to place your add-in manifest are listed both in the getting started tutorials that I pointed out to you and in the developer’s guide in the online Revit Help:
http://help.autodesk.com/view/RVT/2017/ENU
Developers > Revit API Developers Guide > Introduction > Getting Started > Add-In Integration > Add-in Registration
Manifest Files
Revit API applications are registered with Revit via a .addin manifest file. Manifest files are read automatically by Revit when they are placed in one of two locations on a user's system:
In a non-user-specific location in "application data":
- C:\ProgramData\Autodesk\Revit\Addins\2017\
In a user-specific location in "application data":
- C:\Users\<user>\AppData\Roaming\Autodesk\Revit\Addins\2017\
All files named .addin in these locations will be read and processed by Revit during startup.
I hope this helps.
Please follow the instructions in the getting started material to avoid any further problems like this.
Thank you!
Now to address your subsequent updates:
Question: Where can I find The AddinId?
Answer: The add-in id is a GUID that you create yourself. There are numerous ways to create a GUID, e.g. using the .NET Guid class or the GUID creation tool built into Visual Studio. Search the Internet how to define a new GUID and use that.
Question: Where can I find VendorId in manifest file?
Answer: You specify your vendor id in the add-in manifest within the VendorId tag.
You can choose your own vendor id. It should be a string that uniquely identifies you or your company.
The developer guide suggests using the reversed Internet domain name, e.g.,
- com.typepad.thebuildingcoder
for a company whose Internet identity is something like
All of this information is provided in the Revit API developer guide and the getting started material.
I hope this helps.
Best regards,
Jeremy