.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lisp function return selection set

1 REPLY 1
SOLVED
Reply
Message 1 of 2
wesbird
507 Views, 1 Reply

lisp function return selection set

Hi, 

  Is there any way to build a LISP function in .Net to return a selection set? 

 

 

 

Thank you, 

Wes

 

Windows 10 64 bit, AutoCAD (ACA, Map) 2023
1 REPLY 1
Message 2 of 2
chiefbraincloud
in reply to: wesbird

Short answer is Yes, and there isn't anything tricky about it.  You just declare a function with the LispFunction attribute, which has a single argument Args as ResultBuffer (can be nil or empty) and return type of SelectionSet. 

 

Then build your selection set in any of the many ways you can do so in .NET and return it.

Dave O.                                                                  Sig-Logos32.png

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost