Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
Overview 
PCDLRN ActiveX DLL : EditWindow Object
EditWindow Object Members
Public Methods

This function puts the Edit window into command mode.

 

This method copies the selected command or commands from the Edit window to the Clipboard.

Draw path lines for a block of commands in the edit window
This cuts any text or commands selected in the Edit window and stores them in the Clipboard.
Switches edit window to DMIS mode
This function returns a string of the current command text for the specified command in Command.
Switches edit window to last execution report mode

 

This method pastes any PC-DMIS commands stored on the Clipboard into the Edit window at the current insertion point. You should first copy the commands using CopySelectedToClipboard

 

This pastes a mirrored pattern of a copied feature or group of features that are stored in the Clipboard. It pastes the feature or features at the current insertion point location using the pattern mirror defined in the SetPasteWithPatternMirror method.

Causes edit window to print current window contents

This function puts the Edit window into report mode.

If you specify a command object to select, it selects that entire command in the Edit window. Otherwise, it selects the entire command surrounding the cursor location in the Edit window.

You can use this method to perform automation tasks on a selected command. Once you have it selected, you can copy and paste it somewhere else in the Edit window using the CopySelectedToClipBoard and PasteFromClipboard methods.

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.

This function sets output options for printing the Edit window contents as a DMIS file.

 

This defines the mirror pattern to use when pasting with the PasteFromClipboardWithPattern method. It can mirror the pattern around the X, Y, or Z axis.

setPasteWithPatternParameters

This function allows you to set Edit window print options.

This function allows you to set extended Edit window print options.

Switches edit window to summary mode
This deselects any selected commands or text in the Edit window.
Public Properties
 
Represents the read-only PC-DMIS application. The Application object includes properties and methods that return top-level objects. For example, the ActivePartProgram property returns a PartProgram object.
Read Only: Returns caret position

The height of the edit window in screen pixels.

The left edge of the edit window, measured from the left edge of the Windows Desktop.
Returns the parent PartProgram of this object.

This property is TRUE if alignments are being shown in the edit window, FALSE otherwise.

This property is TRUE if comments are being shown in the edit window, FALSE otherwise.

This property is TRUE if dimensions are being shown in the edit window, FALSE otherwise.

This property is TRUE if features are being shown in the edit window, FALSE otherwise.

This property is TRUE if headers and footers are being shown in the edit window, FALSE otherwise.

This property is TRUE if hits are being shown in the edit window, FALSE otherwise.

This property is TRUE if moves are being shown in the edit window, FALSE otherwise.

This property is TRUE if only out-of-tolerance dimensions are being shown in the edit window, FALSE otherwise. If ShowDimensions is FALSE, this property is ignored.

This property is TRUE if tips are being shown in the edit window, FALSE otherwise.

The top edge of the edit window, measured from the top edge of the Windows Desktop.

This property is TRUE if the edit window is visible, FALSE otherwise.

The width of the edit window in screen pixels.

See Also