<?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 fetch layer name of line entity?? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738859#M7091</link>
    <description>&lt;P&gt;Thanx man..&lt;/P&gt;&lt;P&gt;One more question..i am plannig to create a plugin for both windows and mac.Is c++ mandatory for that??Can i use c# to create plugin for mac and windows??&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2018 09:16:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-31T09:16:15Z</dc:date>
    <item>
      <title>How to fetch layer name of line entity??</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738557#M7089</link>
      <description>&lt;P&gt;i need to fetch the start point and end point of all the line which has "wall" layername.&lt;/P&gt;&lt;P&gt;I am using c++ and pEnt-&amp;gt;layer().But how to compare the layername with string "wall"&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 06:48:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738557#M7089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T06:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch layer name of line entity??</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738849#M7090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ACHAR* pLayerName = pEnt-&amp;gt;layer();
bool   bOK        = ((pLayerName != NULL) &amp;amp;&amp;amp; (_tcscmp(pLayerName, _T("wall")) == 0));
if (pLayerName != NULL)
  acutDelString(pLayerName);

if (bOK;)
{
  // Do something...
}&lt;/PRE&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:11:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738849#M7090</guid>
      <dc:creator>thierry_prince</dc:creator>
      <dc:date>2018-01-31T09:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch layer name of line entity??</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738859#M7091</link>
      <description>&lt;P&gt;Thanx man..&lt;/P&gt;&lt;P&gt;One more question..i am plannig to create a plugin for both windows and mac.Is c++ mandatory for that??Can i use c# to create plugin for mac and windows??&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:16:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738859#M7091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T09:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch layer name of line entity??</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738923#M7092</link>
      <description>&lt;P&gt;I'm not sure you can develop C# plugin for AutoCAD on MAC.&lt;/P&gt;
&lt;P&gt;There is an ObjectARX SDK for MAC, you should investigate this way.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:35:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7738923#M7092</guid>
      <dc:creator>thierry_prince</dc:creator>
      <dc:date>2018-01-31T09:35:27Z</dc:date>
    </item>
    <item>
      <title>Sollution using wcsstr() function.</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7739196#M7093</link>
      <description>&lt;P&gt;You can use this function instead as it provide you more flexibilty while comparing the strings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wchar_t temp[] = L"Wall";&lt;BR /&gt;for (pBlkTblRcdItr-&amp;gt;start(); !pBlkTblRcdItr-&amp;gt;done();&lt;BR /&gt;pBlkTblRcdItr-&amp;gt;step())&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;pBlkTblRcdItr-&amp;gt;getEntity(pEnt,AcDb::kForRead);&lt;BR /&gt;wchar_t *temp1 = pEnt-&amp;gt;layer();&lt;BR /&gt;if(wcsstr(temp1,temp)!=NULL)&lt;BR /&gt;{&lt;BR /&gt;acutPrintf(temp1);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 11:19:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-fetch-layer-name-of-line-entity/m-p/7739196#M7093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T11:19:03Z</dc:date>
    </item>
  </channel>
</rss>

