SnapRotationAngle

Discussion in 'AutoCAD' started by srinivasan, Mar 26, 2005.

  1. srinivasan

    srinivasan Guest

    Hello all

    I am rotating the snapangle of the drawing using the
    SnapRotationAngle property of the active view port.
    It works fine but the problem i am facing is that the drawing
    changes its zoom display ( it automatically does zoom all).Is
    there anyway to prevent this.

    I require similar to autocad snap command and rotate option

    Dim newBasePoint(0 To 1) As Double
    rotationangle=0.5
    ThisDrawing.ActiveViewport.SnapBasePoint = newBasePoint
    ThisDrawing.Regen acActiveViewport
    ' Change the snap rotation angle
    ThisDrawing.ActiveViewport.SnapRotationAngle = rotationangle

    ' reset the viewport
    ThisDrawing.ActiveViewport = ThisDrawing.ActiveViewport

    Thanks in advance
    Regards
    Sri
     
    srinivasan, Mar 26, 2005
    #1
  2. srinivasan

    srinivasan Guest

    Is there any way to do this.

    regards
    Sri
     
    srinivasan, Mar 28, 2005
    #2
  3. srinivasan

    srinivasan Guest

    hi i got it in another way.
    The system variable snapang does it well.

    regards
    Sri
     
    srinivasan, Mar 31, 2005
    #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.
Similar Threads
There are no similar threads yet.
Loading...