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

SelectOnScreen

3 REPLIES 3
Reply
Message 1 of 4
thenrich
466 Views, 3 Replies

SelectOnScreen

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?
3 REPLIES 3
Message 2 of 4
ChrisArps
in reply to: thenrich

I just use SelectOnScreen() in vb.net, works fine.
Message 3 of 4
Anonymous
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?
Message 4 of 4
thenrich
in reply to: thenrich

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

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