...a closed boundary formed of objects such as splines & ellipses, which could obviously not be joined to form a continuous closed polyline...
- Is there a way to automate the OFFSETEDGE command?
(defun c:boffset ( / *error* ent idx lst reg sel sur pt)
(defun *error* ( msg )
(if (= 'ename (type sur)) (entdel sur))
(if (not (wcmatch (strcase msg t) "*break,*cancel*,*exit*"))
(princ (strcat "\nError: " msg))
)
(princ)
)
(if (setq sel (ssget "_:L" '((0 . "LINE,*POLYLINE,CIRCLE,ARC,ELLIPSE,SPLINE"))))
(progn
(repeat (setq idx (sslength sel))
(setq lst (cons (vlax-ename->vla-object (ssname sel (setq idx (1- idx)))) lst))
)
(if
(vl-catch-all-error-p
(setq reg
(vl-catch-all-apply 'vlax-invoke
(list
(vlax-get-property (vla-get-activedocument (vlax-get-acad-object))
(if (= 1 (getvar 'cvport))
'paperspace
'modelspace
)
)
'addregion lst
)
)
)
)
(princ (strcat "\nUnable to create region: " (vl-catch-all-error-message reg)))
(progn
(setq ent (entlast))
(setq pt
(vlax-safearray->list
(vlax-variant-value
(vla-get-centroid (car reg))
)
)
)
(command "_.convtosurface" (vlax-vla-object->ename (car reg)) "")
(if (not (eq ent (setq sur (entlast))))
(progn
(command "_.offsetedge" pt)
(while (< 0 (getvar 'cmdactive)) (command "\\"))
(entdel sur)
)
)
)
)
)
)
(princ)
)
(vl-load-com) (princ)
...a closed boundary formed of objects such as splines & ellipses, which could obviously not be joined to form a continuous closed polyline...Hi Lee,
however, you can join to form a continuous closed spline...
- Is there a way to automate the OFFSETEDGE command?
Maybe... :-)Code: [Select]...
(command "_.offsetedge" pt)
...
You, sir, are still a badass
You, sir, are still a badass
I strongly suggest that you make silly jokes on your account and not on someone else... Maybe you need a hospital here on Earth to cure your thoughts ab someones personality if you don't have already one in your space ship...
You, sir, are still a badass
I strongly suggest that you make silly jokes on your account and not on someone else... Maybe you need a hospital here on Earth to cure your thoughts ab someones personality if you don't have already one in your space ship...
I'm not sure who the comment was aimed at, but rest assured that in western culture the comment is mostly considered a compliment :wink:
You, sir, are still a badass
I strongly suggest that you make silly jokes on your account and not on someone else... Maybe you need a hospital here on Earth to cure your thoughts ab someones personality if you don't have already one in your space ship...
I'm not sure who the comment was aimed at, but rest assured that in western culture the comment is mostly considered a compliment :wink:
You, sir, are still a badass
I strongly suggest that you make silly jokes on your account and not on someone else... Maybe you need a hospital here on Earth to cure your thoughts ab someones personality if you don't have already one in your space ship...
I'm not sure who the comment was aimed at, but rest assured that in western culture the comment is mostly considered a compliment :wink:
1+
Generally speaking, the severity of the 'negative', and strength of the expletive used, are indicators of how 'good' the compliment is intended to be.
As I understand it, the use of the antithesis (instead of just saying what we actually mean; use your words?), started with the baby boomers to be cool, or somehow ironic. This generation's 'millennials' (there just has to be a name for it *sigh*, and not that Alien is one) seem to run a muck pushing the envelope on their example. *sigh again*