The InstanceDefinition.IsDeleted property indicates whether or not the object is deleted. When you delete objects in Rhino, they are not really deleted. They are just tagged as such. When Rhino saves a 3dm file, items tagged as deleted are not saved.
Most Rhino document objects have a IsDeleted property.
Yes. Now, if you iterate the document you might find instance references that use the deleted definition. But those references will also be tagged as deleted.
OK ; about the following Python example :
-First, I wonder why it doesn’t contain the Method it’s supposed to illustrate.
-Second, I wonder why there is absolutely no “Syntax” examples for Python whatsoever in the documentation, but there’s still code examples in Python…
Comedy! I wonder what the comment and the example will show in the next releases… Let me guess: “Returns true, when this instance definition has been deleted”. Really I’m not against filling up missing comments or extending examples, but this is bourgeois. But okay critismn to this insults me as narrowminding and indoctrinated by communism (while I never lived in a communist state bytheway). **** *** !
Hi Dale, thank you for your script.
I realize it is not meant for Grasshopper.
I need to pass a list of names to a GH component and retrieve a list of integers (instance counts).