I'm doing a fault check routine before batch plotting, and one of the issues is to make sure the TextBox's Property is showing the latest result. So far I can get the actual text box I'm after, but I want to be able to see the evaluated text, not just the definition.
Values in Watch windows (VS 2012) display the definition of a property, but not the result:
Textbox.FormattedText "<PhysicalProperty PhysicalPropertyID='72449' Precision='0'>MASS</PhysicalProperty>"
TextBox.Text "<MASS\P0;>"
Is there a way I can see the Result of that expression, from the current idw/dwg drawing document's 'about to print' point of view?
I'm determined to solve the 'N/A' issue with properties that change in the background.
(PS I am currently using the 2015 API)
Thank you,
iProperty object expose not only Expression contained in this property but also Value property that returns evaluated value.
If you use expression like "<PhysicalProperty PhysicalPropertyID='72449' Precision='0'>MASS</PhysicalProperty>" in your own interface you should implement calculations by yourself.
cheers,