To develop a feature for (part of the 2021 release), you’ll work with the SketchUp C++ SDK or Ruby API , depending on what you need.
SUEntitiesRef entities = SU_INVALID; SUModelGetEntities(model, &entities);
int main() SUInitialize(); print_selection_count(); SUTerminate(); return 0;