Author Topic: how to get object_ids?  (Read 2263 times)

0 Members and 1 Guest are viewing this topic.

Offline esp

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 318
  • Country: us
  • Reputation: 3
    • View Profile
    • University of Minnesota
how to get object_ids?
« on: October 25, 2012, 02:57 »
i have a set of transmission calcs saved to a file with object_ids that have specific voltages ... how can i get a list of object_ids saved in a file?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5519
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: how to get object_ids?
« Reply #1 on: October 25, 2012, 07:42 »
Try
Code: python
from NL.IO.NLSaveUtilities import nlinspect
nc_keys = nlinspect("file.nc")
print nc_keys

Offline esp

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 318
  • Country: us
  • Reputation: 3
    • View Profile
    • University of Minnesota
Re: how to get object_ids?
« Reply #2 on: October 25, 2012, 08:29 »
thank you