PC-DMIS 2019 R2 Object Library
selectCommands Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
StartCommand
This defines the first command to select.
endCommand
This defines the last command to select.
PCDLRN ActiveX DLL > EditWindow Object : selectCommands Method

Glossary Item Box

Description

This behaves the same as SelectCommand, except you can use this to select a block of commands. You do this by defining a start command and an end command. This selects those commands and everything in between.

Syntax

Visual Basic
Public Sub selectCommands( _
   ByVal StartCommand As Command, _
   ByVal endCommand As Command _
) 

Parameters

StartCommand
This defines the first command to select.
endCommand
This defines the last command to select.

Remarks

Note that this method cannot select the entire contents of a measured feature as the endCommand parameter. For this reason, it is recommended that you use a different feature type for the endCommand parameter.

Example

For an example, see the UnselectAll method.

See Also

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.