You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, "extent" creates a temporary layer. That layer is deleted at the end of the script, but it will render the layout modified.
The reasoning is that with a cell filter, the generated layer will be made from the bounding boxes of the cells, where these are stored directly inside the cell. This enables interoperability with all the other features, like clipping, cell filtering etc.
For a plain top-level box (simple "extent") that would not be required. Still it is implemented in the same way - for example to properly support clipping.
If you need a plain bounding box and don't use clipping for example, you can use that substitute which does not set the modified flag:
def readonly_extent
DRC::DRCLayer::new(self, RBA::Region::new(source.cell_obj.bbox))
end
Calling
extent
marks the layout as modified, although nothing should have changed.Steps to reproduce: Load layout and run the following DRC script.
Checked with version 0.29.7.
The text was updated successfully, but these errors were encountered: