Viewport routine

Discussion in 'AutoCAD' started by John Georgiev, Jun 9, 2004.

  1. I remember a while ago somebody ask this question and I made research in the
    usergroup database but I couldn't find it.
    There is the question:
    Is it possible when specific viewport is activated (let say with double
    clicking in it) specific command to be executed (let say to change the text
    style)?
    Thank you.
    John
     
    John Georgiev, Jun 9, 2004
    #1
  2. (vlr-miscellaneous-reactor data callbacks)

    Miscellaneous reactor events

    Event name
    Description

    :vlr-pickfirstModified
    The pickfirst selection set of the current document has been modified.

    :vlr-layoutSwitched
    The layout was switched.
     
    Allen Johnson, Jun 9, 2004
    #2
  3. Allen, that's OK if you switch layouts, but the question is if only the
    viewport is switched (in the same layout). Do you know a event for this?
     
    John Georgiev, Jun 9, 2004
    #3
  4. John Georgiev

    Doug Broad Guest

    I use a command reactor. Typical commands tracked:
    redraw, regen, pspace, and mspace.

    Set up a dummy reactor that reports to you the commands
    that occur when switching viewports and you'll get the idea.
     
    Doug Broad, Jun 9, 2004
    #4
  5. Thank you all. The work with Reactors is not very clear to me, but I'll try.
    Thank you again.
     
    John Georgiev, Jun 9, 2004
    #5
  6. John Georgiev

    R. Togores Guest

    Hi Luis:
    After returning from vacation and a computer change I find I lost your
    e-mail.
    Please contact me.
    Thanks,
    Reinaldo
     
    R. Togores, Sep 13, 2004
    #6
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.