!1740 优化:整体标注过滤掉由板件复合的把手

pull/1785/head
林三 3 years ago committed by ChenX
parent bfc11d19f0
commit f617790800

@ -16,6 +16,7 @@ import { IConfigOption } from "../../UI/Components/Board/UserConfig";
import { ModalState } from "../../UI/Components/Modal/ModalInterface";
import { IConfigStore } from "../../UI/Store/BoardStore";
import { userConfigStore } from "../../UI/Store/UserConfigStore";
import { IsHandle } from "../HideSelect/HideSelectUtils";
import { autoDimBoardTool } from "./AutoDimBrsTool";
export class Command_AutoDimBrs implements Command
@ -188,6 +189,7 @@ export class Command_AutoDimBrs implements Command
newBoards.push(en);
else if (en instanceof HardwareCompositeEntity)
{
if (IsHandle(en)) continue; //过滤把手五金
let hardwareCompositeEntitys = this.backBoards(en.GetAllEntity());
for (let hce of hardwareCompositeEntitys)
newBoards.push(hce);

Loading…
Cancel
Save