Over 1.091.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

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.
|
Post Reply ![]() |
Author | |
z1990m ![]() Newbie ![]() Joined: 03.May.2017 Location: United Kingdom Using: AutoCAD 2014 Status: Offline Points: 12 |
![]() Posted: 25.May.2018 at 22:46 |
Hi,
This is probably trivial for most people but I’m strugging to invent a work around for lots of typing and mouse clicks. What I have is a survey drawing unedited with multiple text displaying depths in the format of “0.00d” However the survey software spits out these filths in all different formats e.g. “.0” “0.0” “.00” What I currently do as my fastest way to rectify this is do multiple QSELECT commands each time using wildcards like #.# or .# and using a lisp command that I found on the net to add prefixes and suffixes in order to format all the text to read “#.##d” What I originally thought was to record a macro of me running all of these QSELECT commands and save that, problem being it grinds to a halt once the QSELECT dialog box gets involved. Hopefully that made sense to someone, and if someone could help it would save me so much time. Thanks |
|
Many Thanks
Zak |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 685 |
![]() |
Do all of them always end with a "d" and never have any other content except the decimal-numerical part? If so, it shouldn't be hard to make a routine that would "fix" such text content.
Edited by Kent Cooper - 30.May.2018 at 15:18 |
|
![]() |
|
z1990m ![]() Newbie ![]() Joined: 03.May.2017 Location: United Kingdom Using: AutoCAD 2014 Status: Offline Points: 12 |
![]() |
Kent,
To be honest, no they don’t as I could use the lisp I have to add the “d” (depth in case you where wondering) as a suffix at the end. Mainly just trying to speed up my prep time before finalising my drawings as the survey software we use spits out some less than ideal formats for this text. If you could help then it would be very much appreciated! ?? Zak |
|
Many Thanks
Zak |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2098 |
![]() |
I think it should be possible to use srxText (a general text replacement utility, see Download) and find a regular expression which would cover all wrong formats, and replace it then with the right one. If you send me a list of all possible wrong formats, I can help to code such expression.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
bigdave34 ![]() Newbie ![]() Joined: 27.Jun.2013 Location: United Kingdom Using: autodcad 2014 Status: Offline Points: 1 |
![]() |
Hi wondering if you can help me using srxtext command?
I want to replace a KKS code prefix, the code is alphanumeric so currently something like 3HAD10#### is the start can be any combination of letters though, just want to change the 3 to 1. Any ideas? Thanks
Edited by bigdave34 - 18.Jul.2018 at 14:36 |
|
![]() |
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,145 seconds.