mirror of
https://github.com/ShrlAlgo/AddinManager.git
synced 2026-03-08 08:58:53 +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);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|