import Rhino go = Rhino.Input.Custom.GetObject() go.SetCommandPrompt("Select objects") go.GetMultiple(1,1) go.Objects().InstanceDefinitionPart()
I am trying to get the name of one or more block instance. But this is as far as i can go. Something is definitely missing there.
Can someone point me to the right direction?
I know we can do it in rhinoscriptsyntax like this:
import rhinoscriptsyntax as rs objs = rs.GetObjects(preselect = True) for obj in objs: print rs.BlockInstanceName(obj)