Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
rename anything with regex
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: rename anything with regex (Read 1778 times)
0 Members and 1 Guest are viewing this topic.
jtm2020hyo
Newt
Posts: 198
rename anything with regex
«
on:
December 02, 2019, 10:28:28 AM »
I found a vlx (rrename) that rename block, layer, etc. with regex, but I tried to rename with "find (.+)(a|b|c) replace $2$1" but does not works.
link:
https://www.cadforum.cz/cadforum_en/rename-on-steroids-complex-renaming-of-autocad-objects-tip9265
so maybe I'm doing something bad (teach me please to use it).
but I think that maybe can be possible rename anything with any excel or text file? (equivalent to TABLE command linking table to excel file)
Logged
https://www.patreon.com/jtm2020hyo
VMichl
Mosquito
Posts: 8
Re: rename anything with regex
«
Reply #1 on:
December 02, 2019, 04:43:41 PM »
It works for me. Your find/replace codes do rename e.g. "LayerA" to ALayer" and "LayB" to "BLay". Do you expect this type of renames?
Logged
ronjonp
Needs a day job
Posts: 7527
Re: rename anything with regex
«
Reply #2 on:
December 02, 2019, 05:23:17 PM »
This was posted below as well .. it appears to be user error.
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alternatives-to-rrename-vlx/m-p/9177469#M393113
Logged
Windows 11 x64 - AutoCAD /C3D 2023
Custom Build PC
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
rename anything with regex