I need to insert MText field into a drawing and connect it with CustomProperty (isn't it called DWGprops?) field from the file (so when I change the value, that field will update on next fileOpen). Unfortunately, I completely don't know how to connect those two things. I mean - I can insert MText and I can read/add/change CustomPropertu from SummaryInfo, but I can't create a link.
I tried to use code from Kean's blog, changing table cell to MText, but with no effect - if I have custom field, for example key is "WHO_CHANGED_RECENTLY" and value is "John Doe", it is not in the BlockTable (from mentioned blog - bt.Has["WHO_..."] returns false). And when I read it from SummaryInfoBulider - I don't know how to get it's objId... Trying to view manually inserted field's properties in the debugger also didn't work for me.
Can you help me with that?
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!