Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
|
Post Reply ![]() |
Author | |
aglasier ![]() Newbie ![]() Joined: 28.May.2018 Location: Canada Using: AutoCAD 2016 Status: Offline Points: 3 |
![]() Posted: 28.May.2018 at 21:06 |
I am attempting to extract data from drawings given to me that do not have attributes assigned to certain text blocks. I do know the data I want will contain either "MARK", "ETCH", or "STAMP".
I have tried entering I am however able to pick up the text I need with I am still new to lisp and data extraction so bare with me lol Below is my current lisp routine which works for data that has attributes, what I did was replace the current ssget command with the one i mentioned above to get that error.
I have also thought of just using I apologize if i did not include everything you need here, just let me know if you need more information and I will be happy to supply it. |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2098 |
![]() |
The (ssget) function you are using is correct. Only the "Select objects:" prompt should come from a standard editing command, not from an add-on application. LISP calls cannot be nested.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
aglasier ![]() Newbie ![]() Joined: 28.May.2018 Location: Canada Using: AutoCAD 2016 Status: Offline Points: 3 |
![]() |
Thank you for the reply Valdimir,
So I'm on the right track to selecting the objects I need, how would I go about writing a lisp routine to extract that specific data? Or is there another route that would be better to take with this? Some background might be useful, the reason I'm doing this is to verify all of the data on the drawings are correct. I can get most of it with the Data extraction tool but as far as i'm aware you cannot specify which text to grab like I can with the ssget function. Once this is working it will be used on many different drawings at once so i'm trying to write something to automate that process a bit.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,067 seconds.