Table of Contents

Class ExtendedEntityData

Namespace
CADability.DXF
Assembly
CADability.dll

The extended entity data (XDATA) of a DXF entity for one application: the ApplicationName and the list of (XDataCode, value) records in Data. The DXF import attaches one such object per application to the user data of the imported object (under the application name) and the DXF export writes it back, so that application specific data survives a round trip through CADability; the values keep the types of the DXF records (string, GeoPoint, GeoVector, double, short, int) also after JSON serialization.

public class ExtendedEntityData : IJsonSerialize
Inheritance
ExtendedEntityData
Implements
Inherited Members

Constructors

ExtendedEntityData()

public ExtendedEntityData()

Properties

ApplicationName

public string ApplicationName { get; set; }

Property Value

string

Data

public List<KeyValuePair<XDataCode, object>> Data { get; }

Property Value

List<KeyValuePair<XDataCode, object>>

Methods

GetObjectData(IJsonWriteData)

public void GetObjectData(IJsonWriteData data)

Parameters

data IJsonWriteData

SetObjectData(IJsonReadData)

public void SetObjectData(IJsonReadData data)

Parameters

data IJsonReadData