Results 1 to 5 of 5

Thread: Moving Objects Between Model Space & Paper Space

  1. #1
    JFord Guest

    Moving Objects Between Model Space & Paper Space

    My end result is I want a routine that will move selected objects from paper space to model space (or vice versa), such that the paper space plot appearance remains unchanged.
    For instance, if I have a circle in paper space whose center is 1" to the right and 1" above the lower left corner of a viewport, I want the routine to move the circle to model space and place it such that in the viewport the center of the circle is 1" to the right and 1" above the lower left corner of the viewport.
    I'm thinking there must be a viewport (or other object) property that gives a model space reference point for the viewport (for example, a model space (x,y) point that is at the exact center or corner of the viewport). I've so far been unable to determine what property I need. Any Ideas.
    Thanks!

  2. #2
    Matt W Guest
    Express Tools --> Layout Tools --> Change Space

    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "JFord" <nospam@address.withheld> wrote in message
    news:17273303.1102424315077.JavaMail.jive@jiveforu m2.autodesk.com...
    My end result is I want a routine that will move selected objects from
    paper space to model space (or vice versa), such that the paper space plot
    appearance remains unchanged.
    For instance, if I have a circle in paper space whose center is 1" to
    the right and 1" above the lower left corner of a viewport, I want the
    routine to move the circle to model space and place it such that in the
    viewport the center of the circle is 1" to the right and 1" above the
    lower left corner of the viewport.
    I'm thinking there must be a viewport (or other object) property that
    gives a model space reference point for the viewport (for example, a model
    space (x,y) point that is at the exact center or corner of the viewport).
    I've so far been unable to determine what property I need. Any Ideas.
    Thanks!

  3. #3
    sdanis Guest
    Express tools has "change space" in the Layout tools option.
    That should do it.
    Hope this helps

  4. #4
    JFord Guest
    Thanks for the reply. Let me ask another question. How to I access express tools from VBA?

  5. #5
    Jeff Mishler Guest
    To build your own, look at the TranslateCoordinates method.

    --
    Jeff
    check out www.cadvault.com
    "JFord" <nospam@address.withheld> wrote in message
    news:17273303.1102424315077.JavaMail.jive@jiveforu m2.autodesk.com...
    My end result is I want a routine that will move selected objects from
    paper space to model space (or vice versa), such that the paper space plot
    appearance remains unchanged.
    For instance, if I have a circle in paper space whose center is 1" to
    the right and 1" above the lower left corner of a viewport, I want the
    routine to move the circle to model space and place it such that in the
    viewport the center of the circle is 1" to the right and 1" above the
    lower left corner of the viewport.
    I'm thinking there must be a viewport (or other object) property that
    gives a model space reference point for the viewport (for example, a model
    space (x,y) point that is at the exact center or corner of the viewport).
    I've so far been unable to determine what property I need. Any Ideas.
    Thanks!

Similar Threads

  1. ucs in paper space and model space
    By Richard Fox in forum AutoCAD
    Replies: 3
    Last Post: 07-10-2005, 05:10 PM
  2. Line styles from model space to paper space
    By A Carta in forum AutoCAD
    Replies: 1
    Last Post: 06-30-2005, 05:10 PM
  3. Paper Space vs. Model Space
    By Vlad in forum Drafting
    Replies: 49
    Last Post: 03-23-2005, 08:38 PM
  4. Model space vs. Paper Space
    By totoropi in forum Printing
    Replies: 1
    Last Post: 02-04-2005, 11:56 PM
  5. model or paper space then react
    By Clarence in forum Customization
    Replies: 6
    Last Post: 01-13-2005, 05:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum