hosyn Posted May 22, 2013 Posted May 22, 2013 are there any lisp for automatic trim blocks with pline:( Quote
neophoible Posted May 22, 2013 Posted May 22, 2013 are there any lisp for automatic trim blocks with pline:(Perhaps this thread has what you need? See CookieCutter.lsp http://www.cadtutor.net/forum/showthread.php?79389-Trimming-everything-outside-a-closed-Polyline&highlight=cookiecutter The thread is just getting started with regard to using CLIP. Quote
Cad64 Posted May 22, 2013 Posted May 22, 2013 Please post your Lisp requests in the "AutoLISP, Visual LISP & DCL" section of the forum. Thread Moved. Quote
pBe Posted May 22, 2013 Posted May 22, 2013 are there any lisp for automatic trim blocks with pline:( Is that the other way around? Trim PLINE with Blocks Quote
Lee Mac Posted May 22, 2013 Posted May 22, 2013 Unless I have misunderstood, try my Automatic Block Break program. Quote
dbroada Posted May 22, 2013 Posted May 22, 2013 Lee, have you any comments pertinent to the thread mentioned above http://www.cadtutor.net/forum/showthread.php?79389-Trimming-everything-outside-a-closed-Polyline&highlight=cookiecutter ? I must admit I haven't revisited today but really meant to. Quote
Lee Mac Posted May 22, 2013 Posted May 22, 2013 Lee, have you any comments pertinent to the thread mentioned above http://www.cadtutor.net/forum/showthread.php?79389-Trimming-everything-outside-a-closed-Polyline&highlight=cookiecutter ? I must admit I haven't revisited today but really meant to. Hi Dave, is there anything specific that you wish for me to answer? Quote
dbroada Posted May 22, 2013 Posted May 22, 2013 mainly about is it possible to have multiple definitions of the same block? Are my statements true? I was mainly curious of Rob's assertion that the block remained intact after using cookie cutter although it appears now that that may have been an erroneous statement. Quote
Lee Mac Posted May 22, 2013 Posted May 22, 2013 I was mainly curious of Rob's assertion that the block remained intact after using cookie cutter After a brief perusal of Version 1.2 of Joe Burke's CookieCutter program (published here), I see that the program will explode all block references (including nested block references), converting any attribute references to text objects. The program will also explode all hatch objects and optionally convert solid hatches to line hatches, before exploding these also. As far as I can see, the program makes no attempt to reconstitute these objects. ...is it possible to have multiple definitions of the same block? Are my statements true? Although your terminology is slightly off, you are absolutely correct in that two block references which reference the same block definition must display the same geometry. Two block references can hold different attribute references, since attributes are not strictly tied to the block definition, and can furthermore be appended to the block reference independently of the block definition. XClipping can of course alter the displayed geometry of a block reference, but this simply acts like a wipeout and does not alter the block definition geometry in any way. Dynamic block references can display different geometry for each reference, however, to achieve this, the block references are actually referencing a temporary anonymous block definition which is automatically generated when the dynamic block parameters are altered. This anonymous block definition is then tied to the main dynamic block definition via several dictionaries. Quote
dbroada Posted May 22, 2013 Posted May 22, 2013 Thank you Lee. You have obviously read more about this than I have. My knowledge is from observation over the years. Two block references can hold different attribute references, since attributes are not strictly tied to the block definition, and can furthermore be appended to the block reference independently of the block definition. so this is why you must ATTSYNC a block with ATTRIBUTEs, to tie all the attributes back to a single definition. Quote
Lee Mac Posted May 22, 2013 Posted May 22, 2013 ...so this is why you must ATTSYNC a block with ATTRIBUTEs, to tie all the attributes back to a single definition. Exactly, the ATTSYNC operation will ensure that the attribute references held by the block reference match the attribute definitions held by the block definition. Quote
hosyn Posted May 22, 2013 Author Posted May 22, 2013 thanxxx too much mr Lee Mac the king of lisp your lisp Automatic Block Break very very good unless situation at this pic : Quote
Lee Mac Posted May 22, 2013 Posted May 22, 2013 thanxxx too much mr Lee Mac the king of lisp your lisp Automatic Block Break very very good unless situation at this pic... Thank you, I appreciate your compliments. Unfortunately, my program has its limits & restrictions, as noted in the program description. Quote
hosyn Posted May 22, 2013 Author Posted May 22, 2013 Mr lee is there a lisp for extend this pline to join the block for correcting ????? Quote
Lee Mac Posted May 23, 2013 Posted May 23, 2013 is there a lisp for extend this pline to join the block for correcting? EXTEND command Quote
hosyn Posted May 23, 2013 Author Posted May 23, 2013 Mr lee in EXTEND command we must select one by one the pline for extend // is there any lisp for automatic do this ??? Quote
alanjt Posted May 23, 2013 Posted May 23, 2013 It's AutoCAD, not magic. Let us not hope for too much information. We'd all be out of a job. Quote
neophoible Posted May 23, 2013 Posted May 23, 2013 Mr lee is there a lisp for extend this pline to join the block for correcting ????? Lee Mac's program is great, ain't it? Here's an idea that might see you through. How about creating a temporary block that, when used with LM's program, will break the line correctly. Then, after you're done, redefine the block to the actual one you want. Quote
alanjt Posted May 23, 2013 Posted May 23, 2013 Lee Mac's program is great, ain't it? Here's an idea that might see you through. How about creating a temporary block that, when used with LM's program, will break the line correctly. Then, after you're done, redefine the block to the actual one you want. That's actually an interesting idea. You could create a dummy block of just the circle where you want the breaking to occur. From there, you could insert all your blocks, then go back with a block replacement option and put the one you actually want. Hell, I posted a Block replacement routine here long ago. 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.