|
|
@ -3283,8 +3283,8 @@ public class NewCodeItemDialog extends Dialog {
|
|
|
|
TCComponentDataset newCad = cadDataset.saveAs(item.getProperty("item_id"));
|
|
|
|
TCComponentDataset newCad = cadDataset.saveAs(item.getProperty("item_id"));
|
|
|
|
item.getLatestItemRevision().add("TC_Attaches", newCad);
|
|
|
|
item.getLatestItemRevision().add("TC_Attaches", newCad);
|
|
|
|
System.out.println("cad数据集创建成功");
|
|
|
|
System.out.println("cad数据集创建成功");
|
|
|
|
MessageBox.post("二维图框大小为\"" + rwtk + "\"的cad数据集\"" + newCad.getProperty("object_string")
|
|
|
|
// MessageBox.post("二维图框大小为\"" + rwtk + "\"的cad数据集\"" + newCad.getProperty("object_string")
|
|
|
|
+ "\"创建成功", "错误", MessageBox.WARNING);
|
|
|
|
// + "\"创建成功", "错误", MessageBox.WARNING);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|