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

[Connect C#] DgnEcInstance.GetPropertyValue with Spaces

$
0
0

I am not sure if this is intentional or not, but when creating and adding itemtype definitions, spaces seem to be automatically converted to "__x0020__" for the access string. This is fine, but when trying to retrieve the same definition using DgnEcInstance.GetPropertyValue, I must manually replace the space with "__x0020__"

ex:

IECPropertyValue property = appliedItem.GetPropertyValue(attribute.Name.Replace(" ", "__x0020__"));

Maybe this should be handled by the GetPropertyValue method in the future?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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