Continuous Orthogonal Polylines

Continuous Orthogonal Polylines

Anonymous
Not applicable
1,182 Views
5 Replies
Message 1 of 6

Continuous Orthogonal Polylines

Anonymous
Not applicable

Hey all,

 

Im currently in the middle of creating a schematics block library so our engineers can begin to do their own schematics in AutoCAD rather than the program we use. 

 

I am looking for a lisp that will allow us to draw continuous orthogonal polylines to connect each of the blocks together (something like this plugin - https://apps.autodesk.com/ACD/en/Detail/Index?id=2255635199830962353&appLang=en&os=Win32_64 - but doesnt crash when you try and use it)

 

Does anyone know of one out there? Rather than having to install the plug in for everyone. And i know this would probably be easier done in Electrical, however we already have all the licences for vanilla so looking to stay with that. 

 

Cheers,

Caroline

 

 

0 Likes
1,183 Views
5 Replies
Replies (5)
Message 2 of 6

Kent1Cooper
Consultant
Consultant

Maybe it will only give you a starting point [for instance, it doesn't Trim  the Polyline], but take a look at PLineFilletAlong.lsp with its PLFA command, >here<.  It also doesn't have the other capabilities [Splines, etc.] of your referenced App, but given your thread Title, maybe this is all you need.

Kent Cooper, AIA
0 Likes
Message 3 of 6

Anonymous
Not applicable

Thanks Kent, its definitely one to keep in mind as an alternative. 

 

What i was really hoping for was something where i could click on the start point and end point and it would work out the best orthogonal route between the two points. 

 

Cheers,

Caroline

0 Likes
Message 4 of 6

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... What i was really hoping for was something where i could click on the start point and end point and it would work out the best orthogonal route between the two points. ....


 

That's pretty wide-open....  You would need to come up with some criteria.  Which route is the "best" orthogonal one on the left, if it can be two-legged?  If it has to be three-legged to miss something, which route on the right is "best"?

BestRoute.PNG

How would it know what it has to work around, if anything?  User selection of potentially interfering elements, somehow?  It would need to determine their size -- how far away from them should the path stay?  Would it be allowable to go in a direction initially more like "away" from the target if that works better around something, and how would it be able to determine that?

BestRoute2.PNG

Etc., etc.

 

I kind of have a feeling you could do a heck of a lot of these making those determinations by eye [which your brain can do very easily] in a lot less time than it would take for someone to work out how to instruct a routine to handle all the possibilities.

Kent Cooper, AIA
0 Likes
Message 5 of 6

Anonymous
Not applicable

Hi Kent,

 

You are probably very correct. I will stick with the PLFA lisp for now and work with that. 

 

Another question for you all: We are needed to pout attributes on each end of the line, if there an edit i can put into the lisp so that we can give the lines labels?

 

Thanks,

Caroline 

0 Likes
Message 6 of 6

Anonymous
Not applicable

Or as an alternative...

 

Ive found a lisp that is able to add the length of a polyline as text beside it. It there a way of making this an attribute field instead?

http://forums.augi.com/showthread.php?95607-label-polyline 

 

I am very new to Lisp and am trying to make some simple edits, however I think making this change is beyond me.

 

Thanks,

 

0 Likes