ThisDrawing.ActiveSelectionSet c#

ThisDrawing.ActiveSelectionSet c#

Anonymous
Not applicable
465 Views
2 Replies
Message 1 of 3

ThisDrawing.ActiveSelectionSet c#

Anonymous
Not applicable

How migrate VBA ThisDrawing.ActiveSelectionSet to c#?

0 Likes
466 Views
2 Replies
Replies (2)
Message 2 of 3

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

first you can use the COM-based components as well in C# as you used them in VBA

In managed access you can look into the namespace Autodesk.AutoCAD.EditorInput and there you find .SelectImplied (what is currently within your Pickfirst-SelectionSet) or the function .SetImpliedSelection (which set's some objects you like to make them selected/gripped).

 

BTW: there is a special forum for .NET with AutoCAD >>>there<<< (for your next questions 😉 ).

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 3 of 3

Anonymous
Not applicable

Thank you for your reply Alfred.
Very helpful.

0 Likes