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