Jump to content

layout and model in same time!


Ibrahim

Recommended Posts

Hello everybody,

 

Ineed te see the layout in the same time when i am drawing in the model.is there away to do that?And can i make a link from the model guide to certain layout ( to see more details for example)?

 

Im using autocad 2011.

 

Thanks

Link to comment
Share on other sites

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

  • Dana W

    9

  • alanjt

    6

  • ReMark

    3

  • Ibrahim

    2

Top Posters In This Topic

You want the layout open at the exact same time as model space? I not sure that is possible even using two monitors.

 

Why would that even be necessary? Can you elaborate?

Link to comment
Share on other sites

If you are in paperspace and looking at your layout you can double click inside your viewport, and that will enable you to work in modelspace while seeing everything in your layout simultaneously. Depending on what you are trying to do in model space you may need to unlock the viewport. For drawing or moving objects you do not need to unlock it. For rescaling or changing perspective view you would need to unlock it.

Link to comment
Share on other sites

There is a reason some of us might want to do this, but I guess we are not numerous enough for AutoDesk to include this option.

 

Frequently, I am limited by local government requirements to particular scale and paper sizes. This makes drawing a 32 acre ALTA survey kinda squeezy on a 24x36 page at 1:100 scale.

 

My last client had me go back and add information and objects no less than 23 times over the space of one year. At least three times I had to re-design the layout page and where I placed some items in modelspace because there were several data tables and surveyor's notes in paperspace that were overlapping the new stuff in modelspace.

 

I found myself flicking back and forth from model to paper, and then either moving something in model, or paperspace.

 

So, when I am concerned about some things not fitting in my layout, if I have to make additions around the perimeter of my modelspace drawing, I go into modelspace through my viewport and add a rectangle into modelspace closely fitting the border of the viewport. Now, when I add things in modelspace I know where my viewport is.

 

Otherwise, the only way I know to do what you want is to open the drawing on a second computer. You will have to open it Read-Only on the second computer, and you won't see the updates real time.

 

At any rate, the short answer is nope.

Link to comment
Share on other sites

...

 

So, when I am concerned about some things not fitting in my layout, if I have to make additions around the perimeter of my modelspace drawing, I go into modelspace through my viewport and add a rectangle into modelspace closely fitting the border of the viewport. Now, when I add things in modelspace I know where my viewport is.

 

..

 

I do this for every project I have. And what Dana talks about is the reason I have no annotations at all in Layout - everything no matter what is in Model Space.

Link to comment
Share on other sites

Get a 40" widescreen LCD and use the Clean Screen (Ctrl+0) option in AutoCAD. You'll have the most screen real estate to work with and you'll be able to see both your layout and what you are doing while working inside a viewport (in model space).

Link to comment
Share on other sites

Get a 40" widescreen LCD and use the Clean Screen (Ctrl+0) option in AutoCAD. You'll have the most screen real estate to work with and you'll be able to see both your layout and what you are doing while working inside a viewport (in model space).
This only makes me feel better for a few hours, then I go looking for more space, ;) and it's not there.

 

When I switched from a 17" square-ish CRT to a 24" wide body flat screen, I was amazed at the space I had to draw stuff. It seems though, my ability to pay for new technology is somehow tied to my slowly increasing reading glasses perscription. Sometimes I carry my 36" flat panel TV upstairs and use that for a monitor so I don't have to keep taking my glasses off to find the stuff the dog stole from my side desk.:lol:

 

Sadly, I cannot use the TV this time of year. It's football season and my wife is wearing all of her burgundy and gold clothing with little embroidered native American icons.

 

"Hello, Mr. Client. I'm sorry, Ill have to get back to you about the third week of January."

Link to comment
Share on other sites

I do this for every project I have. And what Dana talks about is the reason I have no annotations at all in Layout - everything no matter what is in Model Space.

 

I also exclude the tables, schedules, and notes from this surrogate viewport, a muti-sided polygon, of course.

Link to comment
Share on other sites

There's always a 46" or 55" LCD T.V. then. That should give you plenty of visual room to work with. Of course you'll have to sit 6 feet or more away from the screen! LOL

