Message 1 of 3
search for a specific attribute and adding a new attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Hope that someone can help me with creating a Lisp file
I need a LISP that can be search to block with a specific attribute called “CN1” or “CN2” “CN*” and after that he search in the drawing to a line that’s horizontal or vertical in the direct area of that Attribute and puts a new hidden attribute with the insertion point at the end of that line. The naming from the new hidden attribute must be “X#TERM##”.
The # means that
- it must be a 2 when the line is vertical and the attribute is on top of the line
- it must be a 8 when the line is vertical and the attribute is on top of the line
- it must be a 1 when the line is horizontal and the attribute is on left site of the line
- it must be a 4 when the line is horizontal and the attribute is on right site of the line
The ## means that
The number must be the same as the following code of the CN* number where the tool was searching for.
Hans Knol