Table of Contents

Enum PmpOptions

Namespace
Hymma.Solidworks.Addins
Assembly
Hymma.Solidworks.Addins.dll

Options for PropertyManager pages. Bitmask.

[Flags]
public enum PmpOptions

Fields

AbortCommands = 1024

Abort active command when PropertyManager page is displayed

CanEscapeCancel = 4096

When a user presses the Esc key, the PropertyManager page will close the page; this enumerator only applies to pages that do not contain selection boxes

CancelButton = 2

include cancel button

CloseDialogButton = 8

include close dialog button

DisablePageBuildDuringHandlers = 32768

Paint the PropertyManager page after control returns to SOLIDWORKS from the add-in's handler; may help eliminate any flickering of the PropertyManager page of the add-in changes the visibility of numerous controls on the PropertyManager page

DisableSelection = 256

disable selection

GrayOutDisabledSelectionListboxes = 65536

Controls whether a PropertyManager page should show its disabled selection list boxes so that they appear grayed out by coloring their backgrounds the same color as the divider box background.

Disabled selection list boxes should be hidden; graying them out is an exception to SOLIDWORKS standard practice.

HandleKeystrokes = 8192

Enables processing of keystrokes while the PropertyManager page is displayed; disabled by default

LockedPage = 4

Specify the Locked option in the Options parameter when you create your PropertyManager page. It is important that when a handler (such as Clicked or Closing) is finished and control returns to SOLIDWORKS that the PropertyManager page is still there. If the PropertyManager page is not there, SOLIDWORKS might crash. Some methods try to close the PropertyManager page, but you can avoid this scenario by creating the PropertyManager page as Locked.

MultiplePages = 16

supports multiple tabs, will show arrows on top of property manager page

OkayButton = 1

ok or green check mark button

PreviewButton = 128

add a preview button, which is an eye on top of the page

PushpinButton = 32

add a push pin button

RedoButton = 16384

redo button

SupportsChainSelection = 131072

If set, then show Select Chain:
on the shortcut menu if a sketch entity is currently selected.

  • or -
    if nothing is selected, but the cursor is over a sketch entity when the right-mouse button was clicked.
SupportsIsolate = 262144

If set, then show Isolate item in right-mouse button menu of assembly components. This option must be used with LockedPage.

UndoButton = 2048

undo button

WhatsNew = 512

Indicates that you want a What's New button to appear on your PropertyManager page