Link to comment
Share on other sites

There's always a 46" or 55" LCD T.V. then. That should give you plenty of visual room to work with. Of course you'll have to sit 6 feet or more away from the screen! LOL

Yeah but the resolution is all the same so you'll be seeing the exact same amount of space. :)

Link to comment
Share on other sites

I was looking at an 80" LED TV the other day. The hardware pixels seem the size of pennies from less than 15 feet away.

 

I am going to try and wi-fi into the Jumbotron at Fedex field. That sucker is bigger than the hospital I was born in.

Link to comment
Share on other sites

Sadly, I cannot use the TV this time of year. It's football season and my wife is wearing all of her burgundy and gold clothing with little embroidered native American icons.

 

"Hello, Mr. Client. I'm sorry, Ill have to get back to you about the third week of January."

 

I'm not trying to be petty or negative but I don't think that team will be playing that late into the season.:)

Link to comment
Share on other sites

I'm not trying to be petty or negative but I don't think that team will be playing that late into the season.:)
That won't stop wifeypoo from watching the stupidbowl on my big "Monitor".:lol:
Link to comment
Share on other sites

That won't stop wifeypoo from watching the stupidbowl on my big "Monitor".:lol:

 

Bummer. That means no "big Monitor" until Feb. 5. Time to start writing apologies and a wish list to Santa. (you may not have to apologize to Santa for behavior slips during the year but I usually start in early Nov.):oops:

Link to comment
Share on other sites

Just posted @ Autodesk...

 

