Message 1 of 6
Not applicable
08-15-2017
06:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI guys,
I have written a new addin for revit and I want to trial it out. The project is compiling into a dll file, however when I am loading up Revit I get this error:
My addin is running under the name space 'DoorTag' from which I use to group all my external commands together. My main class is MoveDoorTags
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.IExternalCommand;
using Autodesk.Revit.DB.Architecture;
using Autodesk.Revit.UI.Selection;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.Attributes;
namespace DoorTag
{
[Transaction(TransactionMode.Manual)]
[Regeneration(RegenerationOption.Manual)]
public class MoveDoorTags : IExternalCommand
{From which I use to call other extension classes within the project.
These extensions classes all mainly start the same. For example 'DoorArcExtensions'
using System;
using System.Collections.Generic;
using System.Linq;
using System;
using Autodesk.Revit.DB;
namespace DoorTag
{
internal static class DoorArcExtensions
{and FamilyInstanceExtensions
using System;
using System.Collections.Generic;
using System.Linq;
using System;
using Autodesk.Revit.DB;
namespace DoorTag
{
internal static class FamilyInstanceExtensions And so on and so forth. My Manifest as it stands is:
<?xml version="1.0" encoding="utf-8"?>
<RevitAddIns>
<AddIn Type="Command">
<Assembly>
C:\Users\dobbs\Desktop\GITHUB_SHARING\PTW_Custom_addins\DoorTag\DoorTag\bin\Debug\DoorTag.dll
</Assembly>
<ClientId>03639cb0-a2de-4ca8-8022-97976f89387d</ClientId>
<FullClassName>MoveDoorTags</FullClassName>
<Text>Fix Door Tags</Text>
<VendorId>PTW</VendorId>
<VisibilityMode>AlwaysVisible</VisibilityMode>
<LongDescription> Move all Door tags in the current opened project to their PTW approved position in a single click.
</LongDescription>
</AddIn>
</RevitAddIns>Does anyone know what I am doing wrong?
Solved! Go to Solution.