Tee and 90 block insertion Lisp

Tee and 90 block insertion Lisp

smallƑish
Advocate Advocate
492 Views
8 Replies
Message 1 of 9

Tee and 90 block insertion Lisp

smallƑish
Advocate
Advocate

I need a Lisp for AutoCAD that can insert elbows and tees at junctions be as follows:

select a few objects , Prompt the user to select a layer through a pop-up  with the following options:

Cold Water
Hot Water
If "Cold Water" is selected:

Exclude all others layered objects from from the selection (if any).
Insert a 90-degree elbow at each polyline vertex that forms a 90-degree angle, ensuring correct orientation.
Insert a tee block at junctions, properly oriented.
For better understanding, I have attached a screenshot and a DWG file.

 

smallish_0-1740166454816.png

 

Thank you so much!

0 Likes
493 Views
8 Replies
Replies (8)
Message 2 of 9

ronjonp
Advisor
Advisor

@smallƑish What determines that a tee goes here?

ronjonp_0-1740174313721.png

 

0 Likes
Message 3 of 9

pendean
Community Legend
Community Legend

@smallƑish Are you folks not using the MEP variant of AutoCAD? Free to all subscribers to install and use

https://forums.autodesk.com/t5/autocad-mep-forum/does-autocad-mep-produce-reducing-tees-and-elbows/t... 

0 Likes
Message 4 of 9

Sea-Haven
Mentor
Mentor

Do a google for possible answers they are out there. Go to the Autocad Appstore and have a look.

 

 

0 Likes
Message 5 of 9

smallƑish
Advocate
Advocate

It was a mistake from my end. Please ignore it.

0 Likes
Message 6 of 9

smallƑish
Advocate
Advocate

It was a mistake please ignore it. 

0 Likes
Message 7 of 9

smallƑish
Advocate
Advocate

I tried that, as it's more advanced, It has its own complications. 

0 Likes
Message 8 of 9

smallƑish
Advocate
Advocate

There are a few, most of them are hints. Not a proper one what explained above. 

0 Likes
Message 9 of 9

Sea-Haven
Mentor
Mentor

Check appstore again pretty sure Tharwat has a solution. He is often here so he will probably comment.

0 Likes