SketchUp C API

- Main Page
- Related Pages
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Bug List

Global SUComponentDefinitionSetName
  Before SketchUp 2022.0.1 (API 10.0) this would not ensure the definition name was unique. As of SketchUp 2022.0.1 the component will be given a unique name automatically if needed.
Global SUEntitiesAddFaces
  SUEntitiesAddFaces() will not merge overlapping vertices and edges, which produces SketchUp models with unexpected state. Avoid using these functions and instead use SUGeometryInputRef along with SUEntitiesFill().
Global SUEntitiesSetActiveSectionPlane
  Before SketchUp 2023.1 (API 11.1) this function would not accept SU_INVALID as a valid `section_plane` value and would have returned SU_ERROR_INVALID_INPUT instead
Global SUEntityGetNumAttributeDictionaries
  Prior to SDK version 9.1 (SketchUp 2021.1) this function might return a count higher than what SUEntityGetNumAttributeDictionaries() will actually return. For example with faces with a positioned material.
Global SUFaceCreate
  SUEntitiesAddFaces() will not merge overlapping vertices and edges, which produces SketchUp models with unexpected state. Avoid using these functions and instead use SUGeometryInputRef along with SUEntitiesFill().
Global SUFaceCreateSimple
  SUEntitiesAddFaces() will not merge overlapping vertices and edges, which produces SketchUp models with unexpected state. Avoid using these functions and instead use SUGeometryInputRef along with SUEntitiesFill().
Global SUStylesSetSelectedStyle
  Prior to SketchUp 2025.0 setting the selected style to the active style would crash.