Skip to main content
Namespace: VM.Managed.Operation
Assembly: VMAppCore.dll
This base class is to represent the operation.

Inheritance

object ← OperationBase

Derived

ApplyOperation, BuildBodyOp, CADBodyApplyOperation, CheckValidationAboutBuildOp, CreateSubEntityOperation, DeleteBuilderOperation, GetAreaOfFaceOp, GetBodyFacesOp, GetBodyNameAttributeOp, GetBoundingBoxOp, GetDefaultMaxPenetrationOp, GetFacetInformationForFaceOp, GetLengthOfEdgeOp, GetManyTopologyColorOp, GetPiecewiseCurveOp, GetPointAndDirectionFromFacetOp, GetTopologyColorOp, GetVoidCountOp, GetVoidPointsOp, OperationDelegate, RebuildHiddenDocOp, RemoveDuplicatedEventOperation, SetGeometryRepresentationOp, SetNameAttributeOp, SetSelectionObjectOp

Implements

IOperation

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

OperationBase(View, object)

Parameters

view View param object

OperationBase(View)

Parameters

view View

OperationBase(Document, object)

Parameters

doc Document param object

OperationBase(Document)

Parameters

doc Document

OperationBase(object)

Parameters

param object

OperationBase()

Fields

g_bDupicateMsg

Field Value

bool

g_bRedrawKernel

Field Value

bool

g_bSkipAddEvent

Field Value

bool

g_bVerify

Field Value

bool

m_bIsHistoryMerge

Field Value

bool

Properties

Document

Property Value

Document

ExecutableOnHold

Property Value

bool

ExecuteMacro

Property Value

bool

GlobalOverride

Gets or sets the global session attributes.

Property Value

SessionOverride

IsDoingThread

Property Value

bool

IsHistoryMerge

Property Value

bool

MarkStatus

Gets the mark status.

Property Value

HistroyMarkStatus

Name

Gets the operation name.

Property Value

string

Override

Property Value

SessionOverride

Parameter

Property Value

object

Property Value

bool

SimStatus

Property Value

SimulationStatus

Property Value

bool

SkipEndOperation

Property Value

bool

Status

Gets or sets the operation status.

Property Value

OperationStatus

UseMacro

Property Value

bool

UseThread

Gets a value indicating whether operation use the thread.

Property Value

bool

View

Property Value

View

autoEvents

Gets or sets the event notifier from the waiting thread.

Property Value

AutoResetEvent[]

Methods

ClearCurrentMark(string)

Parameters

strFilePath string

ClearCurrentMark(IDocument)

Parameters

doc IDocument

ClearCurrentMark()

Create(string, View, object)

Create the operation.

Parameters

strType string The operation name. view View The operation parameter that is to represent the view. obParam object The operation parameter.

Returns

OperationBase

Create(string, IDocument, object)

Create the operation.

Parameters

strType string The operation name. doc IDocument The operation parameter that is to represent the document. obParam object The operation parameter.

Returns

OperationBase

Create(string, object)

Create the operation.

Parameters

strType string The operation name. obParam object The operation parameter.

Returns

OperationBase

Create(string)

Create the operation.

Parameters

strType string The operation name.

Returns

OperationBase

Execute()

Execute the operation.

GetInformation(XmlWriter)

Parameters

writer XmlWriter

Initialize(ShowVerifyResult)

Initialize delegate.

Parameters

delShowVerifyResult OperationBase.ShowVerifyResult The ShowVerifyResult delegate.

PostExecute()

PostExecute the operation.

RecordJournal(OperationBase)

Parameters

op OperationBase

StartSession()

Start the operation session, asynchronous calls.

StartSession(OperationBase, PostOperation)

Start the operation session, asynchronous calls.

Parameters

opSession OperationBase The operation. opPost OperationBase.PostOperation The post operation,

StartSession(OperationBase)

Start the operation session, asynchronous calls

Parameters

opSession OperationBase The operation.

StartSessionAndWait()

Start the operation session and wait until operation return.

StartSessionAndWait(OperationBase, PostOperation)

Start the operation session and wait until operation return.

Parameters

opSession OperationBase The operation. opPost OperationBase.PostOperation The post operation,

StartSessionAndWait(OperationBase)

Start the operation session and wait until operation return.

Parameters

opSession OperationBase The operation.

UseSession(string)

Use session object to execute operation

Parameters

strSessionName string the name of the session

Returns

ISession

raise_OnEndOperation(object, EventArgs)

Parameters

value0 object value1 EventArgs

raise_OnOperationStatusChanged(object, OperationStatusEventArgs)

Parameters

value0 object value1 OperationStatusEventArgs

OnEndOperation

Event Type

OperationBase.EndOperation

OnOperationStatusChanged

Occurs when [On Operation Status Changed].

Event Type

EventHandler<OperationStatusEventArgs>