OobjectDBX change Papaerspace viewport content

Discussion in 'AutoCAD' started by luc_vanlinden, Jan 17, 2005.

  1. HEllo

    I'm wondering if it is possible via OBJECTDBX to change the content of an existing paperspaceviewport. Thus I need to change the (modelspace) center point of a paperspaceviewport.

    I've been looking to access the dxf codes but this seems not be possible through objectdbx.

    tx

    in advance

    Luc
     
    luc_vanlinden, Jan 17, 2005
    #1
  2. luc_vanlinden

    Zatopek Guest

    Yes it is possible.

    Open the viewport for write. an call setViewTarget with the new centerpoint

    es = viewport->setViewTarget(pC);
     
    Zatopek, Jan 18, 2005
    #2
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.