<?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>tema Re: Diesel Expression to get y vlaue for mtext or text en AutoCAD for Mac Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039605#M19391</link>
    <description>Welcome to Autodesk Forums!&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Could you explain how you want to use DIESEL expression and which one to accomplish your task?&lt;BR /&gt;Do you use AutoCAD LT?&lt;BR /&gt;If you are using full AutoCAD, you can use AutoLISP instead of DIESEL.&lt;BR /&gt;&lt;BR /&gt;Maxim</description>
    <pubDate>Mon, 15 Feb 2016 15:23:52 GMT</pubDate>
    <dc:creator>maxim_k</dc:creator>
    <dc:date>2016-02-15T15:23:52Z</dc:date>
    <item>
      <title>Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039444#M19390</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if it's possible in ACAD for Mac to get the value for mtext or text in diesel expressions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will be useful for getting the height of elevations text.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 14:02:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039444#M19390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039605#M19391</link>
      <description>Welcome to Autodesk Forums!&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Could you explain how you want to use DIESEL expression and which one to accomplish your task?&lt;BR /&gt;Do you use AutoCAD LT?&lt;BR /&gt;If you are using full AutoCAD, you can use AutoLISP instead of DIESEL.&lt;BR /&gt;&lt;BR /&gt;Maxim</description>
      <pubDate>Mon, 15 Feb 2016 15:23:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039605#M19391</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2016-02-15T15:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039642#M19393</link>
      <description>&lt;P&gt;ACAD LT. Sorry for not mentioning that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I place mtext or text with a field that has the required DIESEL exp. then,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it should display the y coordinate of the worlds y axis to display the elevation height of a window cill for example where the datum height is at y co-ordinate 0 therefore this displayis the cill height of the mtext with the Y coordinate value of the text.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And if I move the text the value updates depending on the y position. Hope this clarifies my requirement.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 15:35:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039642#M19393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T15:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039681#M19394</link>
      <description>Do you have such DIESEL expression at hand?&lt;BR /&gt;In theory you can use expressions in the fields in AutoCAD for Mac, but it is necessary to test it, because fields in AutoCAD for Mac are less functional than in PC version.&lt;BR /&gt;&lt;BR /&gt;Maxim</description>
      <pubDate>Mon, 15 Feb 2016 15:56:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039681#M19394</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2016-02-15T15:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039690#M19395</link>
      <description>I require the expression from someone as I don't know how to do it.</description>
      <pubDate>Mon, 15 Feb 2016 16:01:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6039690#M19395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T16:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6040520#M19415</link>
      <description>&lt;P&gt;I'm not sure about using fields in your case, because DIESEL cannot read object properties (Y value of insertion point of the text in your case).&lt;/P&gt;
&lt;P&gt;But you can use this macro to put text strings which will contain Y coordinates of its insertion point:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;^c^c-text;\;;$M=$(rtos,$(index,1,$(getvar,lastpoint)),&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;,&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;);&lt;/PRE&gt;
&lt;P&gt;You can use CUI command to create new command macro with the code I wrote above, than assign this macro to the button on the Tool Sets palette.&lt;/P&gt;
&lt;P&gt;When you will pick this button, AutoCAD will ask you to pick start point of the text, than it will create text with current text style and default text height and rotation angle and text&amp;nbsp;contents will be the Y value of the point coordinates (in the current coordinate system) you picked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can fine-tune the format of the text (in my example I used decimal format with&amp;nbsp;two decimal places&amp;nbsp;accuracy) by alerting the last two numbers in the macro I marked in red bold.&lt;/P&gt;
&lt;P&gt;The first number is for the&amp;nbsp;&lt;SPAN&gt;display format (1: exponential, 2: decimal, 3: engineering, 4: architectural, 5: fractional).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The last number is for&amp;nbsp;&lt;SPAN&gt;precision (number of decimals or lowest denominator).&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;Maxim&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 06:18:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6040520#M19415</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2016-02-16T06:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6040528#M19417</link>
      <description>If you want to learn more about DIESEL, I suggest you look at this website:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.crlf.de/Dokumente/Diesel/Diesel.html" target="_blank"&gt;http://www.crlf.de/Dokumente/Diesel/Diesel.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Maxim</description>
      <pubDate>Tue, 16 Feb 2016 06:33:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6040528#M19417</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2016-02-16T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Diesel Expression to get y vlaue for mtext or text</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6041242#M19419</link>
      <description>&lt;P&gt;Thanks, I thought DIESEL could get the coordinate of it's text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a dim style which does the same thing as I wanted (attached). Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:10:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/diesel-expression-to-get-y-vlaue-for-mtext-or-text/m-p/6041242#M19419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T15:10:35Z</dc:date>
    </item>
  </channel>
</rss>

