sschwartz
2006-06-29, 06:54 PM
OK, Can anyone help me with this? I thought I had seen a break into equal segments (similar to divide, only not with nodes) in some version of autocad. We just recently upgraded to 2006, and I had this request. I have looked on the inet, and have found SOME help, like 'break at point', and am wondering if you could use this inbetween a divide command.
This is what the break at point looks like:
(defun c:BRP()
(setq ENTITY (getpoint "\nSpecify break point ON object:"))
(if (= (ssget ENTITY) nil)
(progn
(prompt "\nSelected Point is not on any object. Use
OSNAP and try
again.")
(c:brp)
)
(command "BREAK" ENTITY "@")
)
(princ)
)
[ Moderator Action = ON ] How to use [ CODE ] tags? (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]
This is what the break at point looks like:
(defun c:BRP()
(setq ENTITY (getpoint "\nSpecify break point ON object:"))
(if (= (ssget ENTITY) nil)
(progn
(prompt "\nSelected Point is not on any object. Use
OSNAP and try
again.")
(c:brp)
)
(command "BREAK" ENTITY "@")
)
(princ)
)
[ Moderator Action = ON ] How to use [ CODE ] tags? (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]