See the top rated post in this thread. Click here

Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Insert block and break any line in its way

  1. #21
    Member
    Join Date
    2008-10
    Posts
    10
    Login to Give a bone
    0

    Default Re: Insert block and break any line in its way

    Thank you for your lisp its the best I seen,
    I been doing the same but with 2 autolisp and you did it with one

    thanks again

  2. #22
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,106
    Login to Give a bone
    0

    Default Re: Insert block and break any line in its way

    FYI for anyone who uses this file you can change the filename to be a specific block (MYBlockName below) by first downloading the trimins3.lsp file and adding this function to it.

    P=

    Code:
    (defun C:TrimIns4 (/ lstLineObjects 
                        lstPOint1 
                        lstPoint2 
                        objBlock 
                        objLineObject 
                        safPoint1 
                        safPoint2 
                        ssItems)
     
     (trimins3 "MyBlockName")
    )
    AutomateCAD

  3. #23
    Member
    Join Date
    2008-10
    Posts
    10
    Login to Give a bone
    0

    Default Re: Insert block and break any line in its way

    Thank you very much, you had help me a lot,

  4. #24
    Member
    Join Date
    2008-10
    Posts
    10
    Login to Give a bone
    0

    Default Re: Insert block and break any line in its way

    one question how do you put this into a AutoLISP routine? so I can create one for each of my blocks
    ^c^c(trimins3 "ivflt" );

    the name of my AutoLISP would be ivflt

    Thank you again

    here is the Lisp but it doesn't work
    I like to type the name of the block instead of creating a toolbar or palettes for each block. can you help me?
    Attached Files Attached Files
    Last edited by janthonylo; 2017-09-26 at 10:24 PM.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Insert unique block at each end of newly created line
    By jpcadconsulting347236 in forum AutoLISP
    Replies: 6
    Last Post: 2014-01-28, 06:51 PM
  2. LISP trim/break line inserting block
    By aldiyars1925 in forum AutoLISP
    Replies: 1
    Last Post: 2008-09-09, 01:33 PM
  3. insert block (all predefined) break line inserted on
    By Hammer.John.J in forum AutoLISP
    Replies: 84
    Last Post: 2007-11-08, 04:46 PM
  4. routine for insert block break line
    By Hammer.John.J in forum VBA/COM Interop
    Replies: 4
    Last Post: 2006-01-06, 02:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •