|
(Note that these are not member functions.)
|
SUEntityRef | SUSectionPlaneToEntity (SUSectionPlaneRef sectionPlane) |
| Converts from an SUSectionPlaneRef to an SUEntityRef. This is essentially an upcast operation. More...
|
|
SUSectionPlaneRef | SUSectionPlaneFromEntity (SUEntityRef entity) |
| Converts from an SUEntityRef to an SUSectionPlaneRef. This is essentially a downcast operation so the given SUEntityRef must be convertible to an SUSectionPlaneRef. More...
|
|
SUDrawingElementRef | SUSectionPlaneToDrawingElement (SUSectionPlaneRef sectionPlane) |
| Converts from an SUSectionPlaneRef to an SUDrawingElementRef. This is essentially an upcast operation. More...
|
|
SUSectionPlaneRef | SUSectionPlaneFromDrawingElement (SUDrawingElementRef drawing_elem) |
| Converts from an SUDrawingElementRef to an SUSectionPlaneRef. This is essentially a downcast operation so the given element must be convertible to an SUSectionPlaneRef. More...
|
|
enum SUResult | SUSectionPlaneCreate (SUSectionPlaneRef *sectionPlane) |
| Creates an sectionPlane object. The sectionPlane object must be subsequently deallocated with SUSectionPlaneRelease() unless it is associated with a parent object. The plane is initialized as an xy plane and can be changed with the SUSectionPlaneSetPlane(). More...
|
|
enum SUResult | SUSectionPlaneRelease (SUSectionPlaneRef *sectionPlane) |
| Releases a sectionPlane object. The sectionPlane object must have been created with SUSectionPlaneCreate() and not subsequently associated with a parent object (e.g. SUEntitiesRef). More...
|
|
enum SUResult | SUSectionPlaneSetPlane (SUSectionPlaneRef sectionPlane, const struct SUPlane3D *plane) |
| Sets the plane of the section plane. More...
|
|
enum SUResult | SUSectionPlaneGetPlane (SUSectionPlaneRef sectionPlane, struct SUPlane3D *plane) |
| Retrieves the plane of the section plane. More...
|
|
enum SUResult | SUSectionPlaneIsActive (SUSectionPlaneRef sectionPlane, bool *is_active) |
| Retrieves a boolean indicating whether or not the section plane is active. More...
|
|
enum SUResult | SUSectionPlaneGetName (SUSectionPlaneRef sectionPlane, SUStringRef *name) |
| Retrieves the name of a section plane object. More...
|
|
enum SUResult | SUSectionPlaneSetName (SUSectionPlaneRef sectionPlane, const char *name) |
| Sets the name of a section plane object. More...
|
|
enum SUResult | SUSectionPlaneGetSymbol (SUSectionPlaneRef sectionPlane, SUStringRef *symbol) |
| Retrieves the symbol of a section plane object. The symbol is used in the Outliner and in the section display in the model. For example, you might have several sections on the same area of a building all named "South West Section" and use symbols to differenciate each section, "01", "02", "03". More...
|
|
enum SUResult | SUSectionPlaneSetSymbol (SUSectionPlaneRef sectionPlane, const char *symbol) |
| Sets the symbol of a section plane object. More...
|
|
SUEntityRef | SUDrawingElementToEntity (SUDrawingElementRef elem) |
| Converts from an SUDrawingElementRef to an SUEntityRef. This is essentially an upcast operation. More...
|
|
SUDrawingElementRef | SUDrawingElementFromEntity (SUEntityRef entity) |
| Converts from an SUEntityRef to an SUDrawingElementRef. This is essentially a downcast operation so the given entity must be convertible to a drawing element. More...
|
|
enum SURefType | SUDrawingElementGetType (SUDrawingElementRef elem) |
| Returns the concrete type of the given drawing element. More...
|
|
enum SUResult | SUDrawingElementGetBoundingBox (SUDrawingElementRef elem, struct SUBoundingBox3D *bbox) |
| Retrieves the bounding box of a drawing element. More...
|
|
enum SUResult | SUDrawingElementGetMaterial (SUDrawingElementRef elem, SUMaterialRef *material) |
| Retrieves the material object of a drawing element. More...
|
|
enum SUResult | SUDrawingElementSetMaterial (SUDrawingElementRef elem, SUMaterialRef material) |
| Sets the material of a drawing element. More...
|
|
enum SUResult | SUDrawingElementGetLayer (SUDrawingElementRef elem, SULayerRef *layer) |
| Retrieves the layer object associated with a drawing element. More...
|
|
enum SUResult | SUDrawingElementSetLayer (SUDrawingElementRef elem, SULayerRef layer) |
| Sets the layer object to be associated with a drawing element. More...
|
|
enum SUResult | SUDrawingElementSetHidden (SUDrawingElementRef elem, bool hide_flag) |
| Sets the hide flag of a drawing element. More...
|
|
enum SUResult | SUDrawingElementGetHidden (SUDrawingElementRef elem, bool *hide_flag) |
| Retrieves the hide flag of a drawing element. More...
|
|
enum SUResult | SUDrawingElementSetCastsShadows (SUDrawingElementRef elem, bool casts_shadows_flag) |
| Sets the casts shadows flag of a drawing element. More...
|
|
enum SUResult | SUDrawingElementGetCastsShadows (SUDrawingElementRef elem, bool *casts_shadows_flag) |
| Retrieves the casts shadows flag of a drawing element. More...
|
|
enum SUResult | SUDrawingElementSetReceivesShadows (SUDrawingElementRef elem, bool receives_shadows_flag) |
| Sets the receives shadows flag of a drawing element. More...
|
|
enum SUResult | SUDrawingElementGetReceivesShadows (SUDrawingElementRef elem, bool *receives_shadows_flag) |
| Retrieves the receives shadows flag of a drawing element. More...
|
|
enum SURefType | SUEntityGetType (SUEntityRef entity) |
| Returns the concrete type of the given entity. More...
|
|
enum SUResult | SUEntityGetID (SUEntityRef entity, int32_t *entity_id) |
| Retrieves the id of the entity. More...
|
|
enum SUResult | SUEntityGetPersistentID (SUEntityRef entity, int64_t *entity_pid) |
| Retrieves the persistent id of the entity. More...
|
|
enum SUResult | SUEntityGetNumAttributeDictionaries (SUEntityRef entity, size_t *count) |
| Retrieves the number of attribute dictionaries of an entity. More...
|
|
enum SUResult | SUEntityGetAttributeDictionaries (SUEntityRef entity, size_t len, SUAttributeDictionaryRef dictionaries[], size_t *count) |
| Retrieves the attribute dictionaries of an entity. More...
|
|
enum SUResult | SUEntityAddAttributeDictionary (SUEntityRef entity, SUAttributeDictionaryRef dictionary) |
| Adds the attribute dictionary to an entity. The given dictionary object must not belong to another entity. In other words, each dictionary should be added to one entity only. More...
|
|
enum SUResult | SUEntityGetAttributeDictionary (SUEntityRef entity, const char *name, SUAttributeDictionaryRef *dictionary) |
| Retrieves the attribute dictionary of an entity that has the given name. More...
|
|
enum SUResult | SUEntityGetModel (SUEntityRef entity, SUModelRef *model) |
| Retrieves the model object associated with the entity. More...
|
|
enum SUResult | SUEntityGetParentEntities (SUEntityRef entity, SUEntitiesRef *entities) |
| Retrieves the entities object which contains the entity. More...
|
|
A sectionPlane entity reference.
- Since
- SketchUp 2016, API 4.0