Hi -
I am having issues after populating an AutoCAD drawing Custom Property Sheet. These issues pertain to the "Name" field of the Custom Property Sheet.
I would like to point out that my operating environment is: Windows XP, Visual Studio 2005 Professional, and AutoCAD 2006.
Here are the issues:
Issue #1
By design, the "Name" field entries are mixed case. After populating the Custom Property Sheet, all "Name" fields are in lowercase.
Issue #2
When viewing the Custom Property Sheet, using the dwgprops command or Windows Explorer, the "Name" field entries are not populated in the order that they were added to the DatabaseSummaryInfoBuilder object variable.
Below are snippets from my method:
DatabaseSummaryInfo info;
DatabaseSummaryInfoBuilder infobuilder = new DatabaseSummaryInfoBuilder();
infobuilder.CustomProperties.Add("MXACADTNRV", mxTypeNameRevision);
infobuilder.CustomProperties.Add("Application Version", "AutoCAD 2006");
infobuilder.CustomProperties.Add("Export Control", "Yes");
infobuilder.CustomProperties.Add("City", attRef.TextString);
infobuilder.CustomProperties.Add("State Region", attRef.TextString);
infobuilder.CustomProperties.Add("Machine", attRef.TextString);
info = infobuilder.ToDatabaseSummaryInfo();
mfDb.SummaryInfo = info;
mfDb.SaveAs(modelName, DwgVersion.Current);
See attached .jpg file which depicts the Custom Property Sheet based on the above snippets.
Any suggestions / feedback is greatly appreciated.
Thanks