Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5745

How to get ObjectId in multiple Objects

$
0
0

@xiix.xoox wrote:

I select multi object in group object. I want to show ObjectId of result but not. How can do that.

import Rhino
import rhinoscriptsyntax as rs
import scriptcontext as sc
crv=Rhino.Input.RhinoGet.GetMultipleObjects("Select objects", True,Rhino.DocObjects.ObjectType.AnyObject)
for cv in crv:
    cv=cv.Object()
    print cv.ObjectId()

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles