Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] IDgnECTypeAdapter::GetStandardValues

$
0
0

IDgnECTypeAdapter::GetStandardValues fills a StandardValuesCollection from the MstnPropertyFormatter schema.  Here's a fragment of XML...

<StandardValues xmlns="EditorCustomAttributes.01.00">
  <ValueMap>
    <ValueMap>
      <Value>-1</Value>
      <DisplayString>(Use Active Master Units)</DisplayString>
    </ValueMap>
    ... 16 more
  </ValueMap>
</StandardValues>

But StandardValuesCollection is a bvector of WString.  What it gets is a list of DisplayStrings. It ignores the integer Value element.

Are the integer Value elements relevant, and if so how do I obtain them?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>