Mason Dixon Posted April 9, 2010 Posted April 9, 2010 I've tried regening and that didn't take care of it. Just a simple rectangle box that is definitely closed in all 4 corners. What is the fix for this? Quote
nukecad Posted April 9, 2010 Posted April 9, 2010 Are you sure that it is closed? Try extending/trimming the lines to each other. If it still says that there are gaps then I would suspect that one ore more lines is not in the same plane; list the lines and check the Z values of the endpoints. Be careful with the precision, set LUPREC to 8 before listing; even if it says that Z=0.0 it could actually be 0.00000001. If you have Express Tools loaded you can use the FLATTEN command to get them all on Z=0, if not you you can change them in the properties window. Quote
Fire_col Posted April 9, 2010 Posted April 9, 2010 Draw a new rectangle. If the rectangle is all seperate lines then turn them into polylines and join them. Quote
Tankman Posted April 9, 2010 Posted April 9, 2010 Doesn't sound like the boundary is closed. Are you sure? Simple rectangle box? Think I would try redrawing the box. Quote
ndfgh Posted April 11, 2010 Posted April 11, 2010 Draw a new rectangle. If the rectangle is all seperate lines then turn them into polylines and join them. how do you do that? Quote
Lee Mac Posted April 11, 2010 Posted April 11, 2010 Alternatively, this: (defun c:jp (/ *error* vars old ss) ;; Lee Mac ~ 11.04.10 (defun *error* (msg) (mapcar (function setvar) vars old) (or (wcmatch (strcase msg) "*BREAK,*CANCEL*,*EXIT*") (princ (strcat "\n** Error: " msg " **"))) (princ)) (setq vars '("CMDECHO" "PEDITACCEPT") old (mapcar (function getvar) vars)) (mapcar (function setvar) vars '(0 1)) (if (setq ss (ssget "_:L" '((0 . "ARC,LINE,LWPOLYLINE")))) (command "_.pedit" "_M" ss "" "_J" "" "")) (mapcar (function setvar) vars old) (princ)) EDIT: Arghh... LT Quote
nukecad Posted April 11, 2010 Posted April 11, 2010 Come on, some of us have to use LT because our bosses are cheapskates. Makes thing interesting to work out how to do things with macros and scripts instead of lisps. Quote
Lee Mac Posted April 11, 2010 Posted April 11, 2010 Come on, some of us have to use LT because our bosses are cheapskates. Makes thing interesting to work out how to do things with macros and scripts instead of lisps. True, I was trying to get this to work [PEdit Join]^C^C_.PEDIT;_M;\;$(if,$(and,$(=,$(getvar,PEDITACCEPT),0),0),_Y;)_J;; Quote
alanjt Posted April 11, 2010 Posted April 11, 2010 True, I was trying to get this to work [PEdit Join]^C^C_.PEDIT;_M;\;$(if,$(and,$(=,$(getvar,PEDITACCEPT),0),0),_Y;)_J;; Pause doesn't really work for ssget style selections. The best method is to envoke the Select command, select the lines, then you can use "P" (previous) in your pedit selection. Quote
alanjt Posted April 11, 2010 Posted April 11, 2010 I've tried regening and that didn't take care of it. Just a simple rectangle box that is definitely closed in all 4 corners. What is the fix for this? Is the entire 'rectangle' displayed when trying to hatch? Are you picking a point within the 'rectangle'? Using selection instead of picking an point within objects will remove a lot of issues. Quote
Recommended Posts
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.