(defun c:VPO (/ _trans _cornersFromBBox ss i ent data ent2 lst)
 ;; Viewport Outline
 ;; Required subroutines: PCS2WCS (and all subs it requires)
 ;; PCS2WCS by gile (http://www.theswamp.org/index.php?topic=29231.msg347755#msg347755)
 ;; Alan J. Thompson, 12.08.11

 (vl-load-com)

 (defun _trans (p) (cons 10 (PCS2WCS p ent)))

 (defun _cornersFromBBox (o / a b)
   (vla-getboundingbox o 'a 'b)
   (setq a (_trans (vlax-safearray->list a))
         b (_trans (vlax-safearray->list b))
   )
   (list a (list (car a) (cadr a) (caddr b)) b (list (car b) (cadr b) (caddr a)))
 )

 (if (setq ss (ssget '((0 . "VIEWPORT"))))
   (repeat (setq i (sslength ss))
     (setq ent  (ssname ss (setq i (1- i)))
           data (entget ent)
     )

     (if (if (setq ent2 (cdr (assoc 340 data)))
           (setq lst (apply 'append
                            (mapcar '(lambda (x)
                                       (if (eq (car x) 10)
                                         (list (_trans (cdr x)))
                                       )
                                     )
                                    (entget ent2)
                            )
                     )
           )
           (setq lst (_cornersFromBBox (vlax-ename->vla-object ent)))
         )
       (entmakex (append (list '(0 . "LWPOLYLINE")
                               '(100 . "AcDbEntity")
                               '(100 . "AcDbPolyline")
                               (cons 90 (length lst))
                               '(70 . 1)
                               '(410 . "Model")
                         )
                         lst
                 )
       )
     )
   )
 )
 (princ)
)



;; WCS2PCS (gile)
;; Translates a point WCS coordinates to the PaperSpace CS according to
;; the specified Viewport
;; 
;; (WCS2PCS pt vp) is the same as (trans (trans pt 0 2) 2 3) when vp is active
;;
;; Arguments
;; pt : a point
;; vp : the viewport (ename or vla-object)

(defun WCS2PCS (pt vp / elst ang nor scl mat)
 (vl-load-com)
 (and (= (type vp) 'VLA-OBJECT)
      (setq vp (vlax-vla-object->ename vp))
 )
 (setq pt   (trans pt 0 0)
       elst (entget vp)
       ang  (cdr (assoc 51 elst))
       nor  (cdr (assoc 16 elst))
       scl  (/ (cdr (assoc 41 elst)) (cdr (assoc 45 elst)))
       mat  (mxm
              (list (list (cos ang) (- (sin ang)) 0.0)
                    (list (sin ang) (cos ang) 0.0)
                    '(0.0 0.0 1.0)
              )
              (mapcar (function (lambda (v) (trans v nor 0 T)))
                      '((1.0 0.0 0.0) (0.0 1.0 0.0) (0.0 0.0 1.0))
              )
            )
 )
 (mapcar '+
         (vxs (mxv mat (mapcar '- pt (cdr (assoc 17 elst)))) scl)
         (vxs (cdr (assoc 12 elst)) (- scl))
         (cdr (assoc 10 elst))
 )
)

;; PCS2WCS (gile)
;; Translates a point PaperSpace coordinates to WCS coordinates
;; according to the specified viewport
;;
;; (PCS2WCS pt vp) is the same as (trans (trans pt 3 2) 2 0) when vp is active
;;
;; Arguments
;; pt : a point
;; vp : the viewport (ename or vla-object)

(defun PCS2WCS (pt vp / ang nor scl mat)
 (vl-load-com)
 (and (= (type vp) 'VLA-OBJECT)
      (setq vp (vlax-vla-object->ename vp))
 )
 (setq pt   (trans pt 0 0)
       elst (entget vp)
       ang  (- (cdr (assoc 51 elst)))
       nor  (cdr (assoc 16 elst))
       scl  (/ (cdr (assoc 45 elst)) (cdr (assoc 41 elst)))
       mat  (mxm
              (mapcar (function (lambda (v) (trans v 0 nor T)))
                      '((1.0 0.0 0.0) (0.0 1.0 0.0) (0.0 0.0 1.0))
              )
              (list (list (cos ang) (- (sin ang)) 0.0)
                    (list (sin ang) (cos ang) 0.0)
                    '(0.0 0.0 1.0)
              )
            )
 )
 (mapcar '+
         (mxv mat
              (mapcar '+
                      (vxs pt scl)
                      (vxs (cdr (assoc 10 elst)) (- scl))
                      (cdr (assoc 12 elst))
              )
         )
         (cdr (assoc 17 elst))
 )
)

;; VXS Multiply a vector by a scalar
;;
;; Arguments : a vector and a real

(defun vxs (v s) (mapcar (function (lambda (x) (* x s))) v))

;; VXV (gile)
;; Returns the dot product of two vectors (real)
;;
;; Arguments : two vectors
;; return : a real number

(defun vxv (v1 v2) (apply '+ (mapcar '* v1 v2)))

;; TRP
;; transposes a matrix -Doug Wilson-
;;
;; Argument : a matrix
;; return : a matrix

(defun trp (m) (apply 'mapcar (cons 'list m)))

;; MXV
;; Applies a transformation matrix to a vector  -Vladimir Nesterovsky-
;;
;; Arguments : une matrice et un vecteur
;; return : a vector

(defun mxv (m v)
 (mapcar '(lambda (r) (vxv r v)) m)
)

;; MXM
;; Multiplies (combinates) two matrices -Vladimir Nesterovsky-
;;
;; Arguments : deux matrices
;; return : a matrix

(defun mxm (m q)
 (mapcar '(lambda (r) (mxv (trp q) r)) m)
)

Link to comment
Share on other sites

Bummer. That means no "big Monitor" until Feb. 5. Time to start writing apologies and a wish list to Santa. (you may not have to apologize to Santa for behavior slips during the year but I usually start in early Nov.):oops:

 

You must not be married.

 

I have found the apology strategy to be a complete failure with Santa, but if I start early enough each year, say about 6:00 AM on Dec. 26th, and carry on continuously until the following Dec. 25th, sometimes it works with Wifeypoo.

Link to comment
Share on other sites

You must not be married.

 

I have found the apology strategy to be a complete failure with Santa, but if I start early enough each year, say about 6:00 AM on Dec. 26th, and carry on continuously until the following Dec. 25th, sometimes it works with Wifeypoo.

HaHa, you are obviously married. :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...