api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

Ruby API Bugsplat

Open j-te opened this issue 9 months ago • 1 comments

SketchUp 24.0.597 64-bit (Windows 11)

Bugsplat caused when:

  1. Sketchup.active_model.definitions.add("MyComponent")
  2. ...then placing this component using the common user interface.

Bugsplat can be avoided. Behaviour should either be: the definition should be removed on attempting to place with empty entities (as the definition is probably never instantiated in the model) or SketchUp to support empty definitions in the scene. There may be a case where all entities can be removed via code without auto-purging the definition.

Reason of cause:

  • A newly defined Definition with zero entities.

Severity:

Medium - due to plugins being able to create these definitions that can affect Warehouse models and cause crashes.

j-te avatar Feb 18 '25 10:02 j-te

Logged as: SKEXT-4665

sketchup[bot] avatar May 05 '25 15:05 sketchup[bot]

Closign this issue as fixed as part of release SU2026.0.

kalpana-ghodeswar avatar Dec 01 '25 14:12 kalpana-ghodeswar