Active Member
Posts: 7
Registered: ‎06-21-2011
Message 1 of 1 (98 Views)

Inserting MText with CustomProperty (from SummaryInfo) as Contents?

98 Views, 0 Replies
10-07-2011 07:22 AM



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?

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.