Message 1 of 2
Determining Dimension Lintype - Dimltype inside DimStyleTableRecord

Not applicable
02-06-2014
01:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everybody,
I'm currently migrating a tool to check our dwg files regarding to our internal CAD standards from ACA2012 to ACA2014.
As part of this procedere I'm checking the linetype of a Dimension Style. Since ACA2008 I do this by comparing the
DimStyleTableRecord.Dimltype.OldId entry with the ObjectId's from the linetypes. Unfurtunatelly this wan't be work in ACA2014.
The whole Dimltype entry is empty, even like the Dimltex1 & 2. My VS2010 list a warning like :'Public ReadOnly Property OldId As Long' is obsolete: 'Use System::IntPtr OldIdPtr' but even OldIdPtr is 0.
Is there a other way to get the linetype of a dimensionstyle?
best
Holger