SmartLineTool MethodsCognex VisionPro 9.22

The SmartLineTool type exposes the following members.

Methods

  NameDescription
Public methodCheckRunConditionsSelf

Performs RunCondition check by the tool itself.

(Overrides ToolBase CheckRunConditionsSelf .)
Public methodCopyBase

Create a copy of this tool.

(Overrides ToolBase CopyBase(ToolCopyModeConstants).)
Public methodCreateCurrentRecord

Creates a new set of records that represents the tool's current state.

(Overrides ToolBase CreateCurrentRecord .)
Public methodCreateLastRunRecord

Creates a new set of records that represents the tool's last-run state.

(Overrides ToolBase CreateLastRunRecord .)
Public methodCreateTrainDataFromLastRunRecord

Cognex Internal Use Only.

Public methodEquals
Compares the equality of this object with another.
(Overrides ToolBase Equals(Object).)
Public methodGetContainerAsILinkManager

Get the container which contains the Tool.

(Overrides ToolBase GetContainerAsILinkManager .)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ToolBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodIsCheckRunConditionsDelegateToOwner

Check if tool checks its RunCondition by its owner.

(Overrides ToolBase IsCheckRunConditionsDelegateToOwner .)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodRun

Runs the tool. This method is guaranteed to not throw an exception. Any exception generated in the course of running the tool will be caught and a string representation of that exception will be packaged in the Message property of the tool's RunStatus. Should this occur, the Result property of the tool's RunStatus will be set to Error. It is the user's responsibility to examine the tool's RunStatus after calling Run.

(Overrides ToolBase Run .)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Public methodVerify

Verifies whether the provided train data is still in valid state.

Top
See Also