api-issue-tracker
api-issue-tracker copied to clipboard
[Request] ComponentDefinition#manifold?
This method ComponentDefinition#manifold? does not exist and would make sense.
It would avoid to either rely on an existing instance of the definition, or worse, create an temporary instance of the definition, just to check if the definition is manifold.
Note that there are cases where we can manipulate a definition that does not have an instance (yet).
- when creating geometry (
cdef = Sketchup.active_model.definitions.add, then adding entities tocdef.entities) - importing a definition from a skp file (
definition#load)
The existing Group#manifold? and ComponentInstance#manifold? can continue to exist.
That's a good point, having to have an instance to make that query.
Logged as: SKEXT-4287