Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mend Lines function - Needs Tweaking

3 REPLIES 3
Reply
Message 1 of 4
m_johnson
199 Views, 3 Replies

Mend Lines function - Needs Tweaking

Can anyone help with this one....We have a function called 'Mend' which basically reconnects to broken lines into a single object. When you run the function, it asks you to select the first line, then the second line, and turns them into a single line again, then the function ends. However, I would like the function to stay active so i can select further lines, until I press escape or cancel.
I am not very knowledgable with Lisp, therefore if anyone wants to have a look and tweak the function for me, I have attached the file. Even better, would be a function that allows me to select multiple lines rather than single objects.

Thanks in advance for any response.

Regards
Marc Johnson
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: m_johnson

Just add this line into the end of your lisp file
(just before the last ")" )

 

(c:mend)


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
Can
anyone help with this one....We have a function called 'Mend' which basically
reconnects to broken lines into a single object. When you run the function, it
asks you to select the first line, then the second line, and turns them into a
single line again, then the function ends. However, I would like the function
to stay active so i can select further lines, until I press escape or cancel.

I am not very knowledgable with Lisp, therefore if anyone wants to have a
look and tweak the function for me, I have attached the file. Even better,
would be a function that allows me to select multiple lines rather than single
objects.

Thanks in advance for any response.

Regards
Marc Johnson

Message 3 of 4
Anonymous
in reply to: m_johnson

Hi Marc

If you are using A2k+, you can try the attached program.

Cheers
--
Juerg Menzi
MENZI ENGINEERING GmbH, Switzerland
http://www.menziengineering.ch
Message 4 of 4
Anonymous
in reply to: m_johnson

try the AutoCAD command MULTIPLE


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Can
anyone help with this one....We have a function called 'Mend' which basically
reconnects to broken lines into a single object. When you run the function, it
asks you to select the first line, then the second line, and turns them into a
single line again, then the function ends. However, I would like the function
to stay active so i can select further lines, until I press escape or cancel.

I am not very knowledgable with Lisp, therefore if anyone wants to have a
look and tweak the function for me, I have attached the file. Even better,
would be a function that allows me to select multiple lines rather than single
objects.

Thanks in advance for any response.

Regards
Marc Johnson

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost