<?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: how to show file name as dynamic attribute ? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282703#M54239</link>
    <description>&lt;P&gt;You need to remember that &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-Core/files/GUID-B9ADAE6A-2DD1-4C44-B126-CF3FF92EBC68-htm.html" target="_blank" rel="noopener"&gt;fields&lt;/A&gt; are used to substitute the values of the properties of drawing objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 10:29:56 GMT</pubDate>
    <dc:creator>AVCPlugins</dc:creator>
    <dc:date>2022-07-07T10:29:56Z</dc:date>
    <item>
      <title>how to show file name as dynamic attribute ?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282682#M54238</link>
      <description>&lt;P&gt;i know in attdef in the tag if i put some symbols it shows me things like +-&amp;nbsp; (i think its %%p or something like that) or date or whatever.&lt;/P&gt;&lt;P&gt;what are the sybols for the file name (including extension) and for the layer name ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i did before but i forgot how i did it...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 10:21:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282682#M54238</guid>
      <dc:creator>yairMSKTU</dc:creator>
      <dc:date>2022-07-07T10:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to show file name as dynamic attribute ?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282703#M54239</link>
      <description>&lt;P&gt;You need to remember that &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-Core/files/GUID-B9ADAE6A-2DD1-4C44-B126-CF3FF92EBC68-htm.html" target="_blank" rel="noopener"&gt;fields&lt;/A&gt; are used to substitute the values of the properties of drawing objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 10:29:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282703#M54239</guid>
      <dc:creator>AVCPlugins</dc:creator>
      <dc:date>2022-07-07T10:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to show file name as dynamic attribute ?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282887#M54240</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2783534"&gt;@AVCPlugins&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;You need to remember that &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-Core/files/GUID-B9ADAE6A-2DD1-4C44-B126-CF3FF92EBC68-htm.html" target="_blank" rel="noopener"&gt;fields&lt;/A&gt; are used to substitute the values of the properties of drawing objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;i can use it for whatever i want...&amp;nbsp; &amp;nbsp; but you havent really answered my question...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282887#M54240</guid>
      <dc:creator>yairMSKTU</dc:creator>
      <dc:date>2022-07-07T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to show file name as dynamic attribute ?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282908#M54241</link>
      <description>&lt;P&gt;If you are interested in the field-code for extracting the filename, then it is like this:&amp;nbsp;%&amp;lt;\AcVar Filename \f "%fn7"&amp;gt;%&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:12:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11282908#M54241</guid>
      <dc:creator>AVCPlugins</dc:creator>
      <dc:date>2022-07-07T12:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to show file name as dynamic attribute ?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11288337#M54242</link>
      <description>&lt;P&gt;Here's the one for current layer:&lt;/P&gt;&lt;P&gt;%&amp;lt;\AcVar clayer \f "%tc1"&amp;gt;%&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 16:08:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11288337#M54242</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2022-07-10T16:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to show file name as dynamic attribute ?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11289271#M54243</link>
      <description>&lt;P&gt;If you want to add a field (like the filename) to an attribute you have to set the attribute as 'preset'.&amp;nbsp; You can add a field while making the attribute or you can do it afterwards with the command BATTMAN (right click your preset text and choose the option insert field - this works for almost any kind of text in AutoCAD)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_0-1657532531800.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1090019iE990EABB91337EDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichielValcke_0-1657532531800.png" alt="MichielValcke_0-1657532531800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find the Field expression for your field in the bottom of the Field dialogbox&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_1-1657532658893.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1090020i238984D55E1659C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichielValcke_1-1657532658893.png" alt="MichielValcke_1-1657532658893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When you insert the block with the attribute in a drawing the filename will be displayed in the attribute.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_2-1657532748631.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1090021i7F36F89D2E48D25E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichielValcke_2-1657532748631.png" alt="MichielValcke_2-1657532748631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EDIT: as was pointed out to me by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;the preset option is not necessary, you can just use a default and add a field. I have a habit of always using the preset with default values so AutoCAD will not prompt me to fill them in.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 11:43:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-show-file-name-as-dynamic-attribute/m-p/11289271#M54243</guid>
      <dc:creator>Michiel.Valcke</dc:creator>
      <dc:date>2022-07-11T11:43:25Z</dc:date>
    </item>
  </channel>
</rss>

