Hide Table of Contents
AllowMultipleSelectOfSameEntity Property (IPropertyManagerPageSelectionbox)

Gets or sets whether the same entity can be selected multiple times in this selection box.

.NET Syntax

Visual Basic (Declaration) 
Property AllowMultipleSelectOfSameEntity As Boolean
Visual Basic (Usage) 
Dim instance As IPropertyManagerPageSelectionbox
Dim value As Boolean
 
instance.AllowMultipleSelectOfSameEntity = value
 
value = instance.AllowMultipleSelectOfSameEntity
C# 
bool AllowMultipleSelectOfSameEntity {get; set;}
C++/CLI 
property bool AllowMultipleSelectOfSameEntity {
   bool get();
   void set (bool value);
}

Return Value

True if the same entity can be selected multiple times in this selection box, false if not

Example

Id = ID_SELECTION2

            controlType = swControlType_Selectionbox

            caption = "Multi-Select"

            alignment = swControlAlign_Indent

            options = swControlOptions_Visible + swControlOptions_Enabled

            tip = "Select faces and vertices"

            Set swControl = m_Group1.AddControl(Id, controlType, caption, alignment, options, tip)

            If Not swControl Is Nothing Then

                Set m_Selection2 = swControl

                

                ' Both of the following properties must be set to

                ' allow multiple selections.

                ' Use the control key or the Append parameter in the

                ' appropriate Select method or IModelDocExtension::SelectById2

                ' to select multiple items in this selection box.

                

                m_Selection2.AllowMultipleSelectOfSameEntity = True

                m_Selection2.SingleEntityOnly = false

                

                filterArray(0) = swSelFACES

                filterArray(1) = swSelVERTICES

                m_Selection2.SetSelectionFilters (filterArray)

                

                m_Selection2.Height = 50

                m_Selection2.mark = 2

            End If

Example

Remarks

You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed. See IPropertyManagerPage2::Show2 and IPropertyManagerPage2::Close.

See Also

Availability

SolidWorks 2006 FCS, Revision Number 14.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   AllowMultipleSelectOfSameEntity Property (IPropertyManagerPageSelectionbox)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.