.NET

Reply
Distinguished Contributor
thenrich
Posts: 267
Registered: ‎12-03-2003
Message 1 of 4 (217 Views)

SelectOnScreen

217 Views, 3 Replies
08-09-2005 05:29 AM
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?
Distinguished Contributor
ChrisArps
Posts: 311
Registered: ‎07-29-2004
Message 2 of 4 (217 Views)

Re: SelectOnScreen

08-09-2005 11:10 AM in reply to: thenrich
I just use SelectOnScreen() in vb.net, works fine.
*Tony Tanzillo
Message 3 of 4 (217 Views)

Re: SelectOnScreen

08-09-2005 11:18 AM in reply to: thenrich
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?
Distinguished Contributor
thenrich
Posts: 267
Registered: ‎12-03-2003
Message 4 of 4 (217 Views)

Re: SelectOnScreen

08-09-2005 11:19 AM in reply to: thenrich
Yea I know it works in VB.NET but C# dooen't play well with optional args.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.