mirror of
https://github.com/ShrlAlgo/AddinManager.git
synced 2026-03-08 00:48:56 +00:00
20 lines
445 B
C#
20 lines
445 B
C#
|
|
using Autodesk.Revit.Attributes;
|
|
|
|
using Autodesk.Revit.DB;
|
|
using Autodesk.Revit.UI;
|
|
|
|
using System;
|
|
|
|
namespace AddInManager
|
|
{
|
|
[Transaction(TransactionMode.Manual)]
|
|
public class CAddInManagerFaceless : IExternalCommand
|
|
{
|
|
public Result Execute(ExternalCommandData revit, ref string message, ElementSet elements)
|
|
{
|
|
return AIM.Instance.ExecuteCommand(revit, ref message, elements, true);
|
|
}
|
|
}
|
|
}
|