---
title: "XmpGuid constructor"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.xmp.types.derived/xmpguid/__init__/"
product: "Aspose.CAD for Python via .NET API References"
---


## __init__ {#str}

Initializes a new instance of the [`XmpGuid`](/cad/python-net/aspose.cad.xmp.types.derived/xmpguid) class.



```python
def __init__(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | str | The value. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentNullException | value is null. |
| ArgumentException | Invalid guid value;value |




## __init__ {#Guid}

Constructs a new instance of XmpGuid



```python
def __init__(self, guid):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| guid | Guid |  |



### See Also
* module [`aspose.cad.xmp.types.derived`](../../)
* class [`XmpGuid`](/cad/python-net/aspose.cad.xmp.types.derived/xmpguid)
