SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
entity.h
Go to the documentation of this file.
1 // Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2 #ifndef SLAPI_MODEL_ENTITY_H_
3 #define SLAPI_MODEL_ENTITY_H_
4 
5 #include <slapi/slapi.h>
6 #include <slapi/model/defs.h>
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
24 SU_EXPORT enum SURefType SUEntityGetType(SUEntityRef entity);
25 
35 SU_RESULT SUEntityGetID(SUEntityRef entity, int32_t* entity_id);
36 
47  size_t* count);
48 
61  SUEntityRef entity,
62  size_t len,
63  SUAttributeDictionaryRef dictionaries[],
64  size_t* count);
65 
81  SUEntityRef entity,
82  const char* name,
83  SUAttributeDictionaryRef* dictionary);
84 
85 #ifdef __cplusplus
86 } // extern "C"
87 #endif
88 
89 #endif // SLAPI_MODEL_ENTITY_H_