__init__ constructor

On this page

init

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.

See Also

On this page