TheSwamp

CAD Forums => CAD General => Topic started by: Matthew H on July 14, 2017, 10:22:50 AM

Title: AutoCAD Match Geometry X,Y,Z
Post by: Matthew H on July 14, 2017, 10:22:50 AM
Does anyone have a lisp routine that can Match-Properties the geometry properties of a line.
See example picture: "Example_Properties.PNG"

*Match Source Line (Start X, End X) to Destination line.
*Match Source Line (Start Y, End Y) to Destination line.
*Match Source Line (Start Z, End Z) to Destination line.

Normally I copy the Start X, End X of a line and paste it onto the desired line. Same for the Y or Z, Depending on what is needed.

If anyone has a solution to this, I would be much appreciated.
Title: Re: AutoCAD Match Geometry X,Y,Z
Post by: Mark on July 14, 2017, 10:30:49 AM
Sorry, don't understand the purpose. Why not just use copy/paste on the line?
Title: Re: AutoCAD Match Geometry X,Y,Z
Post by: Matthew H on July 14, 2017, 10:47:00 AM
Sorry, don't understand the purpose. Why not just use copy/paste on the line?


The purpose would be in 3D. If I have a center line of a pipe at the correct X and Z coordinates (Color Green). I would want to line it up with the Y coordinates of another line (Color Red).
To solve this I copy the Y Coordinate of the Red Line onto the Green line's properties. (Keep in mind the Green line will not connect to the Red line)

See example image: "Example.PNG"

Title: Re: AutoCAD Match Geometry X,Y,Z
Post by: MP on July 14, 2017, 11:14:42 AM
Leverage .x, .y and .z (.xy etc) point filters ftw.

Edit: See link (https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-254BC000-91C5-40C5-BDF2-883F0D8B7700-htm.html)
Title: Re: AutoCAD Match Geometry X,Y,Z
Post by: Matthew H on July 14, 2017, 11:18:32 AM
Leverage .x, .y and .z filters ftw.

MP, I always forget about Point Filters. Ill have to look into them again.
Title: Re: AutoCAD Match Geometry X,Y,Z
Post by: MP on July 14, 2017, 11:21:29 AM
The use of point filters can reduce the use of temporary construction lines to near zero.