RhinoCommon in pythonscript

I wanted to write a ‘‘saved selection’’ function for Rhino 6 from ‘‘named position’’. I tried to get access to the plugin ‘‘Named Position’’, so I used RhinoCommon to inquiry the GUID and then use ‘‘Find’’ to get a plugin object. However, I found the GUID, but I cannot locate the plugin object. I don’t think it’s a correct
output.

Hi @charlottewyy,

Try using the NamedPositionTable object. You can get it from the document

import Rhino
import scriptcontext as sc

named_positions = sc.doc.NamedPositions
for id in named_positions.Ids:
    print(id)

– Dale