SketchUp C API

- Main Page
- Related Pages
- Data Structures
- Files

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

Global FLAG_USE_HIDDEN
  Obsolete since SketchUp 2020.1, API 8.1. Instead, use FLAG_USE_HIDDEN_GEOMETRY and FLAG_USE_HIDDEN_OBJECTS.
File geometry.h
  This file was left here for compatibility. Avoid using it in future projects if possible.
File slapi.h
  This file was left here for compatibility. Avoid using it in future projects if possible.
Global SUComponentDefinitionGetInsertPoint
  Starting with SketchUp 2020.0, this function returns the default origin `[0, 0, 0]`, as the insertion point can no longer be changed.
Global SUComponentDefinitionSetInsertPoint
  As of SketchUp 2020.0 the insertion point cannot be changed. This function is now a NOOP.
Global SUComponentInstanceSaveAs
  Superseded by SUComponentDefinitionSaveToFile(). This function had the side effects of making the instance unique and changing its transformation. An SKP file also conceptually maps better to a component definition than a component instance.
Global SUGeometryInputFaceSetBackMaterial
  This function is made obsolete by the newer SUGeometryInputFaceSetBackMaterialPosition() and left in place only for compatibility.
Global SUGeometryInputFaceSetFrontMaterial
  This function is made obsolete by the newer SUGeometryInputFaceSetFrontMaterialPosition() and left in place only for compatibility.
Global SUImageGetData
  Will be removed in the next version of the SketchUp API. The functionality is replaced by SUImageGetImageRep followed by SUImageRepGetData.
Global SUImageGetDataSize
  Will be removed in the next version of the SketchUp API. The functionality is replaced by SUImageGetImageRep followed by SUImageRepGetDataSize.
Global SUImageGetName
  This function returns a property that should not exist. Use SUImageGetDefinition() and SUComponentDefinitionGetName() instead.
Global SUImageGetPixelDimensions
  Will be removed in the next version of the SketchUp API. The functionality is replaced by SUImageGetImageRep followed by SUImageRepGetPixelDimensions.
Global SUImageSetName
  This function sets a property that should not exist. Use SUImageGetDefinition() and SUComponentDefinitionSetName() instead.
Class SUMaterialInput
  This struct is made obsolete by the newer SUMaterialPositionInput and left in place only for compatibility.
Global SUModelCreateFromBuffer
  This method will be removed in SketchUp 2022.0. It is replaced by SUModelCreateFromBufferWithStatus() which can read models saved by newer versions of SketchUp.
Global SUModelCreateFromFile
  This method will be removed in SketchUp 2022.0. It is replaced by SUModelCreateFromFileWithStatus() which can read models saved by newer versions of SketchUp.
Global SUModelGetEntitiesByPersistentIDs
  Prefer the more flexible SUModelGetEntitiesOfTypeByPersistentIDs() which lets you narrow the search scope.
Global SUModelGetLayersByPersistentIDs
  Prefer the more flexible SUModelGetEntitiesOfTypeByPersistentIDs() which lets you narrow the search scope.
Global SUModelLoadDefinition
  This method will be removed in SketchUp 2022.0. It is replaced by SUModelLoadDefinitionWithStatus() which can load components saved by newer versions of SketchUp.
Global SUPoint2DToSUPoint2D
  The functionality is replaced by SUVector2DCreate.
Global SUSceneGetUseHidden
  The functionality is replaced by SUSceneGetUseHiddenGeometry() and SUSceneGetUseHiddenObjects().
Global SUSceneSetUseHidden
  The functionality is replaced by SUSceneSetUseHiddenGeometry() and SUSceneSetUseHiddenObjects().
Global SUTextureCreateFromImageData
  Will be removed in the next version of the SketchUp API. The functionality is replaced by SUImageRepSetData() followed by SUTextureCreateFromImageRep().
Global SUTextureGetImageData
  Will be removed in the next version of the SketchUp API. The functionality is replaced by SUTextureGetImageRep followed by SUImageRepGetImageData.
Global SUTextureGetImageDataSize
  Will be removed in the next version of the SketchUp API. The functionality is replaced by SUTextureGetImageRep followed by SUImageRepGetImageDataSize.
File transformation.h
  This file was left here for compatibility. Avoid using it in future projects if possible.