<?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: Linking field to a table cells in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521502#M22496</link>
    <description>&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;Yeah i tried it just with numbers and that work but unfortunately does work for my application.&lt;/P&gt;&lt;P&gt;Is there any way of writing own LIPS code ?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2024 07:35:27 GMT</pubDate>
    <dc:creator>miroslav_danko</dc:creator>
    <dc:date>2024-01-26T07:35:27Z</dc:date>
    <item>
      <title>Linking field to a table cells</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12517500#M22494</link>
      <description>&lt;P&gt;Is there any way of getting data from a table cell in to a field ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with Data link to an Excel spreadsheet. I would like to use the content of each cell and place it in to my drowing as a field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:04:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12517500#M22494</guid>
      <dc:creator>miroslav_danko</dc:creator>
      <dc:date>2024-01-24T11:04:10Z</dc:date>
    </item>
    <item>
      <title>Betreff: Linking field to a table cells</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12517520#M22495</link>
      <description>&lt;P&gt;Hi,&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/13412781"&gt;@miroslav_danko&lt;/a&gt;&amp;nbsp; schrieb:&lt;BR /&gt;
&lt;P&gt;Is there any way of getting data from a table cell in to a field ?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For number values: Yes, for string-values, NO&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use FIELD&lt;/P&gt;
&lt;P&gt;all&lt;/P&gt;
&lt;P&gt;formula&lt;/P&gt;
&lt;P&gt;[cell] Button..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:19:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12517520#M22495</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2024-01-24T11:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linking field to a table cells</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521502#M22496</link>
      <description>&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;Yeah i tried it just with numbers and that work but unfortunately does work for my application.&lt;/P&gt;&lt;P&gt;Is there any way of writing own LIPS code ?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 07:35:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521502#M22496</guid>
      <dc:creator>miroslav_danko</dc:creator>
      <dc:date>2024-01-26T07:35:27Z</dc:date>
    </item>
    <item>
      <title>Betreff: Linking field to a table cells</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521603#M22497</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;"but unfortunately does work for my application."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I don't understand what you trying to say. So do you need it for strings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;"Is there any way of writing own LIPS code ?"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sit down, type in:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(alert" Hello World")&lt;/STRONG&gt;&amp;lt;enter&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Welcome this is Lisp and you wrote it on your own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;And if that was your question but you forgot to ask, yes - you can also read cell values from tables with Lisp,&lt;BR /&gt;probably also with any other API&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 08:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521603#M22497</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2024-01-26T08:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linking field to a table cells</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521620#M22498</link>
      <description>&lt;P&gt;Yes it is a string value i am trying to mirror to my drawing from a cell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i found this code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:fieldcell (/ textent textobj oid)&lt;BR /&gt;(if&lt;BR /&gt;(and&lt;BR /&gt;(setq textent (car (nentsel "\nSelect table cell")))&lt;BR /&gt;(setq textobj (vlax-ename-&amp;gt;vla-object textent))&lt;BR /&gt;(setq oid (vla-get-objectid textobj))&lt;BR /&gt;)&lt;BR /&gt;(command "_.text"&lt;BR /&gt;pause&lt;BR /&gt;""&lt;BR /&gt;""&lt;BR /&gt;(strcat "%&amp;lt;\\AcObjProp Object(%&amp;lt;\\_ObjId "&lt;BR /&gt;(itoa oid)&lt;BR /&gt;"&amp;gt;%).TextString&amp;gt;%"&lt;BR /&gt;)&lt;BR /&gt;""&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but that also work only if the value is a number. If i try it with my table, I only get&amp;nbsp;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;#.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you somehow correct it the way it reads also string value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 08:57:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521620#M22498</guid>
      <dc:creator>miroslav_danko</dc:creator>
      <dc:date>2024-01-26T08:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linking field to a table cells</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521957#M22499</link>
      <description>&lt;P&gt;No one from us can "correct" AutoCAD, we are mostly just users like you. Cells (cell content values) are being used just in the Expression part of the Field dialog, creating arithmetic expressions - that's why the limitation to numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, cell expressions in fields allow quite advanced combinations like relative/nested addressing of the cells - you can use another property (e.g. content of another text entity or cell value) to address a specific cell - e.g. not just &lt;EM&gt;valueof.&lt;/EM&gt;B3, &lt;EM&gt;valueof.&lt;/EM&gt;A6 but also dynamically: &lt;EM&gt;valueof.&lt;/EM&gt;B&lt;EM&gt;&amp;lt;another field value&amp;gt;&lt;/EM&gt;. Opens interesting options...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://www.cadforum.cz/cz/hodnota-bunky-tabulky-jako-dynamicke-textove-pole-v-autocadu-tip14002" target="_blank" rel="noopener"&gt;https://www.cadforum.cz/cz/hodnota-bunky-tabulky-jako-dynamicke-textove-pole-v-autocadu-tip14002&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank" rel="noopener"&gt;www.arkance-systems.cz&lt;/A&gt;&amp;nbsp; -&amp;nbsp; &lt;A href="http://www.cadforum.cz" target="_blank" rel="noopener"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:26:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linking-field-to-a-table-cells/m-p/12521957#M22499</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2024-01-26T13:26:06Z</dc:date>
    </item>
  </channel>
</rss>

