<?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 display values other than double in OPM when using element grouping? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4810177#M12702</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Balaji,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry, I missed that. Situation is now clear (I will try to find a workaround). Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2014 07:16:02 GMT</pubDate>
    <dc:creator>maisoui</dc:creator>
    <dc:date>2014-02-12T07:16:02Z</dc:date>
    <item>
      <title>How to display values other than double in OPM when using element grouping?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4807473#M12698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a COM wrapper to display properties of my custom entity property palette. My entity contains several points and for each point, you can define a string. So I use&amp;nbsp;&lt;EM&gt;GetGroupCount&lt;/EM&gt;&amp;nbsp;and&amp;nbsp;&lt;EM&gt;GetElementGrouping&lt;/EM&gt; to display a property with a spin control to go to previous or next point (similar to vertex property of AcDbPolyline). So for each point, it will display X, Y and Z values of the position and normally the text. But, it seems like when I'm using element grouping, only double values are understood. I tried to display string or bool, but it doesn't work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;varOut-&amp;gt;vt = VT_BOOL;
varOut-&amp;gt;boolVal = TRUE;

or

varOut-&amp;gt;vt = VT_BSTR;
varOut-&amp;gt;bstrVal = ::SysAllocString(_T("TEST"));

or

BSTR str = T2BSTR(_T("TEST"));
*varOut = CComVariant(str);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Does anyone have a suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 07:43:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4807473#M12698</guid>
      <dc:creator>maisoui</dc:creator>
      <dc:date>2014-02-11T07:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values other than double in OPM when using element grouping?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4808205#M12699</link>
      <description>&lt;P&gt;see if this helps:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/12/how-to-create-a-polyline-like-vertex-edit-with-a-spin-control-in-opm.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2012/12/how-to-create-a-polyline-like-vertex-edit-with-a-spin-control-in-opm.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 14:20:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4808205#M12699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-11T14:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values other than double in OPM when using element grouping?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4808255#M12700</link>
      <description>&lt;P&gt;Yes, it could have been. Problem, this sample only displays double values...&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 14:31:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4808255#M12700</guid>
      <dc:creator>maisoui</dc:creator>
      <dc:date>2014-02-11T14:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values other than double in OPM when using element grouping?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4809981#M12701</link>
      <description>&lt;P&gt;Hi Jonathan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, the "IOPMPropertyExpander" is only capable of handling doubles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will find this in the documentation on "IOPMPropertyExpander" :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;
&lt;P&gt;Note As of this writing, this interface is used only for point properties whose type is a VARIANT that contains a SAFEARRAY of doubles.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 05:33:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4809981#M12701</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2014-02-12T05:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values other than double in OPM when using element grouping?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4810177#M12702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Balaji,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry, I missed that. Situation is now clear (I will try to find a workaround). Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 07:16:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-display-values-other-than-double-in-opm-when-using/m-p/4810177#M12702</guid>
      <dc:creator>maisoui</dc:creator>
      <dc:date>2014-02-12T07:16:02Z</dc:date>
    </item>
  </channel>
</rss>

