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

0 Members and 1 Guest are viewing this topic.

Matthew H

  • Mosquito
  • Posts: 10
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
  • Administrator
  • Seagull
  • Posts: 28252
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

  • Mosquito
  • Posts: 10
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: 17000
  • brevity != aggression
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 »
\|// Set goal. Experiment tirelessly until
|oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox | About

Matthew H

  • Mosquito
  • Posts: 10
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: 17000
  • brevity != aggression
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.
\|// Set goal. Experiment tirelessly until
|oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox | About