Message 1 of 9
SummaryInfo bug?
Not applicable
10-04-2006
09:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There seems to be a bug in the .Net implementation of the SummaryInfo
construct. I have a few drawings where some custom info was accidently
entered twice into drawing properties. Autocad itself does'nt seem to
mind this. Attempting to access drawing properties via .Net however
Minds it alot. Net just immediately throws an exception as soon as you
try to create a summaryinfo object so you cant even "correct" the problem.
Heres the first line of the exception:
"Item has already been added. Key in dictionary: 'job no.' Key being
added: 'job no.'
So how am I supposed to work around this? If I get an exception just
replace summaryinfo with a new empty one and rebuilt it? With that
approach you can't even extract the "good" values from the original.
Perry
construct. I have a few drawings where some custom info was accidently
entered twice into drawing properties. Autocad itself does'nt seem to
mind this. Attempting to access drawing properties via .Net however
Minds it alot. Net just immediately throws an exception as soon as you
try to create a summaryinfo object so you cant even "correct" the problem.
Heres the first line of the exception:
"Item has already been added. Key in dictionary: 'job no.' Key being
added: 'job no.'
So how am I supposed to work around this? If I get an exception just
replace summaryinfo with a new empty one and rebuilt it? With that
approach you can't even extract the "good" values from the original.
Perry