Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Model Space to Paper Space

4 REPLIES 4
Reply
Message 1 of 5
jregier
148 Views, 4 Replies

Model Space to Paper Space

using LISP, how would I translate a point from Model space to Paper Space.

Jim
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: jregier

I am no expert in tranlating points, but this
seemed to work with a quick test.  No oddball ucs or anything like
that.

 

(trans Pt 2 3)

 

-Jason


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
using
LISP, how would I translate a point from Model space to Paper Space.

Jim

Message 3 of 5
jregier
in reply to: jregier

Jason
I do have a DVIEW UCS in the Model space viewport.
ive tried different combos, - cant seem to get the translate properly. There may also be a problem when there is more than 1 viewport or Model Tab.
Jim
Message 4 of 5
Anonymous
in reply to: jregier

J
while in MSPACE through a PSPACE viewport I use this with much success:
(setq PsPoint (trans (trans MsPoint 1 2) 2 3))
work fine>
Hope this helps
cheers
Steve

jregier wrote in message
news:f091eb7.1@WebX.maYIadrTaRb...
| Jason
| I do have a DVIEW UCS in the Model space viewport.
| ive tried different combos, - cant seem to get the translate properly.
There may also be a problem when there is more than 1 viewport or Model Tab.
| Jim
|
Message 5 of 5
jregier
in reply to: jregier

Steve; thanks, I realized from your reply that I have to do the translate while in Model space, - I was going into model space, defining a point, then trying to trans that point after returning to Pspace. It works fine now - thanks again.
Jim

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost