<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Blockreplace - keeping Value with same Attribute tags in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813121#M88176</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;The value of 20 will be lost for good if we do what you're asking for. It makes no sense. Are you sure?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I want to keep the value of 20&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, now it makes sense. Seriously! You must be joking, man.&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2019 14:21:53 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2019-05-24T14:21:53Z</dc:date>
    <item>
      <title>Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812387#M88156</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it somehow possible to replace blocks with the same Attribute tags but diffrent Value without losing the original values ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 08:59:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812387#M88156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812417#M88157</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it somehow possible to replace blocks with the same Attribute tags but diffrent Value without losing the original values ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes indeed, as long as they have the same tags. or at least a list of tags as reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 09:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812417#M88157</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2019-05-24T09:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812458#M88158</link>
      <description>&lt;P&gt;Story behind - we use a LISP that blockreplace all block that are counted up like : " A , A_1 , A_2 , A_3 " to only " A " then we change the Attribute tags of the block ( A ) to "C1" and "C2" and at this point every Value becomes the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe a way to lock all Values via a Lisp or script to prevent them all changiging to the same ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks beforehand tho&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 09:29:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812458#M88158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T09:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812467#M88159</link>
      <description>&lt;P&gt;Script for refrence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;;;-------------------=={ Edit Attributes }==------------------;;

;;------------------------------------------------------------;;

;;; Rename attributes
(defun RenAttrib ($blk $old $new / blocks bo eo ao)
  ;; Get blocks collection in current drawing
  (setq blocks (vla-get-Blocks (vla-get-ActiveDocument (vlax-get-acad-object))))
  ;; Step through all blocks
  (vlax-for bo blocks
    ;; Step through all entities inside block
    (vlax-for eo bo
      (cond
        ;; If attdef &amp;amp; in target block &amp;amp; old tag
        ((and (= (vla-get-ObjectName eo) "AcDbAttributeDefinition")
              (= (strcase (vla-get-Name bo)) (strcase $blk))
              (= (vla-get-TagString eo) $old)
         ) ;_ end of and
         (vla-put-TagString eo $new) ;Change to new name
        )
        
        ;; If block reference &amp;amp; target block
        ((and (= (vla-get-ObjectName eo) "AcDbBlockReference")
              (= (strcase (vla-get-EffectiveName eo)) (strcase $blk))
         ) ;_ end of and
         ;; Step through all attributes
         (foreach ao (vlax-safearray-&amp;gt;list (vlax-variant-value (vla-GetAttributes eo)))
           ;; Check if target attrib
           (if (= (strcase (vla-get-TagString ao)) (strcase $old))
             (vla-put-TagString ao $new) ;Change to new name
           ) ;_ end of if
         ) ;_ end of foreach
        )
      ) ;_ end of cond
    ) ;_ end of vlax-for
  ) ;_ end of vlax-for
) ;_ end of defun

;;-------------------=={ Blockreplace }==------------------;;

;;------------------------------------------------------------;;

(defun c:mega (/ lst ss i sn en f)

;;--------------------------------------------;;

(setq lst '(("3-Wegearmatur_1" . "3-Wegearmatur")
	("3-Wegearmatur_2" . "3-Wegearmatur")
	("3-Wegearmatur_3" . "3-Wegearmatur")
	("3-Wegearmatur_4" . "3-Wegearmatur")
	("3-Wegearmatur2_1" . "3-Wegearmatur2")
	("3-Wegearmatur2_2" . "3-Wegearmatur2")
	("3-Wegearmatur2_3" . "3-Wegearmatur2")
	("3-Wegearmatur2_4" . "3-Wegearmatur2")
	("9A1_1" . "9A1")

)

)

(if (setq ss (ssget "_X" (list '(0 . "INSERT")

(cons 2 (apply 'strcat (mapcar '(lambda (x) (strcat (car x) ",")) lst))))))

(repeat (setq i (sslength ss))

(setq sn (ssname ss (setq i (1- i)))

en (entget sn))

(if (and (setq f (assoc (cdr (assoc 2 en)) lst))

(tblsearch "BLOCK" (cdr f))

(entmake (append (list '(0 . "INSERT") (cons 2 (cdr f)))

(vl-remove-if-not '(lambda (v) (member (car v) '(6 8 10 41 42 43 50 62))) en)))

)

(entdel sn)

)

)

)

