Jump to content

Recommended Posts

Posted

Hi, I am using ZWCAD. I have a problem with stretch command, I don't remember if Autocad have the same problem. I have some Templates for my drawings. 

The problem is when the Template include Tables , not explode tables but ACAD_TABLES when I do stretch to the template the Tables stay back don't follow the movement.

I don't want to strech them just follow all the other lines. I try this but is not working. Any other ideas?

 

(defun c:S (/ oldortho)
  (setq oldortho (getvar "ORTHOMODE"))
  (setvar "ORTHOMODE" 1)

  (while t
    (if (setq ss (ssget  '((0 . "*"))))   
      (progn
        (command "_.STRETCH" ss "" )
      )
      (progn
        (princ "\nΤέλος.")
        (setvar "ORTHOMODE" oldortho)
        (exit)
      )
    )
  )
)

 

 

Thanks

Posted

@SLW210 might move this to Lisp area. 

 

Never used ZWCAD but sometimes stretch selection has to fully enclose some items like blocks or tables for it to move with the command. you can't just pick up the bottom corner or left side.

Posted

Hi mhupp, I select them all from top right to botom left , and shows me that tablew are selected but dont move with the stretch like all the other lines or blocks, and I don't want to explode them .

 

Thanks

Posted

Might be on a locked layer?

 

(if (setq ss (ssget "_:L"))) ;ignore locked layers

 

if this is in paper space is it in a view port you would have to select the whole viewport not just around the table.

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...