CadXdata
Contents
[
Hide
]The Cad xdata.
Constructors
| Constructor | Description |
|---|---|
| CadXdata() | Initializes a new instance of the CadXdata class. Initializes a new instance of the class. |
Methods
| Method | Description |
|---|---|
| getDataList() | Gets or sets the data list. |
| setDataList(List | Gets or sets the data list. |
| getName() | Gets or sets the name. |
| setName(String value) | Gets or sets the name. |
| getFirstValue(CadXdata xdata, int attribute) | Get first occurrence of an attribute from XData |
CadXdata()
public CadXdata()
Initializes a new instance of the CadXdata class. Initializes a new instance of the class.
getDataList()
public List<CadCodeValue> getDataList()
Gets or sets the data list.
Returns: List
setDataList(List value)
public void setDataList(List<CadCodeValue> value)
Gets or sets the data list.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | List | The data list. |
getName()
public String getName()
Gets or sets the name.
Returns: String - The name.
setName(String value)
public void setName(String value)
Gets or sets the name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The name. |
getFirstValue(CadXdata xdata, int attribute)
public static CadCodeValue getFirstValue(CadXdata xdata, int attribute)
Get first occurrence of an attribute from XData
Parameters:
| Parameter | Type | Description |
|---|---|---|
| xdata | CadXdata | Xdata array |
| attribute | int | Attribute code |
Returns: CadCodeValue - CadCodeValue representation of a value