UIDocument的Selection属性
UIDocument的Selection属性
主要方法
PickObject选择一个元素PickObjects选择多个元素PickPoint点击一个点Pick…
PickObject选择一个元素
using Autodesk.Revit.UI;
namespace pro
{
[Transaction(TransactionMode.Manual)]
public class Class1 : IExternalCommand
{
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
UIApplication uiApp = commandData.Application;
共有 0 条评论