<?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: Dynamic Property in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996103#M31182</link>
    <description>Do you have an example of changing the properties pallet displayed name of and object?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Andy</description>
    <pubDate>Mon, 12 Apr 2004 00:04:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-04-12T00:04:22Z</dc:date>
    <item>
      <title>Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996101#M31180</link>
      <description>Can you change the name that displays in the object properties pallet
through Dynamic Properties class? If so how?

Thanks,
Andy</description>
      <pubDate>Mon, 05 Apr 2004 02:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996101#M31180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-05T02:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996102#M31181</link>
      <description>Hi,

Check-out the IOPMPropertyExtension interface GetDisplayName() method

cheers
cyrille


"Andy Elmore" &lt;ELMOREANDY&gt; wrote in message
news:4070c5e9_1@newsprd01...
&amp;gt; Can you change the name that displays in the object properties pallet
&amp;gt; through Dynamic Properties class? If so how?
&amp;gt;
&amp;gt; Thanks,
&amp;gt; Andy
&amp;gt;
&amp;gt;&lt;/ELMOREANDY&gt;</description>
      <pubDate>Thu, 08 Apr 2004 17:53:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996102#M31181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T17:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996103#M31182</link>
      <description>Do you have an example of changing the properties pallet displayed name of and object?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Andy</description>
      <pubDate>Mon, 12 Apr 2004 00:04:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996103#M31182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-12T00:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996104#M31183</link>
      <description>Do I need to create a new properties class for every property that I want to add? or can I combine properties in the classes?&lt;BR /&gt;
&lt;BR /&gt;
Andy</description>
      <pubDate>Tue, 13 Apr 2004 05:38:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996104#M31183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-13T05:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996105#M31184</link>
      <description>Hi,

Try this (see dispId 0x401)

STDMETHODIMP CText::GetDisplayName (DISPID dispId, BSTR *propName) {
    switch (dispId) {
        case (0x01): // this is the property name title string
            *propName  = ::SysAllocString(L"my Text String");
            break;
        // etc...

        case (0x401): // this changes the title of the entity
            *propName  = ::SysAllocString(L"My Heading");
            break;
    }
    return S_OK;
}

And yes you need one class for each different dynamic property type.

cheers
cyrille


"Andy Elmore" &lt;NOSPAM&gt; wrote in message
news:15528424.1081834738516.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; Do I need to create a new properties class for every property that I want
to add? or can I combine properties in the classes?
&amp;gt;
&amp;gt; Andy&lt;/NOSPAM&gt;</description>
      <pubDate>Tue, 13 Apr 2004 08:30:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996105#M31184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-13T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996106#M31185</link>
      <description>You are using ::GetDisplayName (DISPID dispId, BSTR *propName)  &lt;BR /&gt;
but...&lt;BR /&gt;
the wizard generates ::GetDisplayName (DISPID dispId, BSTR *propName) &lt;BR /&gt;
&lt;BR /&gt;
I tried over riding the function but I get an Atl COM error so what am I doing wrong am I implementing the wrong properties method?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Andy</description>
      <pubDate>Wed, 14 Apr 2004 03:07:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996106#M31185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-14T03:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Property</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996107#M31186</link>
      <description>sorry the wizard generates&lt;BR /&gt;
&lt;BR /&gt;
::GetDisplayName (BSTR *pBstrName)</description>
      <pubDate>Wed, 14 Apr 2004 03:08:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-property/m-p/996107#M31186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-14T03:08:22Z</dc:date>
    </item>
  </channel>
</rss>

