VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GetEntity with filter?

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
434 Views, 0 Replies

GetEntity with filter?

Is there a way to apply filter to getEntity or do you just have to check
typeOf after selection?

vba:
ThisDrawing.Utility.GetEntity rtnEnt, vpt, strPrmpt

alternately is there a way to limit SelectOnScreen to a single selection?

vb.net:
Dim FilterType(0) As Short

Dim FilterData(0) As Object

m_acadDoc.Utility.Prompt(vbCrLf & "Select Dimension(s) :")

FilterType(0) = 0

FilterData(0) = "DIMENSION"

ssetObj.SelectOnScreen(FilterType, FilterData)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost