ver
This commit is contained in:
12
types/DatabaseServices/Database.d.ts
vendored
12
types/DatabaseServices/Database.d.ts
vendored
@@ -5,8 +5,8 @@ import { BlockTableRecord } from './BlockTableRecord';
|
||||
import { CADFiler } from './CADFiler';
|
||||
import { CADObject } from './CADObject';
|
||||
import { CameraSnapshootRecord } from './CameraSnapshoot/CameraSnapshootRecord';
|
||||
import { DeepCloneFiler } from './DeepCloneFiler';
|
||||
import { DimStyleTable } from './DimStyle/DimStyleTable';
|
||||
import { FontStyleTable } from './FontStyle/FontStyleTable';
|
||||
import { GroupTable } from './GroupTable';
|
||||
import { HistoricManage } from './HistoricManage';
|
||||
import { IdMaping } from './IdMaping';
|
||||
@@ -36,6 +36,7 @@ export declare class Database {
|
||||
AlignLineGroupTable: AlignLineGroupTable;
|
||||
DimStyleTable: DimStyleTable;
|
||||
LayerTable: LayerTable;
|
||||
FontStyleTable: FontStyleTable;
|
||||
ModelSpace: BlockTableRecord;
|
||||
LayoutSpace: BlockTableRecord;
|
||||
Lights: BlockTableRecord;
|
||||
@@ -62,15 +63,18 @@ export declare class Database {
|
||||
private InitLayer;
|
||||
private InitMaterial;
|
||||
private InitLight;
|
||||
private InitFontStyle;
|
||||
private SettingDefaultStyleAndMaterial;
|
||||
Destroy(): void;
|
||||
FileWrite(file?: CADFiler): CADFiler;
|
||||
FileRead(file: CADFiler): this;
|
||||
/**
|
||||
* 注意:跨图纸拷贝(WblockCloneObjects) 同图纸拷贝(DeppCloneObjects)
|
||||
*
|
||||
* 单个数据库内克隆对象(objects),并将他们附加到指定的容器对象(owner).
|
||||
* @param objects 被克隆的对象
|
||||
* @param owner 克隆对象的容器
|
||||
* @param idMap id映射
|
||||
* @param idMap id映射 oldid->newid
|
||||
* @param deferXlation 指示是否应该进行ID转换
|
||||
* @returns 新克隆的对象列表
|
||||
*/
|
||||
@@ -79,8 +83,10 @@ export declare class Database {
|
||||
* 清理拷贝后的实体空引用
|
||||
*/
|
||||
private ClearEmptyAssoc;
|
||||
DeepCloneObject(filer: DeepCloneFiler, object: CADObject, owner: OwnerContainer, idMap?: IdMaping): CADObject | undefined;
|
||||
private DeepCloneObject;
|
||||
/**
|
||||
* 注意:跨图纸拷贝(WblockCloneObjects) 同图纸拷贝(DeppCloneObjects)
|
||||
*
|
||||
* 将来自不同数据库的对象列表拷贝到本数据库中.
|
||||
* 当前支持使用HardId模式来硬关联某个对象,使该对象能够在WblockClone时一起被带过来.
|
||||
* 当前不支持硬关联对象的Owner不是默认的容器.
|
||||
|
Reference in New Issue
Block a user