tzframpton 发表于 2022-7-6 10:24:15

Looking for a LISP routine: Mu

Hey everyone, looking for some help here. I have been searching for a half hour but no luck. I seem to recall a program that someone made that operates like the MLINE tool, but just with normal polylines. I have done some searching over at The Swamp as well, and I can't find it.
 
I want MLINE functionality but I just don't want to deal with the hassle of setting up MLSTYLE's etc, I just want to initiate the program, input how many plines and what the offset is and draw. Wasn't there something like this that existed? I thought I saved it a long time ago but when I searched through my collection of downloads, no dice. Any help would be appreciated. Thanks again in advance!!
 
- Tannar

ReMark 发表于 2022-7-6 10:28:45

Is this what you were looking for?
 
http://www.cadtutor.net/forum/showthread.php?9434-Multiple-Offset

tzframpton 发表于 2022-7-6 10:33:24

Mark, Thanks for the help but that works like the normal offset command. I'm wanting the multiple offset polylines to be active as I'm drawing.

BlackBox 发表于 2022-7-6 10:35:14

 
 
Do you mean, that once you offset a line, the resultant line is now the 'active' line to be offset?
 
If not, please clarify.

tzframpton 发表于 2022-7-6 10:39:28

Sorry for my lack of clarification. Here's is exactly how the program worked that I found in the past:
 
1. You initiate the program, and it asks for two initial criteria: the distance of the offset, and how many lines you want.
 
2. You draw as if you were routing a single PLINE in your drawing, but as you draw the predetermined number of polylines will also be drawn, all at the offset distance that was preset by the user.
 
Works exactly like the MLINE command, except no hassle in setting up MSTYLE's before you start drawing to get the proper offsets you want.

BlackBox 发表于 2022-7-6 10:41:28

No worries.
 
Had my speculation been correct, I could have easily revised some existing code.
 
Good luck!

David Bethel 发表于 2022-7-6 10:44:37

 
Tanner, It is definitely doable.
 
Are all there any bulges ( arcs ) segments?
Are all of the lytypes bylayer?
Is everything 2D geometry?
Is the number of offset equal for both sides?
 
-David

tzframpton 发表于 2022-7-6 10:48:57

David,
 
- No arcs or radius corners, all mitered.
- ByLayer is fine, it'll be going on a pre-existing M-PIPE layer.
- Everything 2D
- Yes, the offset should be consistent with every PLINE.
 
I'm not asking for someone to write one, this program does exist, I'm just trying to dig it up. I can't believe I didn't save it when I saw it a couple of years ago. It's just to show mechanical piping routing from mechanical units in an architectural plan. I'll be utilizing the Tool Palettes in conjunction with this program. It's just a hassle to use MLINEs because you have to create styles which takes time, then explode them to break the crossing lines, etc.

David Bethel 发表于 2022-7-6 10:51:32

Here is what I do when I get in the fix that you're in
 
Doe you have a file mangement program ( XTREE ZTREE ) that can search multpile files for text?
Filter only .lsp files
Search for terms that you remember in the prompts.In this case   'offset    'quantity
Maybe 'M-PIPE if the program set it to the layer
Maybe 'grdraw if it drew phantom lines as the user input was collected
 
If I get down to 10 or so files then I'll open view each one to see if I can find it that way.
 
I have 2,000+ routines and I am getting long in the tooth so I get in that pinch fairly often.
 
But in the end it is not hard to redo it.-David

ReMark 发表于 2022-7-6 10:55:44

Seems you've been over this same ground before (2007).
 
http://www.cadtutor.net/forum/archive/index.php/t-15686.html
页: [1] 2
查看完整版本: Looking for a LISP routine: Mu