Skip to content

DEdgePairWithProperties not working properly in scripts #2038

@klayoutmatthias

Description

@klayoutmatthias

This class is not functional in scripts. The attributes are nonsense.

Specifically, as a consequence, the "each" iterator of edge pair layers in DRC is not working correctly.

For example:

errors = layer.width(200.nm)
errors.each do |ep|
   ... (ep is garbage)
end

As a workaround, it is possible to use

errors = layer.width(200.nm)
errors.data.each do |ep|
   ... 
end

(this gives a EdgePairWithProperties object in database units).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions