Skip to content

pya.Technology.technology_by_name returns different object each time #1974

Open
@lukasc-ubc

Description

Hi Matthias,

When calling pya.Technology.technology_by_name, using the same technology name, I would expect to review the same object each time. Namely if the technology is already registered, the object should be the same one, and I should be able to modify/add to the technology object. But instead, I see ecah call returns a different object. How can this be, and is there a way to return the same one?

> pya.Technology.technology_by_name('EBeam')
<klayout.pyacore.Technology object at 0x16cbf8250>
> pya.Technology.technology_by_name('EBeam')
<klayout.pyacore.Technology object at 0x16cbf89d0>

thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions