<?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: Is there a proper explanation of the OPMPROP_MAP macros anywhere? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701499#M9246</link>
    <description>&lt;P&gt;Another example / question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a BOOL property I want to display as "Yes or No" - does the macro help at all ? (seemingly not!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Defining this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;OPMPROP_ENTRY(0, MYDISPID, PROPCAT_MyCat, 0, 0, IDS_YESNO, _ACRX_T("1;0"), 0, 1, IID_NULL, IID_NULL, "")&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;makes no difference to my how my property is displayed (as zero).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How should the property be defined? As a &lt;STRONG&gt;BOOL&lt;/STRONG&gt;? A &lt;STRONG&gt;BSTR&lt;/STRONG&gt;? A &lt;STRONG&gt;VARIANT&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 02:21:28 GMT</pubDate>
    <dc:creator>Kyudos</dc:creator>
    <dc:date>2016-11-22T02:21:28Z</dc:date>
    <item>
      <title>Is there a proper explanation of the OPMPROP_MAP macros anywhere?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6698789#M9243</link>
      <description>&lt;P&gt;The OPMPROP_MAP macros look useful - but the documentation doesn't explain exactly what they are for or when you should use them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a proper explanation anywhere? Or an example?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 02:29:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6698789#M9243</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-11-21T02:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a proper explanation of the OPMPROP_MAP macros anywhere?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6698813#M9244</link>
      <description>&lt;P&gt;For example, what is the purpose of the&amp;nbsp;&lt;STRONG&gt;OPMPROP_CAT_ENTRY&lt;/STRONG&gt;? Or indeed the &lt;STRONG&gt;ctid&lt;/STRONG&gt; and &lt;STRONG&gt;ctNameID&lt;/STRONG&gt; values in &lt;STRONG&gt;OPMPROP_ENTRY?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They don't seem to provide any categorisation&amp;nbsp;unless I implement&amp;nbsp;&lt;STRONG&gt;MapPropertyToCategory&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;GetCategoryName&lt;/STRONG&gt;...&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 02:57:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6698813#M9244</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-11-21T02:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a proper explanation of the OPMPROP_MAP macros anywhere?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701193#M9245</link>
      <description>&lt;P&gt;Is this actually deprecated?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't seem to make any difference what you put in there - or take it out completely!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 22:11:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701193#M9245</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-11-21T22:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a proper explanation of the OPMPROP_MAP macros anywhere?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701499#M9246</link>
      <description>&lt;P&gt;Another example / question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a BOOL property I want to display as "Yes or No" - does the macro help at all ? (seemingly not!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Defining this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;OPMPROP_ENTRY(0, MYDISPID, PROPCAT_MyCat, 0, 0, IDS_YESNO, _ACRX_T("1;0"), 0, 1, IID_NULL, IID_NULL, "")&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;makes no difference to my how my property is displayed (as zero).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How should the property be defined? As a &lt;STRONG&gt;BOOL&lt;/STRONG&gt;? A &lt;STRONG&gt;BSTR&lt;/STRONG&gt;? A &lt;STRONG&gt;VARIANT&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 02:21:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701499#M9246</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-11-22T02:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a proper explanation of the OPMPROP_MAP macros anywhere?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701575#M9247</link>
      <description>&lt;P&gt;As I recall, the properties API implementation&amp;nbsp;code&amp;nbsp;is&amp;nbsp;mostly available as part of&amp;nbsp;template classes in the ARX SDK headers. If&amp;nbsp;so, you should be able to deduce how to use the macros, and determine how&amp;nbsp;your property functions&amp;nbsp;work (or why they don't work) by tracing through the code&amp;nbsp;in your&amp;nbsp;debugger.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 04:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6701575#M9247</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2016-11-22T04:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a proper explanation of the OPMPROP_MAP macros anywhere?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6704026#M9248</link>
      <description>&lt;P&gt;Well one solution I discovered accidentally... if you make your property a VARIANT_BOOL you inherently get Yes / No in the OPM.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 00:00:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/is-there-a-proper-explanation-of-the-opmprop-map-macros-anywhere/m-p/6704026#M9248</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-11-23T00:00:57Z</dc:date>
    </item>
  </channel>
</rss>

