: Autocad using VBA applications

Discussion in 'AutoCAD' started by arifsithick, Oct 26, 2004.

  1. arifsithick

    arifsithick Guest

    Sub: Autocad using VBA applications

    Problem : To rotate the UCSICON for filleting two lines in different co-ordinates.

    Dear Sir,

    I want to rotate the UCSICON about x-axis and y-axis through VBA codings. I can use the VPOINT options, but it gives the results only as SW isometric, SE isometric,
    NE isometric and NW isometric. By using VPOINT options, I couldn't fillet the two lines, which lies on the X-Z plane. So that I need to rotate the UCSICON . Any options in VBA codings to rotate the UCSICON please give me the suitable solutions to the following mail ids.

    1.
    2.
    3.
    4.

    ,
     
    arifsithick, Oct 26, 2004
    #1
  2. Hi,

    The UCSICON is purely a display to show the current UCS.

    You will not be able to modify the ICON except in as much if you modify the
    UCS, then the icon will display the results of the change.

    --


    Laurie Comerford
    CADApps
    www.cadapps.com.au

    codings. I can use the VPOINT options, but it gives the results only as SW
    isometric, SE isometric,
    the two lines, which lies on the X-Z plane. So that I need to rotate the
    UCSICON . Any options in VBA codings to rotate the UCSICON please give me
    the suitable solutions to the following mail ids.
     
    Laurie Comerford, Oct 26, 2004
    #2
  3. At the command line, "UCS n x 90 " will rotate the current UCS 90 degrees
    about the X axis, which is what you want. In VBA, there is not a way to
    rotate a UCS, you have to redefine it using 3 new points. Or you can use
    the VBA line
    SendCommand "UCS n x 90 "

    James


    codings. I can use the VPOINT options, but it gives the results only as SW
    isometric, SE isometric,
    the two lines, which lies on the X-Z plane. So that I need to rotate the
    UCSICON . Any options in VBA codings to rotate the UCSICON please give me
    the suitable solutions to the following mail ids.
     
    James Belshan, Oct 26, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.