SelectOnScreen

SelectOnScreen

Anonymous
Not applicable
859 Views
3 Replies
Message 1 of 4

SelectOnScreen

Anonymous
Not applicable
I'm developing in C# and using the selectonscreen method of a selectionset. As folllows:

AcadSSCopy.SelectOnScreen(null,null);

For some reason it doesn't like my args. What is everybody else using?
0 Likes
860 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
I just use SelectOnScreen() in vb.net, works fine.
0 Likes
Message 3 of 4

Anonymous
Not applicable
For ActiveX methods, you use System.Type.Missing if
you don't want to specify a value for an optional param.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4923358@discussion.autodesk.com...
I'm developing in C# and using the selectonscreen method of a selectionset. As folllows:

AcadSSCopy.SelectOnScreen(null,null);

For some reason it doesn't like my args. What is everybody else using?
0 Likes
Message 4 of 4

Anonymous
Not applicable
Yea I know it works in VB.NET but C# dooen't play well with optional args.
0 Likes