• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Distinguished Contributor
    Posts: 267
    Registered: ‎12-03-2003

    SelectOnScreen

    155 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?
    Please use plain text.
    Distinguished Contributor
    Posts: 311
    Registered: ‎07-29-2004

    Re: SelectOnScreen

    08-09-2005 11:10 AM in reply to: thenrich
    I just use SelectOnScreen() in vb.net, works fine.
    Please use plain text.
    *Tony Tanzillo

    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?
    Please use plain text.
    Distinguished Contributor
    Posts: 267
    Registered: ‎12-03-2003

    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.
    Please use plain text.