
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys,
I've been looking for an AutoLISP that renames layers, but does more than one layer at once (e.g. I don't need to run 20 lisps to rename 20 layers).
Currently I have a list of "Features" and every time i digitise one of these I add a suffix (e.g. FENCE02 or FENCE_02 the software unfortunately only exports Polylines with names as layers) and then later export them all into a .DXF file. When i get them into AutoCAD I select them, explode them, flatten them, join them (fun 3D PL to PL workflows are fun) and then go about changing all the duplicate layer names to a reference name.
Is there any way I can automate this? My reference layers are:
ROAD |
DRIVEWAY |
TOP_OF_BANK |
TOE_OF_BANK |
EARTH_DRAIN_ |
RETAINING_WALL |
ELEC_POLE |
BUSH_EXTENTS |
TREE_EXTENTS |
TRUNKS_ |
FENCE_ |
GATE_ |
SIGN_ |
BUILDING |
STORMWATER_ |
ABOVE_GROUND_HYDRANT_ |
ROAD_FURNITURE_ |
PIT_TELSTRA_ |
PIT_GAS_ |
PIT_SEWER_ |
PIT_WATER_ |
PIT_IRRIGATION_ |
PIT_UNCLASSIFIED_ |
PIT_IRRIGATION |
PIT_UNCLASSIFIED |
Any help muchly appreciated, i've had a decent look online and most of the LISPS only change one predefine layer, and my complete lack of LISPING skills means I cannot just copy paste the code with the new refs.
Thanks guys,
K
Solved! Go to Solution.