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
If the Dimltype == ObjectId.Null (i.e. it is empty), it is likely because the line type for that dim style is set to ByBlock.
FYI - if the line type was set to ByLayer - it would have a valid ObjectId that corresponded with a LinetypeTableRecord with the name 'ByLayer'.