CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

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.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
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 Closedxy coordinate and text extractor Lisp

 Post Reply Post Reply
Author
gugamg View Drop Down
Newbie
Newbie


Joined: 08.Sep.2014
Location: Brazil
Using: Autocad 2014
Status: Offline
Points: 4
Direct Link To This Post Topic: xy coordinate and text extractor Lisp
    Posted: 09.Sep.2014 at 13:21
I'm sorry if I'm posting this question on the wrong place, it's my first one on the forum :P

I have a drawing in which there are some polylines/objects drawn (usually rectangles) with some text next to them. I'm using a lisp to get their x and y coordinates to excel, but my problem is that I have to associate them to the text somehow.

Just so you'll understand, I'm doing this because I'm trying to automatize my project drawings, in which I have to paste blocks to the center of each of these rectangles. I’ll use excel to build the command lines for a script with the block name and x,y coordinates, and the script will paste the blocks on these coordinates provided by the lisp. But without the text there’s no reference of which block belongs to which line on excel.

I have a simple drawing to illustrate it, along with the lisps and script I'm using. If anybody could help me I would really appreciate it, since these projects can sometimes add up to more than a 100 rectangles. If you have any other solutions I’ll be happy to try them.

Thank you very much 

PS: The  forum doesn't attach the other files, but I can email them if they'll help.uploads/498319/409-OC-E01R0_-_Planta_de_cargas_-_Formas_-_SALAO.dwguploads/498319/Center_Extract.lsp
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,097 seconds.