<?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 Betreff: Field expression command syntax reference? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13153496#M7583</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do it further, check out all possible settings to how the code looks like.&lt;/P&gt;&lt;P&gt;That's the easiest way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-A809CD71-4655-44E2-B674-1FE200B9FE30" target="_blank" rel="noopener"&gt;For non pre-defined (offered) object properties, take a look to your help[f1],&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-A809CD71-4655-44E2-B674-1FE200B9FE30" target="_blank" rel="noopener"&gt;Object model activex&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the the right, click on the object type, then search for your property name.&lt;/P&gt;&lt;P&gt;For Mtext: check out the difference between TEXT and TEXTSTRING&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to test: Create a field code for Mtext content,&lt;/P&gt;&lt;P&gt;Copy the code and change the property name in notepad.&lt;/P&gt;&lt;P&gt;Paste the new code to the same drawing.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 20:07:52 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2024-11-15T20:07:52Z</dc:date>
    <item>
      <title>Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13153350#M7582</link>
      <description>&lt;P&gt;Diesel expressions have a nice reference guide &lt;A href="https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-F94A885A-4DA2-432B-AC1A-EB49CC6C1C72" target="_blank" rel="noopener"&gt;here (https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-F94A885A-4DA2-432B-AC1A-EB49CC6C1C72).&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any guides like this for field expressions? I would like to experiment with more advanced field expressions but I can't find any reference material about the syntax. This is an example of what I'm talking about:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%&amp;lt;\AcObjProp Object(%&amp;lt;\_ObjId 1722057714944&amp;gt;%).Area \f "%lu6%qf1"&amp;gt;%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've experimented with the object properties and it doesn't seem like all properties are available. How would I figure out how to use this syntax and what properties it supports?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 18:33:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13153350#M7582</guid>
      <dc:creator>Coffee_Aided_Design</dc:creator>
      <dc:date>2024-11-15T18:33:15Z</dc:date>
    </item>
    <item>
      <title>Betreff: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13153496#M7583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do it further, check out all possible settings to how the code looks like.&lt;/P&gt;&lt;P&gt;That's the easiest way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-A809CD71-4655-44E2-B674-1FE200B9FE30" target="_blank" rel="noopener"&gt;For non pre-defined (offered) object properties, take a look to your help[f1],&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-A809CD71-4655-44E2-B674-1FE200B9FE30" target="_blank" rel="noopener"&gt;Object model activex&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the the right, click on the object type, then search for your property name.&lt;/P&gt;&lt;P&gt;For Mtext: check out the difference between TEXT and TEXTSTRING&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to test: Create a field code for Mtext content,&lt;/P&gt;&lt;P&gt;Copy the code and change the property name in notepad.&lt;/P&gt;&lt;P&gt;Paste the new code to the same drawing.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:07:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13153496#M7583</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2024-11-15T20:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13157914#M7584</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;, this is great. I had no idea that I could just paste the field syntax directly into Mtext, this will save me some time. That object model diagram is really useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean about the difference between TEXT and TEXTSTRING, I found the property but I'm not sure what you wanted me to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I would like to understand the syntax more, you helped me with the available properties but I would still like to know what these parts mean (highlighted):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Coffee_Aided_Design_0-1731951906253.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1435114iA39B0FAD66194896/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Coffee_Aided_Design_0-1731951906253.png" alt="Coffee_Aided_Design_0-1731951906253.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I imagine&amp;nbsp; "%&amp;lt;\" (green) just tells Autocad that this is a field. Is there a section of the documentation that describes this? Does the sequence of code have a name? Second, I've only ever seen "AcObjProp" and "Object" get used (pink and yellow) are there other options and is there a list somewhere? Finally the "\f" (blue) is for formatting but I don't know where to find the options in the documentation. Does this part of the code have a name? Are there other options besides "\f"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &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;</description>
      <pubDate>Mon, 18 Nov 2024 17:53:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13157914#M7584</guid>
      <dc:creator>Coffee_Aided_Design</dc:creator>
      <dc:date>2024-11-18T17:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13157988#M7585</link>
      <description>&lt;P&gt;This link though applies to Bricscad is similar with AutoCAD contains explanation for what you're asking for including a section under FORMATTING:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bricsys.com/en-eu/blog/coding-with-field-text-customizing-bricscad-p20?srsltid=AfmBOoowA5bwR5maRzXymeNVnr8o55oZLz9rWKVW5kG2HIEWgWDI9DKq" target="_blank"&gt;https://www.bricsys.com/en-eu/blog/coding-with-field-text-customizing-bricscad-p20?srsltid=AfmBOoowA5bwR5maRzXymeNVnr8o55oZLz9rWKVW5kG2HIEWgWDI9DKq&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1731953910274.png" style="width: 838px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1435131iC47502625FEEFAF8/image-dimensions/838x630?v=v2" width="838" height="630" role="button" title="paullimapa_0-1731953910274.png" alt="paullimapa_0-1731953910274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 18:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13157988#M7585</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-11-18T18:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158072#M7586</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;, wow this is the sort of documentation I was looking for, great job Brics. The syntax is nearly identical, are fields part of the&amp;nbsp;Open Design Alliance standards?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 18:57:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158072#M7586</guid>
      <dc:creator>Coffee_Aided_Design</dc:creator>
      <dc:date>2024-11-18T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158085#M7587</link>
      <description>&lt;P&gt;no idea if field formatting are part of the&amp;nbsp;&lt;SPAN&gt;Open Design Alliance standards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 19:03:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158085#M7587</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-11-18T19:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158391#M7588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;MTEXT sampe /&amp;nbsp;&lt;SPAN&gt;TEXT and TEXTSTRING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create an Mtext with two words, inside Mtexteditor change the color of one of them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Close editor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, create a field to read the Content (will read the textstring - see the fieldcode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create an edited fieldcode, replace textstring property with text property - and you will see the difference.&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;&lt;SPAN&gt;Paste fieldcode: You can also paste a code directly to the modelspace and at some other places too, not just in&amp;nbsp; the mtext editor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thats why I wrote, use the field dialog to create a fieldcode and watch the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Every setting have another code (not documented from Adesk).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Read from sysvar, read from Object, Formular... ALL kind, property and format&amp;nbsp; have a special code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The way to go thru field editor and checking the code is fast as possible, no need for a documentation (my opinion).&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>Mon, 18 Nov 2024 21:39:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158391#M7588</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2024-11-18T21:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Field expression command syntax reference?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158511#M7589</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;, yes I see the difference between TEXTSTRING and TEXT now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for confirming that the documentation is lacking and also giving me some things to try. Sometimes it's just best to experiment.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 22:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/field-expression-command-syntax-reference/m-p/13158511#M7589</guid>
      <dc:creator>Coffee_Aided_Design</dc:creator>
      <dc:date>2024-11-18T22:51:01Z</dc:date>
    </item>
  </channel>
</rss>

