algorithmic modeling for Rhino
Beginner Question,
Why is it that the following:
importrhinoscriptsyntax as rs
rs.LastCreatedObjects()
Works fine in the the Rhino script editor but yields the error "expected Guid, got UInt32" in the GH python component?
Is there another way to get the ID of the last selected object in the Python component?
Many thanks,
Arnoud
Tags:
Replies are closed for this discussion.
Hi Arnoud,
It could be because this function was made to work with Rhino, not grasshopper document.
You can switch between these two and then use it. Also you have to use the rs.Command function before that so that LastCreatedObjects could return something.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by