2 Replies Latest reply on Feb 13, 2020 2:12 AM by fatbeard

    How do I get the name of the open symbol/package in an ULP?


      Running 5.12.0.

      I want to display the name of the symbol (or package) that is currently open in the library edito inside a dialog.

      The package() and symbol() functions are of no use, they just loop through all the symbols / packages.

      Using them as statements without an argument like in if (package) I get the confirmation that I am in the right editor, but not what symbol / package is open...


      Can this be done, and if so, how?