Jump to content

Recommended Posts

Posted

I was asked to help figure out why a certain lisp routine which worked with Autocad 2014 doesn't work with AutoCAD MEP 2015.

 

Although I don't know much about Autolisp, I thought I'd give it a try, but I've gotten to a stopping point and cannot get past it.

 

I am posting the lisp routine along with some associated dwgs and a screen capture of what it's supposed to look like when it does work in hopes that someone can assist with this.

 

Your help is greatly appreciated.

dflex.lsp

FlexDuct.jpg

FlexDuct.dwg

FlexDrop.dwg

Posted

Please if you post un encrypted lisp at least reorder to a readable state. The lisp as posted will not work its been re formatted in some way.

Posted

My apologies. I didn't know you could encrypt Lisps and not certain what you mean by a readable state. I open it in Notepad and edit it that way.

Posted (edited)

Made a few changes , first of all , program tries to load a (lisp) file called 'makegroup'. Since it is not included had to disable it.

 

 

With the measure command you use (list flx-ln FS-PT) , but the command only needs the object and not a list of the object and a point. Tried to put the blockname of the 'FlexDuct' in a findfile construction , and this works , but symbol is saved with higher release of autocad I'm currently working with so for me this is the end of the road so to speak. I have attached the updated lisp file , maybe it can get you a step further.

 

 

 

Your routine won't win a beauty contest (unlike me haha) but if it works , who cares about the format but you.

 

 

 

 

have you tried this one : http://lee-mac.com/objectalign.html

 

 

there a tons of routines to align a block along polyline

 

 

 

Gr. Rlx

dflex.lsp

Edited by rlx
Posted

Why not just a line type ? We have half circle ones. The other way is that its possible to create plines with some form of pattern, search for "insulation". Plines support bulges with is curves.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...