Closed mme1950 closed 6 months ago
DimensionProperties
DimensionStyle
DimensionStyle
object.EntityProperties
provides Methods to read extended data.CadObject
is resolved.ExtendedData
entry with the name DSTYLE_TC under the same group code. When reading color values from extended data it is tried first to read a true-color value, then an indexed-color value, then defaults to the value from the DimensionStyle
object.
Standard properties of a
Dimension...
entity are specified by the associatedDimensionStyle
object. The standard values may be overridden by the entity's extended data.A mechanism to retrieve effective property values, i.e. values from the extended data, if specified, defaulting to the properties of the
DimensionStyle
, is to be implemented.Entity's Extended Data Overriding DimensionStyle Properties
Extended data for an etitiy appear as
ExtendedDataDictionary
. Entries of typeExtendedData
refer to anAppId
"/>. AnExtendedData
entry contains a list ofExtendedDataRecord
records. AnExtendedDataRecord
contains aCode
and aValue
. The Code specifies the the data type of the value. AnExtendedDataRecord
does not contain any information about purpose of the value.The
ExtendedData
may have different structures.ExtendedData
ofDimension
andLeader
entities contain entries that are organized as follows:ExtendedData
provide property values to override values of theDimensionStyle
object.Example: When in AutoCAD for a LEADER a custom arrowsize is set, the value appears in an
ExtendedData
entry associated with theAppId
key having the name ACAD. If an entry with the "type" record containing DSTYLE is found and a record with the group code 41 appears the following record contains the arrow-size value.