代码如下:/// /// 选择风管与风管外一点,画与风管垂直的风管。/// [Transaction(TransactionMode.Manual)][Regeneration(RegenerationOption.Manual)]public class cmd : IExternalCommand{ public Result Execute(ExternalCommandData cmdData, ref string msg, ElementSet elements) { UIDocument uiDoc = cmdDat
1