TheSwamp

Code Red => .NET => Topic started by: dugk on January 13, 2010, 09:52:55 AM

Title: AutoLISP nentset equivalent in C#
Post by: dugk on January 13, 2010, 09:52:55 AM
Is there an equivalent to the AutoLISP nentset in C#?

the Help file definition for nentset:
Prompts the user to select an object (entity) by specifying a point, and provides access to the definition data contained within a complex object

thanks!
Title: Re: AutoLISP nentset equivalent in C#
Post by: fixo on January 13, 2010, 10:37:42 AM

Try GetNestedEntity
Code: [Select]
Editor ed =doc.Editor;
ed.GetNestedEntiy(...);

~'J'~
Title: Re: AutoLISP nentset equivalent in C#
Post by: SteveK on January 13, 2010, 05:29:43 PM
I like the question, can I ask more; Is there a reference out there that has C# equivalents? Because I would love to use what I know from autolisp as a stepping stone to AutoCAD C#.
Title: Re: AutoLISP nentset equivalent in C#
Post by: fixo on January 14, 2010, 04:11:33 AM
I like the question, can I ask more; Is there a reference out there that has C# equivalents? Because I would love to use what I know from autolisp as a stepping stone to AutoCAD C#.

I don't know such documentation, sorry

~'J'~
Title: Re: AutoLISP nentset equivalent in C#
Post by: SteveK on January 14, 2010, 04:01:05 PM
No, it was probably a bit far fetched, what with classes, pointers etc..
Title: Re: AutoLISP nentset equivalent in C#
Post by: fixo on January 15, 2010, 04:38:27 AM
Take a look at on-line doc:
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html

~'J'~