CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6181
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedCreate buffert/space when lines crossing

 Post Reply Post Reply Page  12>
Author
HVAC_Constructor View Drop Down
Newbie
Newbie


Joined: 07.Mar.2017
Location: Sweden
Using: AutoCAD 2015
Status: Offline
Points: 9
Direct Link To This Post Topic: Create buffert/space when lines crossing
    Posted: 07.Mar.2017 at 14:20
What is the easiest way to create space (se the picture) when lines are crossing?  
At present I copy the line and duplicates it on each side. Then Trim to create spacing. 

But is there any easier way?
Is there any Trim-set than can be used to create space-bufferts? Disapprove



Edited by HVAC_Constructor - 07.Mar.2017 at 15:10
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 627
Direct Link To This Post Posted: 07.Mar.2017 at 15:36
There are a lot of routines out there to do this kind of thing.  For instance, just on the Cadalyst CAD Tips site, there's this one and this other one and this third one.  Some Searching on the AutoCAD Customization Forum, and The Swamp, and other such places, will find more.
Back to Top
Robert_D View Drop Down
Senior Member
Senior Member


Joined: 21.Oct.2013
Location: United States
Using: BricsCAD v21, AutoCAD2006
Status: Offline
Points: 207
Direct Link To This Post Posted: 07.Mar.2017 at 15:36
Look here:
http://forums.augi.com/showthread.php?145889-Break-Wire-With-Gap-LISP
and here:
https://autocadtips1.com/2011/09/24/autolisp-break-at-intersections-with-a-gap/
Back to Top
HVAC_Constructor View Drop Down
Newbie
Newbie


Joined: 07.Mar.2017
Location: Sweden
Using: AutoCAD 2015
Status: Offline
Points: 9
Direct Link To This Post Posted: 07.Mar.2017 at 16:25
Thanks to both Kent and Robert!

Robert:
About the scond link:
I read the links, but am unsurtain if I have to new version of AutoCAD(?) My version is AutoCAD 2015
If i for instance type "BI" in the commandline the command "Bindtype" is activated.
https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-LT/files/GUID-1B410F79-266A-4D64-BEA6-87191A0B0D30-htm.html

Kent
Do I have to download any file to use the commands?
When i Write "Multigap.lsp" in the commandline it says "unknow command".

MULTIGAP.LSP and GSIZE.DCL break any number of selected lines at their intersection with other selected lines. Gsize defines the gap value.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 07.Mar.2017 at 16:35
Download both MULTIGAP.LSP and GSIZE.DCL to your hard drive.

Use the APPLOAD command to load MULTIGAP.lsp.

To run the lisp type MULTIGAP at the command line then press the Enter key.  Now look at your command line prompts.

***********
Re: BI

Try typing BreakInt at the command type and see if the lisp routine works.


Edited by John Connor - 07.Mar.2017 at 16:41
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
HVAC_Constructor View Drop Down
Newbie
Newbie


Joined: 07.Mar.2017
Location: Sweden
Using: AutoCAD 2015
Status: Offline
Points: 9
Direct Link To This Post Posted: 08.Mar.2017 at 09:28
Thanks for your answer John C

Where do I download MULTIGAP.LSP and GISIZE.DCL ?

Tried to google "download MULTIGAP.LSP GISIZE.DCL" but i did not find any download homepage. 
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 08.Mar.2017 at 11:43
The link (the second of three he listed) was contained in Kent Cooper's post above.  Here it is again...

http://cadtips.cadalyst.com/2d-editing/break-lines-below


Edited by John Connor - 08.Mar.2017 at 11:57
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
HVAC_Constructor View Drop Down
Newbie
Newbie


Joined: 07.Mar.2017
Location: Sweden
Using: AutoCAD 2015
Status: Offline
Points: 9
Direct Link To This Post Posted: 08.Mar.2017 at 15:35
Thanks for your answer John!

So I just klick on the red "Download this tip" button and save down the LSP and DCL files on my computer(?)  
Then I type "Uppload" in the commandline (in the AutoCAD program) to load the Multigap.lsp.
Tongue
Then I can se my alternatives to break lines.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 08.Mar.2017 at 16:39
Most likely the download will be in the form of a zip file so first you will have to unzip the files.  Next place the files in the folder where you keep all your custom lisp routines.  Use the APPLOAD command to load the lisp file (Multigap.lsp).  You'll have to click on the Browse button and migrate to the folder previously mentioned to locate the lisp routine.  Once loaded type MULTIGAP at the command line to run it.

How long have you been using AutoCAD?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
HVAC_Constructor View Drop Down
Newbie
Newbie


Joined: 07.Mar.2017
Location: Sweden
Using: AutoCAD 2015
Status: Offline
Points: 9
Direct Link To This Post Posted: 09.Mar.2017 at 12:57
JOHN: Started (as it notice) a couple of month ago Cry
But work mostly in MagiCAD, so knowledge about AutoCAD is not what it should be.

I Have downloaded the two tip-files. But could only Appload the "Multigap.lsp" file. The Gsize.dcl was not able to appload.

When i Type "Multigap" in the command line, AutoCAD ask me to select the upper line (Gapsize = 2 seems to be default).
I notice that the line i select is divided in the cross section. But how do i choose gapsize?



Edited by HVAC_Constructor - 09.Mar.2017 at 12:57
Back to Top

Related CAD tips:


 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,621 seconds.