.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inserting MText with CustomProperty (from SummaryInfo) as Contents?

0 REPLIES 0
Reply
Message 1 of 1
WRonX
244 Views, 0 Replies

Inserting MText with CustomProperty (from SummaryInfo) as Contents?

Hi.

 

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?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost