开发:更新api
This commit is contained in:
13
types/DatabaseServices/Database.d.ts
vendored
13
types/DatabaseServices/Database.d.ts
vendored
@@ -4,6 +4,7 @@ import { BlockTable } from './BlockTable';
|
||||
import { BlockTableRecord } from './BlockTableRecord';
|
||||
import { CADFiler } from './CADFiler';
|
||||
import { CADObject } from './CADObject';
|
||||
import { CameraSnapshootRecord } from './CameraSnapshoot/CameraSnapshootRecord';
|
||||
import { DeepCloneFiler } from './DeepCloneFiler';
|
||||
import { GroupTable } from './GroupTable';
|
||||
import { HistoricManage } from './HistoricManage';
|
||||
@@ -13,13 +14,12 @@ import { DirectionalLight } from './Lights/DirectionalLight';
|
||||
import { HemisphereLight } from './Lights/HemisphereLight';
|
||||
import { MaterialTable } from './MaterialTable';
|
||||
import { ObjectId } from './ObjectId';
|
||||
import { OwnerContainer } from './OwnerContainer';
|
||||
import { PhysicalMaterialRecord } from './PhysicalMaterialRecord';
|
||||
import { ProcessingGroupTable } from './ProcessingGroup/ProcessingGroupTable';
|
||||
import { TemplateTable } from './Template/TemplateTable';
|
||||
import { TextureTable } from './TextureTable';
|
||||
interface OwnerContainer {
|
||||
Add(object: any, isCheckObjectCleanly?: boolean): void;
|
||||
}
|
||||
import { WblockCloneFiler } from './WblockCloneFiler';
|
||||
export declare class Database {
|
||||
private defaultDatabase;
|
||||
hm: HistoricManage;
|
||||
@@ -32,6 +32,7 @@ export declare class Database {
|
||||
ModelSpace: BlockTableRecord;
|
||||
LayoutSpace: BlockTableRecord;
|
||||
Lights: BlockTableRecord;
|
||||
CameraSnapshoots: CameraSnapshootRecord[];
|
||||
AmbientLight: AmbientLight;
|
||||
SunLight: DirectionalLight;
|
||||
HemisphereLight: HemisphereLight;
|
||||
@@ -42,7 +43,7 @@ export declare class Database {
|
||||
private InitLight;
|
||||
SettingDefaultMaterial(): void;
|
||||
Destroy(): void;
|
||||
FileWrite(): CADFiler;
|
||||
FileWrite(file?: CADFiler): CADFiler;
|
||||
FileRead(file: CADFiler): this;
|
||||
/**
|
||||
* 单个数据库内克隆对象(objects),并将他们附加到指定的容器对象(owner).
|
||||
@@ -67,7 +68,7 @@ export declare class Database {
|
||||
* @param owner 克隆对象的新容器
|
||||
* @param idMap id映射
|
||||
*/
|
||||
WblockCloneObejcts(objects: CADObject[], owner: OwnerContainer, idMap: IdMaping, drc: DuplicateRecordCloning): CADObject[];
|
||||
WblockCloneObejcts(objects: CADObject[], owner: OwnerContainer, idMap: IdMaping, drc: DuplicateRecordCloning, filer?: WblockCloneFiler): CADObject[];
|
||||
/**
|
||||
* 克隆引用对象 WriteHardObjectId
|
||||
*/
|
||||
@@ -88,6 +89,6 @@ export declare class Database {
|
||||
Wblock(outputDataBase: Database, objects: CADObject[], basePoint: Vector3, cloning: any): void;
|
||||
AllocateId(): ObjectId;
|
||||
GetObjectId(index: number, create?: boolean): ObjectId;
|
||||
DeleteId(idIndex: number): void;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=Database.d.ts.map
|
Reference in New Issue
Block a user