Skip to content
On this page

mxcad API 文档 / 3d / MdGeDocument

Class: MdGeDocument

3d.MdGeDocument

所有类的父类, 除去MdGeTopo以及MdGeBrep

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeDocument(p)

Parameters

NameType
pobject

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

AbortCommand

AbortCommand(): void

Returns

void


BeforeClose

BeforeClose(): void

Returns

void


ChangeStorageFormat

ChangeStorageFormat(newStorageFormat): void

Parameters

NameType
newStorageFormatstring

Returns

void


ClearRedos

ClearRedos(): void

Returns

void


ClearUndos

ClearUndos(): void

Returns

void


CommitCommand

CommitCommand(): boolean

Returns

boolean


EmptyLabelsSavingMode

EmptyLabelsSavingMode(): boolean

Returns

boolean


GetAvailableRedos

GetAvailableRedos(): number

Returns

number


GetAvailableUndos

GetAvailableUndos(): number

Returns

number


GetName

GetName(): string

Returns

string


GetPath

GetPath(): string

Returns

string


GetSavedTime

GetSavedTime(): number

Returns

number


GetUndoLimit

GetUndoLimit(): number

Returns

number


HasOpenCommand

HasOpenCommand(): boolean

Returns

boolean


InitDeltaCompaction

InitDeltaCompaction(): boolean

Returns

boolean


IsChanged

IsChanged(): boolean

Returns

boolean


IsEmpty

IsEmpty(): boolean

Returns

boolean


IsNestedTransactionMode

IsNestedTransactionMode(): boolean

Returns

boolean


IsSaved

IsSaved(): boolean

Returns

boolean


IsValid

IsValid(): boolean

Returns

boolean


Main

Main(): MdGeLabel

Returns

MdGeLabel


ModificationMode

ModificationMode(): boolean

Returns

boolean


NewCommand

NewCommand(): void

Returns

void


OpenCommand

OpenCommand(): void

Returns

void


PerformDeltaCompaction

PerformDeltaCompaction(): boolean

Returns

boolean


PurgeModified

PurgeModified(): void

Returns

void


Recompute

Recompute(): void

Returns

void


Redo

Redo(): boolean

Returns

boolean


RemoveFirstUndo

RemoveFirstUndo(): void

Returns

void


SetEmptyLabelsSavingMode

SetEmptyLabelsSavingMode(isAllowed): void

Parameters

NameType
isAllowedboolean

Returns

void


SetModificationMode

SetModificationMode(theTransactionOnly): void

Parameters

NameType
theTransactionOnlyboolean

Returns

void


SetModified

SetModified(L): void

Parameters

NameType
LMdGeLabel

Returns

void


SetNestedTransactionMode

SetNestedTransactionMode(isAllowed): void

Parameters

NameType
isAllowedboolean

Returns

void


SetSaved

SetSaved(): void

Returns

void


SetSavedTime

SetSavedTime(theTime): void

Parameters

NameType
theTimenumber

Returns

void


SetUndoLimit

SetUndoLimit(L): void

Parameters

NameType
Lnumber

Returns

void


StorageFormat

StorageFormat(): string

Returns

string


Undo

Undo(): boolean

Returns

boolean


UpdateReferences

UpdateReferences(aDocEntry): void

Parameters

NameType
aDocEntrystring

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject