功能:嘉居导入支持Union类型

pull/2156/head
ChenX 2 years ago
parent b902bb5d53
commit 6808d3ee41

@ -174,7 +174,7 @@ class JiaJuParse
{
return this.ParseBoardParseBoard(product as JiaJu.EntityProduct, parentRoomName, guiName);
}
else if (product.ObjType === "Cabinet" || product.ObjType === "CabinetDoor" || product.ObjType === "Group")//组
else if (product.ObjType === "Cabinet" || product.ObjType === "CabinetDoor" || product.ObjType === "Group" || product.ObjType === "Union")//组
// || product.TypeID === "" || product.TypeID === "GuiTi"
{
parentRoomName = this.RoomIdNameMap.get((product as JiaJu.ModelProduct).RoomID) ?? parentRoomName;

@ -47,7 +47,7 @@ namespace JiaJu
PID: string;//模型实例ID
OrderID: string;
TypeID: "" | "XianTiao" | "GuiTi";//类型识别码 太复杂了
ObjType: "CabinetDoor" | "Cabinet" | "Group" |
ObjType: "CabinetDoor" | "Cabinet" | "Group" | "Union" |
"Board" | "Decoration" | "TopLine" | "SweepLine";
TypeLabel: string;

Loading…
Cancel
Save