Author Topic: How to output text correspondence?  (Read 1156 times)

0 Members and 1 Guest are viewing this topic.

myloveflyer

  • Newt
  • Posts: 152
How to output text correspondence?
« on: March 29, 2020, 11:20:03 AM »
Regarding the output text correspondence table or text file, I have written the automatic numbering of circles and lines. Now I need to output the correspondence between them. For details, please see the DWG file in the attachment. Please help me to see how to write the output program.

Thanks!
« Last Edit: April 02, 2020, 12:35:10 PM by myloveflyer »
Never give up !

myloveflyer

  • Newt
  • Posts: 152
Re: How to output text correspondence?
« Reply #1 on: March 30, 2020, 10:50:37 AM »
I now think of the method as follows:
1.Straight line extends to the center of the circle
2.Get circle center coordinates and numbers
3.Get the starting point and end point coordinates and number of the straight line
4. Compare the two tables in step 2 and step 3.
5.Get the circle center number corresponding to the final line number
Never give up !

BIGAL

  • Swamp Rat
  • Posts: 1396
  • 40 + years of using Autocad
Re: How to output text correspondence?
« Reply #2 on: April 01, 2020, 09:38:26 PM »
The solutions are at Cadtutor
A man who never made a mistake never made anything