Author Topic: AutoCAD Match Geometry X,Y,Z  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Matthew H

  • Newt
  • Posts: 70
AutoCAD Match Geometry X,Y,Z
« 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.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: AutoCAD Match Geometry X,Y,Z
« Reply #1 on: July 14, 2017, 10:30:49 AM »
Sorry, don't understand the purpose. Why not just use copy/paste on the line?
TheSwamp.org  (serving the CAD community since 2003)

Matthew H

  • Newt
  • Posts: 70
Re: AutoCAD Match Geometry X,Y,Z
« Reply #2 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"


MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: AutoCAD Match Geometry X,Y,Z
« Reply #3 on: July 14, 2017, 11:14:42 AM »
Leverage .x, .y and .z (.xy etc) point filters ftw.

Edit: See link
« Last Edit: July 14, 2017, 11:18:24 AM by MP »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Matthew H

  • Newt
  • Posts: 70
Re: AutoCAD Match Geometry X,Y,Z
« Reply #4 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.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: AutoCAD Match Geometry X,Y,Z
« Reply #5 on: July 14, 2017, 11:21:29 AM »
The use of point filters can reduce the use of temporary construction lines to near zero.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst