__init__ constructor
Leave feedback
On this page
Initializes a new CadViewInfo instance.
def __init__(self, file_type, pages, layers, layouts):
...
| Parameter | Type | Description |
|---|---|---|
| file_type | FileType |
The type of the file. |
| pages | List[Page] |
The list of pages to view. |
| layers | List[Layer] |
The list of layers contained by the CAD drawing. |
| layouts | List[Layout] |
The list of layers contained by the CAD drawing. |
| Raises | Description |
|---|---|
ValueError |
Thrown when layouts is None. |
- class
CadViewInfo
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.