Skip to content

How to list net names? #3

@PaoloGB-GC

Description

@PaoloGB-GC

Hi,
I am using Xpedition 2510 and trying to work with the designer_template.
I can access the list of objects with
lstComponents = objApplication.DesignComponents("", strDesign, "-1", "STD", True)
and then list the individual names with

for i_objComponent in itertools.islice(lstComponents, 1):
        print(i_objComponent.GetName(c.SHORT_NAME), i_objComponent.GetName(c.FULL_PATH_NAME ) )

I would like to do the same for the nets in the project, ideally listing all the names.
I successfully list them with
lstNets = objApplication.DesignNets("", strDesign, "-1", "STD", True)

but then I can't find a way to provide a name for each element.
For instance

for raw_net in itertools.islice(lstNets, 3):
        try:
            sigs = raw_net.GetSignals   # no ()
            print("SIGS OBJ:", sigs)

returns <COMObject >

Would you be able to provide a minimal example to show the names of the nets in the project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions