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

Identifiers for SketchUp's built-in native procedures. More...

#include <SketchUpAPI/common.h>

Enumerations

enum  SUNativeProcedureType { SUNativeProcedureType_FollowMe, SUNativeProcedureType_SolidTools, SUNativeProcedureType_CopyAlong }
 Identifies a native procedure that ships with SketchUp. More...
 

Functions

const char * SUGetNativeProcedureId (enum SUNativeProcedureType type)
 Returns the procedure ID string for a native procedure. More...
 

Detailed Description

Identifiers for SketchUp's built-in native procedures.

Enumeration Type Documentation

Identifies a native procedure that ships with SketchUp.

Since
SketchUp 2027.0, API 15.0
Enumerator
SUNativeProcedureType_FollowMe 

The Follow Me procedure.

SUNativeProcedureType_SolidTools 

The Solid Tools procedure.

SUNativeProcedureType_CopyAlong 

The Copy Along procedure.

Function Documentation

const char* SUGetNativeProcedureId ( enum SUNativeProcedureType  type)

Returns the procedure ID string for a native procedure.

The returned string can be passed to SUComponentDefinitionAttachProcedure.

Since
SketchUp 2027.0, API 15.0
Parameters
[in]typeThe native procedure type.
Returns
  • The procedure ID string on success. The returned pointer has static storage duration and must not be freed by the caller.
  • NULL if type is not a valid SUNativeProcedureType value.