(princ)
(command "_.purge" "_all" "*" "_no"
	"_.ATTsync" "n" "*"
	   )
)

;;-------------------=={ Attribut Namen Neu }==------------------;;

;;------------------------------------------------------------;;

(defun c:geil (/ i f)
  ;; RJP » 2019-05-22
  ;; Renames all attribute tags in blocks to X1,X2 etc... USE AT YOUR OWN RISK!!
  (vlax-for a (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))
    (cond ((= 0 (vlax-get a 'islayout) (vlax-get a 'isxref))
	   (setq i 0)
	   (vlax-for b a
	     (and (= "AcDbAttributeDefinition" (vla-get-objectname b))
		  (vlax-write-enabled-p b)
		  (vla-put-tagstring b (setq f (strcat "C" (itoa (setq i (1+ i))))))
	     )
	   )
	  )
    )
  )
  (and f (command "_attsync" "_n" "*"))
  (princ)
)
(vl-load-com)&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 May 2019 09:33:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812467#M88159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T09:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812496#M88160</link>
      <description>&lt;P&gt;You mind posting an example drawing. Not sure I completely understand the requirement.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 10:03:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812496#M88160</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2019-05-24T10:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812578#M88161</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Sadly i can't... &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I'll try it as good as i can.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;First we convert drawings from Microstation.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Afterconvertion blocks are names like:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A_1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A_2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A_3&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Attribe Tags are the same:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Tag----------------------------Value&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_1790&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_29184&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;A_1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Tag----------------------------Value&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_458&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_4777&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;etc.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;(&lt;FONT color="#3366FF"&gt;A_Tag_1790&lt;/FONT&gt; The "&lt;FONT color="#3366FF"&gt;1790&lt;/FONT&gt;" is always randomiced)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Summed up there are probably 50.000 combinations of &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;A_1 , A_2 , A_3 &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;with diffrent block names and diffrent Attribute Tags. This Happens with every Block Converted.&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;The Thoughts behind this is: Use the "&lt;FONT color="#FF00FF"&gt;c:mega&lt;/FONT&gt;" so there is only one block to edit then use the "&lt;FONT color="#993366"&gt;C:geil&lt;/FONT&gt;" to rename the randomised Tags to "C1" and "C2" depending on the order they are listet with "battman".&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;After that we run a whole lot comands copied from a excel like:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;(RenAttrib "A" "C1" "ARMATURENBEZEICHNUNG")&lt;/P&gt;&lt;P&gt;(RenAttrib "A" "C2" "NENNWEITE")&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so all the &lt;FONT color="#FF0000"&gt;A&lt;/FONT&gt; Blocks with the Tag "C1" will get the Tag "ARMATURENBEZEICHNUNG".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even tho all C1 Tags in &lt;FONT color="#FF0000"&gt;A&lt;/FONT&gt; are "ARMATURENBEZEICHNUNG" the Value changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------After everything is done------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A (Was A)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Tag-----------------------------------------------Value&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;ARMATURENBEZEICHNUNG &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;NENNWEITE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A (Was A_1)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Tag-----------------------------------------------Value&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;ARMATURENBEZEICHNUNG &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;NENNWEITE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;so all the values will set to the block where everything got replaced to.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thought about a lock system thingy - so anything cant touch the Value until i told it to Unlock alls Values again.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I hope i could be specific enough for a solution tho. English is not my native language &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Best regards &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 10:52:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812578#M88161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T10:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812682#M88162</link>
      <description>&lt;P&gt;I'll see what I can do..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 11:48:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812682#M88162</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2019-05-24T11:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812685#M88163</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm sorry that i have to do that but this is the &lt;U&gt;forth&lt;/U&gt; time in only 8 days that you open a new thread all with the same issue?&amp;nbsp;why don't you stick to the first so any one who tries to help you will know what you got up to that point?&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/change-attribute-tags-by-their-position-instead-of-the-name/td-p/8797146" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; this is the first &amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-every-attribute-tag-gloabally/td-p/8807205" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; and this is the second &amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/useing-a-command-with-spaces/td-p/8810264" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; and this is the third &amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you changed the topic 4 time, is this to&amp;nbsp;&lt;SPAN&gt;confuse us or you still do not knows what do you want?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i understand that you can not post a dwg cause it's confidential and i think no one here has problem with that, the least you could do is create a dummy drawing with dummy attributes with dummy value and post it here long ago. cause anyone who want to solves this will need to create this dummy database in order to check his solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this issue could been solved a week ago (help us to help you &lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://forums.autodesk.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;moshe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 11:52:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812685#M88163</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-05-24T11:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812716#M88164</link>
      <description>&lt;P&gt;I remember that I wrote a routine that solved this issue... basically, it merged all ABC# blocks into one. You might try to search for it. I have no luck at this time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ou, found it in a different directory. And&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-lisp-w-if-then-statements-w-no-dialog-popup/td-p/8406501" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;the thread which it was written for.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 12:13:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812716#M88164</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-05-24T12:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812758#M88165</link>
      <description>&lt;P&gt;Yeah i know , dont worry to be rude - im very new to LISP and im sorry if this is gonna prevent helping but im working around a big problem with these .dwg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/change-attribute-tags-by-their-position-instead-of-the-name/td-p/8797146" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; this is the first &amp;lt;&amp;lt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;couldn't get the attribute change by order working tho so i scrapped that idea instead wanted to change the Tag globally and change it afterwards - here comes post number two:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-every-attribute-tag-gloabally/td-p/8807205" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; and this is the second &amp;lt;&amp;lt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Accepted solution and tried to build the C:Renattrib into the LISP to make it dummie proof - couldn't get it working so here comes Post number three&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/useing-a-command-with-spaces/td-p/8810264" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; and this is the third &amp;lt;&amp;lt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;I still don't get **** (really) this problem made a long way and is now working as intendet (almost) but the Value keeps changing and here we are &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://forums.autodesk.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;I'm sorry for the spam but it feels like it is building up - atleast i think so and im trying to explain it everytime a bit more in detail because i should have to post several .dwg to show someone the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Universal use is the keyword here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;You got a point with the sticky tho. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/change-attribute-tags-by-their-position-instead-of-the-name/td-p/8797146" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; this is the first &amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-every-attribute-tag-gloabally/td-p/8807205" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; and this is the second &amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/useing-a-command-with-spaces/td-p/8810264" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt; and this is the third &amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its just hard to explain such a complex problem with a LISp that i cant really read and totally cant really write myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 12:22:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812758#M88165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T12:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812810#M88166</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i'm sorry that i have to do that but this is the &lt;U&gt;forth&lt;/U&gt; time in only 8 days that you open a new thread all with the same issue?&amp;nbsp;why don't you stick to the first so any one who tries to help you will know what you got up to that point?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;-----------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I remember that I wrote a routine that solved this issue...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oops, I wasn't aware of those discussion, been away too long &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 12:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812810#M88166</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2019-05-24T12:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812825#M88167</link>
      <description>&lt;P&gt;The merge works fine , its not the problem tho (Still pretty impressive)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after merging everything , then renaming attributes all values still changing after renaming Tags.&lt;/P&gt;&lt;PRE&gt;(defun c:geil (/ i f)
  ;; RJP » 2019-05-22
  ;; Renames all attribute tags in blocks to C1,C2 etc... USE AT YOUR OWN RISK!!
  (vlax-for a (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))
    (cond ((= 0 (vlax-get a 'islayout) (vlax-get a 'isxref))
	   (setq i 0)
	   (vlax-for b a
	     (and (= "AcDbAttributeDefinition" (vla-get-objectname b))
		  (vlax-write-enabled-p b)
		  (vla-put-tagstring b (setq f (strcat "C" (itoa (setq i (1+ i))))))
	     )
	   )
	  )
    )
  )
  (and f (command "_attsync" "_n" "*"))
  (princ)
)
(vl-load-com)&lt;/PRE&gt;&lt;P&gt;is there a way to keep the diffrent values while changing the Tags ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 12:42:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812825#M88167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812832#M88168</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i'm sorry that i have to do that but this is the &lt;U&gt;forth&lt;/U&gt; time in only 8 days that you open a new thread all with the same issue?&amp;nbsp;why don't you stick to the first so any one who tries to help you will know what you got up to that point?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;-----------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I remember that I wrote a routine that solved this issue...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oops, I wasn't aware of those discussion, been away too long &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm new here too. My routine was for someone else with MicroStation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... apparently no luck &lt;A href="https://static.standard.co.uk/s3fs-public/thumbnails/image/2019/05/24/10/theresamay2405h.jpg" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;. Didn't get the issue right. So feel free to try yours,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 13:01:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812832#M88168</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-05-24T13:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812922#M88169</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm new here too. My routine was for someone else with MicroStation.&lt;/P&gt;
&lt;P&gt;... apparently no luck &lt;A href="https://static.standard.co.uk/s3fs-public/thumbnails/image/2019/05/24/10/theresamay2405h.jpg" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;. Didn't get the issue right. So feel free to try yours,&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean? it's perfect for the issue ---&amp;gt;&amp;nbsp; "Blockreplace - keeping Value with same Attribute tags"&lt;/P&gt;
&lt;P&gt;The whole discussion is too deep to get involved with anyways&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exactly the same feeling as T Maybe. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 13:19:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812922#M88169</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2019-05-24T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812966#M88170</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;...&amp;nbsp;apparently no luck &lt;A href="https://static.standard.co.uk/s3fs-public/thumbnails/image/2019/05/24/10/theresamay2405h.jpg" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;. Didn't get the issue right. So feel free to try yours,&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What do you mean? it's perfect for the issue...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That was my thinking too, but that was not the problem...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The merge works fine , its not the problem tho (Still pretty impressive)&lt;/P&gt;
&lt;P&gt;after merging everything , then renaming attributes all values still changing after renaming Tags.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;is there a way to keep the diffrent values while changing the Tags ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you saying, it's too deep to dive for me too.&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;- any oxygen left to you?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 13:33:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8812966#M88170</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-05-24T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813015#M88171</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Story behind - we use a LISP that blockreplace all block that are counted up like : " A , A_1 , A_2 , A_3 " to only " A " then we change the Attribute tags of the block ( A ) to "C1" and "C2" and at this point every Value becomes the same.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Make a table. BlockName, Tags, Values. All in states before (have) and after (want to have). Make more examples to see the pattern.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 13:45:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813015#M88171</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-05-24T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813021#M88172</link>
      <description>&lt;P&gt;Oh i guess i know what u guys are talking about Titel would better be " Blockreplace - keeping Value with&lt;FONT color="#FF00FF"&gt;out&lt;/FONT&gt; same Attribute tags" (?????)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please dont make me do another thread..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thought this would clear thigs up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Tag----------------------------Value&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_1790&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_29184&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;A_1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Tag----------------------------Value&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_458&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;A_Tag_4777&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;(...)&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;//////////////After everything is done////////////////&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A (Was A)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Tag-----------------------------------------------Value&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;ARMATURENBEZEICHNUNG &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;NENNWEITE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;A (Was A_1)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Tag-----------------------------------------------Value&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;ARMATURENBEZEICHNUNG &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;NENNWEITE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 24 May 2019 13:47:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813021#M88172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T13:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813067#M88173</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Story behind - we use a LISP that blockreplace all block that are counted up like : " A , A_1 , A_2 , A_3 " to only " A " then we change the Attribute tags of the block ( A ) to "C1" and "C2" and at this point every Value becomes the same.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Make a table. BlockName, Tags, Values. All in states before (have) and after (want to have). Make more examples to see the pattern.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;i made a table like this , its exactly 702.215 lines in excel i could work tho but it takes forever ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it contains every&amp;nbsp; "_[Number]" after every block and the Random ending number after every Tag..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813067#M88173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813084#M88174</link>
      <description>&lt;P&gt;OK, I see. A question.&lt;/P&gt;
&lt;P&gt;Why the value of 1st att of A_1 block changed from 20 to 10. I can see that this is the value of the 1st attribute of the root block...&amp;nbsp;But this can't be caused by some DGN -&amp;gt; DWG conversion... The value of 20 will be lost for good if we do what you're asking for. It makes no sense. Are you sure?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:10:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813084#M88174</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-05-24T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Blockreplace - keeping Value with same Attribute tags</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813098#M88175</link>
      <description>&lt;P&gt;Oh my god , im kinda hyped right now&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Blocks are Text bubbles (The bubbles are the same block but with diffrent text(Values) in it )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im trying to do a dummy .dwg right now to post for u guys but i dont know if i can recreate the problem propperly :x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;The value of 20 will be lost for good if we do what you're asking for. It makes no sense. Are you sure?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I want to keep the value of 20&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:15:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/blockreplace-keeping-value-with-same-attribute-tags/m-p/8813098#M88175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-24T14:15:51Z</dc:date>
    </item>
  </channel>
</rss>

