
## __init__ {#}

Initializes a new instance of the [`Dimensions`](/cad/python-net/aspose.cad.xmp.types.complex.dimensions/dimensions) class.



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




## __init__ {#float-float}

Initializes a new instance of the [`Dimensions`](/cad/python-net/aspose.cad.xmp.types.complex.dimensions/dimensions) class.



```python
def __init__(self, width, height):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| width | float | The width. |
| height | float | The height. |



### See Also
* module [`aspose.cad.xmp.types.complex.dimensions`](../../)
* class [`Dimensions`](/cad/python-net/aspose.cad.xmp.types.complex.dimensions/dimensions)
