Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/27/2019 in all areas

  1. Here's a start - (defun c:col2lay ( / c i l s x ) (if (setq s (ssget "_X" '((410 . "Model")))) (repeat (setq i (sslength s)) (setq i (1- i) x (entget (ssname s i)) l (cond ( (setq c (cdr (assoc 420 x))) (LM:true->rgb c)) ( (setq c (cdr (assoc 062 x))) (list c)) ( '(256) ) ) ) (entmod (subst (cons 8 (apply 'strcat (mapcar 'strcat '("Layer_""_""_") (mapcar 'itoa l)))) (assoc 8 x) x)) ) ) (princ) ) ;; True -> RGB - Lee Mac ;; Args: c - [int] True Colour (defun LM:true->rgb ( c ) (mapcar '(lambda ( x ) (lsh (lsh (fix c) x) -24)) '(8 16 24)) ) (princ)
    1 point
  2. Give the region command and then select all the circles. After converting the circles to regions give the union command and select all the regions. The resulting shape is a region. If you want it as a single polyline then explode the shape which will make it a bunch of arcs. YOu can then use pedit join (J) to join the arcs into a single polyline.
    1 point
  3. My $0.05 use chspace like the others draw a rectangle just inside the viewport border use copy to clipboard the rectang then you can paste it to the other layouts saving a bit of time.
    1 point
  4. One way I've accomplished this is to create a viewport at a much larger scale. Use one or two layers that show the borders of each section, and freeze the others. Place a number or letter in each section. Include a list if necessary. Now you have a key plan you can copy&paste to all the other sheets. If you don't have a suitable layer, you can draw outlines around each section. Use CHSPACE to pull them into paper space. Proceed as already described. This method has the option of turning it all into a block.
    1 point
  5. I usually plot from Model space, and this is one of the few forays I made into Paper space (it was quite frightening!) I probably did it wrong, but it worked for me. Because I plot from Model space, I have blocks of paper sizes that I can insert into model space at the required scale. If this block is then inserted into paper space at 1:1, first one can size the paper space viewport and then one can align paper space and model space using Express tools Alignspace. I did it this way so I could control the layout of the sheets, and also so I would have entities in model space that I could use to make the Key plan. I put the frame outlines on a layer called Viewport, then I could copy them onto another layer, and scale them down. I was fortunate that the project had some spare space outside the detail, where I could put things. I drew the scale bar because I could not find a suitable one when I started out, and I 'borrowed' the North sign from SoftDesk.
    1 point
×
×
  • Create New...