Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I have a problem changing the value of an attribute. I do not want to change the entire attribute name, but delete a part of it, and enter that deleted part for another attribute. For example, I have an attribute "code" with the value "JKL.00.123.45 CH". I would like to remove the "CH" part from this and place it in the "info" attribute. I want this for all blocks with the "accespoint" name in particular. Can someone help me with this? I have no idea how to write a LISP for this. I just can't figure it out. If I have to do all this manually, I will be busy for a very long time.
So to sum it up clearly:
It concerns the block with the name "accespoint".
This has two attributes 1 with the name "info" and 1 with the name "code"
When the attribute code with the piece of text with "CH" is deleted, the rest must remain.
The CH part must be replaced in the "info" attribute.
So to sum it up clearly:
It concerns the block with the name "accespoint".
This has two attributes 1 with the name "info" and 1 with the name "code"
When the attribute code with the piece of text with "CH" is deleted, the rest must remain.
The CH part must be replaced in the "info" attribute.
Solved! Go to Solution.