How to set View in a ViewPort

Discussion in 'AutoCAD' started by Joseph Pods, Dec 28, 2004.

  1. Joseph Pods

    Joseph Pods Guest

    I don't want to use SendCommand.

    I want to draw Leader line with Text. The problem I have is to draw Leader
    line, I have to be in Plan View (eg Top, Bottom, Right, Left, Front, Back).
    How do I set the active viewport to one of this Plan View?

    I also want to extend that so user can specify the Plan View by specifying
    the UCS X and Y vectors.
    Eg user will specify X (0,1,0) and Y (0,0,1) ==> This is actually
    equivalent to Right hand side view

    What is the relationship between Viewport, View and UCS? When I change to
    Top view (Command: -View _Top), the UCS is actually different when I change
    to Right view (Command: -View _Right).
    I look in the VBA Object model for View, there are Direction, Center and
    Target Properties, what are they?
     
    Joseph Pods, Dec 28, 2004
    #1
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.