.NET

Reply
Valued Contributor
michael.vanhoose
Posts: 71
Registered: ‎09-26-2007
Message 1 of 3 (169 Views)
Accepted Solution

Can you do a selection set based on Extended Dictionary on a Entity?

169 Views, 2 Replies
01-16-2013 07:46 AM

'' Get the current document editor

Dim acDocEd AsEditor = Application.DocumentManager.MdiActiveDocument.Editor

 

'' Create a TypedValue array to define the filter criteriaDim acTypValAr(0) AsTypedValue

acTypValAr.SetValue(

NewTypedValue(DxfCode.?????????, _

 

"???"), 0)

 

'' Assign the filter criteria to a SelectionFilter objectDim acSelFtr As SelectionFilter = NewSelectionFilter(acTypValAr)

 

'' Request for objects to be selected in the drawing areaDim acSSPrompt AsPromptSelectionResult

acSSPrompt = acDocEd.GetSelection(acSelFtr)

'' If the prompt status is OK, objects were selectedIf acSSPrompt.Status = PromptStatus.OK ThenDim acSSet AsSelectionSet = acSSPrompt.Value

Application.ShowAlertDialog(

"Number of objects selected: "& _

acSSet.Count.ToString())

Else

Application.ShowAlertDialog(

"Number of objects selected: 0")

 

EndIf

Can you do a selection set based on Extended Dictionary on a Entity?

 

No. There is no criteria to filter selection set with Extension Dictionary.

Moderator
Alexander.Rivilis
Posts: 1,417
Registered: ‎04-09-2008
Message 2 of 3 (162 Views)

Re: Can you do a selection set based on Extended Dictionary on a Entity?

01-16-2013 09:03 AM in reply to: michael.vanhoose

Can you do a selection set based on Extended Dictionary on a Entity?

 

No. There is no criteria to filter selection set with Extension Dictionary.


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Valued Contributor
michael.vanhoose
Posts: 71
Registered: ‎09-26-2007
Message 3 of 3 (147 Views)

Re: Can you do a selection set based on Extended Dictionary on a Entity?

01-16-2013 11:14 AM in reply to: Alexander.Rivilis

Thanks for the reply

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.