Can I generate a report without a hidden object?

You could simplify the DCs using a ruby script that deletes the hidden subs, if you find you need to alter one of the DCs later then replace the instance with its definition, it will reactivate with its current settings.

def remove_hidden(instance)
    children = instance.definition.entities.select { |e| e.respond_to?(:definition) }
    children.each { |c| remove_hidden(c)

 c.erase! if c.hidden?   }
    end
    remove_hidden(Sketchup.active_model.selection.first)

This is one of Julia Eneroth’s solutions-

this would remove the hidden subs of selected item(s) and could be attached to a button created in Aerilius’ toolbar editor (extension warehouse)

1 Like