Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

manifest issue

4 REPLIES 4
Reply
Message 1 of 5
Bauron
596 Views, 4 Replies

manifest issue

Hello

 

The manifest I have created gives me a command failiure for external command. 

It states:

Revit could not complet the external command. Conatc the provider for assistance. Information they provided to revit about their identity: Autodesk, Www.autodesk.com

 

I was told that vendor description is necessary? If I remove it, it states that the information is missing. 

I am sure this is really simple but I am just missing something. 

 

I am using Revit 2014

Here is the entire text in the xml file

 

<?xml version="1.0" encoding="utf-8"?>
<RevitAddIns>
<AddIn Type="Command">
<Name>Funkysheets</Name>
<Assembly>C:\Users\******\Documents\Visual Studio 2012\Projects\wrksht1\wrksht1\bin\Debug\wrksht1.dll</Assembly>
<AddInId>239BD853-36E4-461f-9171-C5ACEDA4E721</AddInId>
<FullClassName>wrksht1.Sheetzmyfunk</FullClassName>
<Text>Sheetzmyfunk</Text>
<VendorId>ADSK</VendorId>
<VendorDescription>Autodesk, www.autodesk.com</VendorDescription>
<VisibilityMode>NotVisibleInFamily</VisibilityMode>
<Discipline>Structure</Discipline>
<Discipline>Architecture</Discipline>

<LongDescription>
This is the long description for my command.
This is another descriptive paragraph, with notes about how to use the command properly.
</LongDescription>
<TooltipImage>c:\MyProgram\Autodesk.png</TooltipImage>
<LargeImage>c:\MyProgram\MyProgramIcon.png</LargeImage>
</AddIn>
</RevitAddIns>

4 REPLIES 4
Message 2 of 5
jeremytammik
in reply to: Bauron

Dear Bauron,

 

I cannot tell what might be going wrong just from looking at your add-in manifest.

 

I would suggest that you simply start again from scratch.

 

Please make sure that you have worked through and understood the getting started material first, especially the DevTV and My First Plug-in tutorials:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

You can also make use of a Visual Studio Revit add-in generation wizard to create the add-in manifest and perform the entire installation for you with one single click:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.20

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 5
Bauron
in reply to: jeremytammik

Jeremy

 

Greatly appreciate your response. 

The matter is infuriating, but maybe there is something I am not picking up in the tutorials/wizards? 

 

Please help me understand this:

When I build a project created with the help of your template, it auto generates the addin file.

I have to change the hard coded path of the location of the dll.

The generated addin file is in the projec folder, which I then copy to AppData\Roaming\Autodesk\Revit\Addins\2014directory. 

the generated addin file does not contain vendor etc. so I am guessing that is not necessary. 

 

Is that correct?

Your feedback would be valuable, as I am still not having luck. 

 

 

 

 

Message 4 of 5
jeremytammik
in reply to: Bauron

Dear Bauron,

 

I mostly avoid specifying the full add-in assembly path by simply copying the add-in assembly to the same location as the add-in manifest, and just specifying the naked filename with no path prefix at all.

 

That works fine and is easiest for simple add-ins which do not drag along lots of other associated luggage, of course.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 5
Bauron
in reply to: jeremytammik

Jeremy

 

I get this message when I try to build my project. 

 

Error 3 The command "copy "C:\Users\***\Documents\Visual Studio 2012\Projects\HelloWorld\HelloWorld\RevitAddin1.addin" "C:\Users\***\AppData\Roaming\Autodesk\REVIT\Addins\2014"
copy "C:\Users\**\Documents\Visual Studio 2012\Projects\HelloWorld\HelloWorld\bin\debug\RevitAddin1.dll" "C:\Users\**\AppData\Roaming\Autodesk\REVIT\Addins\2014"" exited with code 1. HelloWorld

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community