SketchUp C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Enumerations
model.h File Reference

Interfaces for SUModelRef. More...

#include <SketchUpAPI/common.h>
#include <SketchUpAPI/unicodestring.h>
#include <SketchUpAPI/model/defs.h>

Data Structures

struct  SUModelStatistics
 Contains an array of entity counts that can be indexed per entity type. More...
 

Macros

Entity Type Flags

Flags for SUModelGetEntitiesOfTypeByPersistentIDs(). These can be combined bitwise.

Since
SketchUp 2020.2, API 8.2
See Also
SUModelRef
#define FLAG_GET_ENTITIES_TYPE_DEFINITION_ENTITIES
 Any entities inside the root or another definition's entities.
 
#define FLAG_GET_ENTITIES_TYPE_LAYERS
 SULayerRef entities.
 
#define FLAG_GET_ENTITIES_TYPE_MATERIALS
 SUMaterialRef entities.
 
#define FLAG_GET_ENTITIES_TYPE_SCENES
 SUSceneRef entities.
 
#define FLAG_GET_ENTITIES_TYPE_STYLES
 SUStyleRef entities.
 
#define FLAG_GET_ENTITIES_TYPE_DEFINITIONS
 SUComponentDefinitionRef entities.
 
#define FLAG_GET_ENTITIES_TYPE_ALL
 Search all types.
 

Enumerations

enum  SUModelUnits {
  SUModelUnits_Inches, SUModelUnits_Feet, SUModelUnits_Millimeters, SUModelUnits_Centimeters,
  SUModelUnits_Meters
}
 Units options settings.
 
enum  SUModelVersion {
  SUModelVersion_SU3, SUModelVersion_SU4, SUModelVersion_SU5, SUModelVersion_SU6,
  SUModelVersion_SU7, SUModelVersion_SU8, SUModelVersion_SU2013, SUModelVersion_SU2014,
  SUModelVersion_SU2015, SUModelVersion_SU2016, SUModelVersion_SU2017, SUModelVersion_SU2018,
  SUModelVersion_SU2019, SUModelVersion_SU2020
}
 SketchUp model file format version. More...
 

Detailed Description

Interfaces for SUModelRef.

Enumeration Type Documentation

SketchUp model file format version.

Since
SketchUp 2014, API 2.0