大量更新
This commit is contained in:
@@ -7,13 +7,12 @@ using Autodesk.Revit.DB;
|
||||
using Nice3point.Revit.Toolkit.External;
|
||||
|
||||
|
||||
namespace Szmedi.RvKits.Civil
|
||||
namespace ShrlAlgoToolkit.RevitAddins.RvFamily
|
||||
{
|
||||
/// <summary>
|
||||
/// Revit执行命令
|
||||
/// </summary>
|
||||
[Transaction(TransactionMode.Manual)]
|
||||
[Regeneration(RegenerationOption.Manual)]
|
||||
public class CutGeologyByLoopCmd : ExternalCommand
|
||||
{
|
||||
public override void Execute()
|
||||
@@ -21,7 +20,7 @@ namespace Szmedi.RvKits.Civil
|
||||
try
|
||||
{
|
||||
var curveElements = UiDocument.Selection
|
||||
.PickElementsByRectangle(new GenericFilter<CurveElement>(), "请框选模型线或符号线")
|
||||
.PickElementsByRectangle(new GenericFilter<CurveElement>(), "请框选闭合的模型线或符号线")
|
||||
.Cast<CurveElement>();
|
||||
var curvesSelected = curveElements.Select(x => x.GeometryCurve).ToList();
|
||||
if (curvesSelected.Count < 3)
|
||||
|
||||
Reference in New Issue
Block a user