layout_scope property

layout_scope property

The layout scope that determines which drawing spaces are converted. Defaults to CadLayoutScope.both, which does not restrict the conversion. Ignored when CadLoadOptions.layout_names is supplied, because explicit layout names always win. A None value is treated as CadLayoutScope.both.

If the scope selects none of the sheets offered by a drawing, the conversion fails with InvalidLoadOptionsException, which names the scope and the available sheets instead of rendering the excluded spaces. A drawing that offers no sheet at all is unaffected and still converts as a single unit. Not honoured when converting to PDF/UA-1, for the reason given on CadLoadOptions.layout_names.

Definition:

@property
def layout_scope(self):
    ...
@layout_scope.setter
def layout_scope(self, value):
    ...

See Also