---
title: "DxfSizeAttribute constructor"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.fileformats.cad/dxfsizeattribute/__init__/"
product: "Aspose.CAD for Python via .NET API References"
---


## __init__ {#aspose.cad.fileformats.cad.CadEntityAttribute-aspose.cad.fileformats.cad.CadEntityAttribute-aspose.cad.fileformats.cad.cadconsts.CadParameterType-str}

Initializes a new instance of the [`DxfSizeAttribute`](/cad/python-net/aspose.cad.fileformats.cad/dxfsizeattribute) class.



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


| Parameter | Type | Description |
| :- | :- | :- |
| width | [`CadEntityAttribute`](/cad/python-net/aspose.cad.fileformats.cad/cadentityattribute) | Width attribute. |
| height | [`CadEntityAttribute`](/cad/python-net/aspose.cad.fileformats.cad/cadentityattribute) | Height attribute. |
| parameter_type | aspose.cad.fileformats.cad.cadconsts.CadParameterType | Parameter type. |
| sub_class_name | str | Subclass name. |



### See Also
* module [`aspose.cad.fileformats.cad`](../../)
* class [`DxfSizeAttribute`](/cad/python-net/aspose.cad.fileformats.cad/dxfsizeattribute)
