Class PmpSelectionBoxDisplayingEventArgs
- Namespace
- Hymma.Solidworks.Addins
- Assembly
- Hymma.Solidworks.Addins.dll
event argument for Displaying event
public class PmpSelectionBoxDisplayingEventArgs : PmpControlDisplayingEventArgs
- Inheritance
-
PmpSelectionBoxDisplayingEventArgs
- Inherited Members
Properties
AllowMultipleSelectOfSameEntity
Gets or sets whether the same entity can be selected multiple times in this selection box
public bool AllowMultipleSelectOfSameEntity { get; set; }
Property Value
- bool
True if the same entity can be selected multiple times in this selection box, false if not
Remarks
You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed
Filters
array of SolidWorks.Interop.swconst.swSelectType_e to allow selection of specific types only.You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed.
public IEnumerable<swSelectType_e> Filters { get; set; }
Property Value
- IEnumerable<swSelectType_e>
Remarks
| ----- Face If you want a body to appear in the selection box, then use swSelSOLIDBODIESFIRST. |
| ----- Component If you want a face to appear in the selection box, then use swSELCOMPSDONTOVERRIDE. |
| ----- Component If you want a body to appear in the selection box, then use swSelSOLIDBODIESFIRST. |
| ----- Component If you want a face to appear in the selection box, then use swSelCOMPSDONTOVERRIDE. If you want a body to appear in the selection box, then use swSelSOLIDBODIESFIRST. |
Height
height of this selection box in proerty manager page
public short Height { get; set; }
Property Value
Remarks
You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed
SelectionColor
Sets the color for selections made in this selection box on the PropertyManager page.
public SysColor SelectionColor { get; set; }
Property Value
Remarks
You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed.
SingleItemOnly
Gets or sets whether this selection box is for single or multiple items.
public bool SingleItemOnly { get; set; }
Property Value
Remarks
You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed
Style
style of this selection box as defined by bitwise SelectionBoxStyles
public int Style { get; set; }
Property Value
Remarks
this property must be set before property manager page is displayed. As a result setting this property will update the PmpSelectionBox on the next session of displaying the property manager page
Methods
ItemText(short)
Gets the text of the specified item in this selection box.
public string ItemText(short index)
Parameters
indexshortPosition of the item in the 0-based list; -1 to get the currently selected item