修复bug
This commit is contained in:
@@ -161,7 +161,7 @@ namespace RookieStation.Drawing.ExecuteCmd
|
||||
//throw;
|
||||
}
|
||||
return Result.Succeeded;
|
||||
});
|
||||
}, "平面标注");
|
||||
|
||||
return Result.Succeeded;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace RookieStation.Drawing.ExecuteCmd
|
||||
CreateLightAnnotations(doc, visableCol);
|
||||
CreateShelvesAnnotations(doc, visableCol);
|
||||
}, "创建标注");
|
||||
});
|
||||
}, "平面标注");
|
||||
//var cutids = SolidSolidCutUtils.GetCuttingSolids(wall);
|
||||
//uidoc.Selection.SetElementIds(insertids);
|
||||
//uidoc.Selection.SetElementIds(cutids);
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace RookieStation.Drawing.ExecuteCmd
|
||||
}
|
||||
}
|
||||
}, "再次调整标注");
|
||||
});
|
||||
}, "立面标注");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -248,7 +248,6 @@ namespace RookieStation.Finishes.ExecuteCmd
|
||||
{
|
||||
JoinGeometryUtils.JoinGeometry(doc, wall, wallCreated);
|
||||
}
|
||||
//JoinGeometryUtils.JoinGeometry(doc, wall, wallCreated);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -291,7 +290,6 @@ namespace RookieStation.Finishes.ExecuteCmd
|
||||
{
|
||||
JoinGeometryUtils.JoinGeometry(doc, wall, wallCreated);
|
||||
}
|
||||
//JoinGeometryUtils.JoinGeometry(doc, wall, wallCreated);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -883,6 +883,10 @@ namespace RookieStation.Utils
|
||||
}
|
||||
tag.LeaderEndCondition = LeaderEndCondition.Attached;
|
||||
}
|
||||
if (baseTag.LeaderEndCondition == LeaderEndCondition.Free)
|
||||
{
|
||||
baseTag.LeaderEndCondition = LeaderEndCondition.Attached;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -985,6 +989,11 @@ namespace RookieStation.Utils
|
||||
tag.LeaderEndCondition = LeaderEndCondition.Attached;
|
||||
}
|
||||
}
|
||||
|
||||
if (baseTag.LeaderEndCondition == LeaderEndCondition.Free)
|
||||
{
|
||||
baseTag.LeaderEndCondition = LeaderEndCondition.Attached;
|
||||
}
|
||||
}
|
||||
|
||||
private static List<List<IndependentTag>> groups = new List<List<IndependentTag>>();
|
||||
|
||||
@@ -59,7 +59,6 @@
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Class1.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="TestCmd.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user