looking for a Lisp that add attributes to blocks and copy some specific values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Hope someone is able to help me with creating a Lisp file described below.
On attached drawing we have a block with attributes, on top of this block is placed an other block with attributes, (same insertionpoint) which has the same value from in the attribute TAG1 or TAG1F. the value of the attribute “SIGCODE” must also be equal in both blocks, normaly one block is vissable and the other or others are on frozen or off layers.
The original linetype of the lines from the "frozen" blocks are “HIDDEN”
Then the value of the "frozen" blocks attribute "MFG" must be placed in a new attribute called “MFG01” which must be hidden and the insertion point can be the insertion point of the block what’s original visible on the Drawing. When there are more blocks behind a block (symbol) then it must be placed in the attribute “MFG02” etc. which must be hidden and the insertion point can be the insertion point of the block what’s original visible on the Drawing. And so on.
The same must be done with the attribute CAT, this must be placed in a new attribute called “CAT01” which must be hidden and the insertion point can be the insertion point of the block what’s original visible on the Drawing. When there are more block behind a block (symbol) then it must be placed in the attribute “CAT02” etc. which must be hidden and the insertion point can be the insertion point of the block what’s original visible on the Drawing. And so on.
The Lisp routine must be run automatically with for example the name MFGCAT
Hope someone is able to create this Lisp routine.