CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.
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 ClosedCan This Be Done..?

 Post Reply Post Reply
Author
lifeis View Drop Down
Newbie
Newbie


Joined: 01.Dec.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 5
Direct Link To This Post Topic: Can This Be Done..?
    Posted: 01.Dec.2010 at 15:45
Hey Guys,
This is my first post. I work as an Electrical Engineer and frequently use CAD and write Software.
However today I have the tedious task of looking through thousands of names in an Access Database table and looking up those names using the FIND command on an AutoCAD 2010 drawing.
I know that there has to be an easier way to do this than going through reading the name in Access and typing it in the 'Find what:' box in CAD.
Could I write a LISP or some form of script to read a list of the words, and do the search for me. All I need to confirm is that each word in the Access database exists on the drawing, so I could confirm if this is the case by reading the lisp Log etc to check if the Script found each word and then identify what it did not find.
Any help would be great guys.
Thanks for your help.
-Craig
www.IndyPlectrum.com
^ Check It Out!
Back to Top
lifeis View Drop Down
Newbie
Newbie


Joined: 01.Dec.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 5
Direct Link To This Post Posted: 02.Dec.2010 at 10:14
anyone got any ideas?
www.IndyPlectrum.com
^ Check It Out!
Back to Top
lifeis View Drop Down
Newbie
Newbie


Joined: 01.Dec.2010
Location: United Kingdom
Using: AutoCAD2010
Status: Offline
Points: 5
Direct Link To This Post Posted: 02.Dec.2010 at 11:37
Okay guys, I found a way to do what I need. A lisp routine (or script, I don't know the AutoCAD terminology) called 'SrxTEXT' which can then load a CSV file which contains a list of text to search for. This is perfect for me. However some of the text I need to find is in like 'tags' (little blocks that you have to click on then a dialog pops up and you type in the values, next to a little description eg:
***EDIT:- I think these are called 'Block References'***
FIRST NAME- <type value here>
SECOND NAME- <type value here>
again I don't know the correct name for these tag blocks, but I hope you understand what I mean).
So I didnt think this would be a problem, however the SrxTEXT script does not search in these Tag Blocks, only searched for text such as MLINE text etc.
How can I fix this, I don't mind altering the drawing.
I tried exploding the whole drawing, which would have worked, although all the values I want to search dissappeared, and only the line descriptions remained. Eg. the, 'FIRST NAME' bit stayed, and the <type value here> bit dissapeared.
Thanks for any help guys.


Edited by lifeis - 02.Dec.2010 at 12:07
www.IndyPlectrum.com
^ Check It Out!
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,080 seconds.