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: 17276
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 ClosedTRIM comand - LISP

 Post Reply Post Reply
Author
Cuty View Drop Down
Newbie
Newbie


Joined: 09.Jul.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 11
Direct Link To This Post Topic: TRIM comand - LISP
    Posted: 30.Jul.2014 at 21:45
Hello to you all.
I need some help please.

I have a huge amount of points in my project and I need to trim all lines that intersect (or begin and end) in those points.

I have attached a picture that visualizes what I need to do.
The space between a point and the beginning of a line, depending on the demand, must be 0.25, 0.5, 1.0, 1.5, 2.0, 2.5 OR 2.88 ( in the picture I have attached the space is 1.0 ).

I am not a CAD guru and hope somebody can help me with a lisp routine that solves this problem in a second.

Thank you
Tony

ATTACHMENT
Cuty
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: 31.Jul.2014 at 00:51
You'll have to do an Internet search for a custom lisp routine that does what you want.  If that fails to turn up anything useful you'll have to write it yourself or get a lisp guru to do it for you.
"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
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 616
Direct Link To This Post Posted: 31.Jul.2014 at 17:41
Consider using a Wipeout, contained in a Block which you could Insert at every Point entity, using appropriate scales presumably based on the drawing scale, and then bring the Point to the front of the Draworder so it would show above the Wipeout, which would hide the Lines and anything else in the area.  Maybe something like a 12-sided-polygon-based Wipeout to handle your lower image appropriately.  It would have the advantage that it wouldn't alter the things that you would otherwise Trim, which will save a little memory from not breaking them into multiple entities, and [for example] Lines representing things like property boundary edges will still be at their defined lengths, and you will still be able to snap to places like their endpoints for dimensioning, etc.  If that seems worth pursuing, I am willing to try working it out.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,324 seconds.