
## get_first_value {#aspose.cad.fileformats.cad.CadEntityAttribute}

Get first occurrence of an attribute from object.


### Returns 


[`CadCodeValue`](/cad/python-net/aspose.cad.fileformats.cad/cadcodevalue) Representation of a value


```python
def get_first_value(self, attribute):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| attribute | [`CadEntityAttribute`](/cad/python-net/aspose.cad.fileformats.cad/cadentityattribute) | Attribute code |



### See Also
* module [`aspose.cad.fileformats.cad.cadobjects`](../../)
* class [`CadCodeValue`](/cad/python-net/aspose.cad.fileformats.cad/cadcodevalue)
* class [`CadEmbeddedObject`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadembeddedobject)
