SketchUp C API
|
References a the model selection. This is only available from within the SketchUp application. More...
#include <SketchUpAPI/model/selection.h>
Related Functions | |
(Note that these are not member functions.) | |
enum SUResult | SUSelectionAdd (SUSelectionRef selection, size_t num_elements, const SUDrawingElementRef elements[]) |
Adds items to the selection set. More... | |
enum SUResult | SUSelectionRemove (SUSelectionRef selection, size_t num_elements, const SUDrawingElementRef elements[]) |
Removes items from the selection set. More... | |
enum SUResult | SUSelectionToggle (SUSelectionRef selection, size_t num_elements, const SUDrawingElementRef elements[]) |
Toggle items in the selection set. More... | |
enum SUResult | SUSelectionClear (SUSelectionRef selection) |
Clears the selection set. More... | |
enum SUResult | SUSelectionInvert (SUSelectionRef selection) |
Inverts the selection set. More... | |
enum SUResult | SUSelectionGetNumElements (SUSelectionRef selection, size_t *num_elements) |
Gets the number of items in the selection set. More... | |
enum SUResult | SUSelectionGetEntityList (SUSelectionRef selection, SUEntityListRef *entity_list) |
Fills the list with items from the selection set. More... | |
enum SUResult | SUSelectionIsType (SUSelectionRef selection, enum SUSelectionType type, bool *is_type) |
Used to determine the type of selection. More... | |
References a the model selection. This is only available from within the SketchUp application.
|
related |
Adds items to the selection set.
[in] | selection | The selection object. |
[in] | num_elements | The length of the array of drawing elements. |
[in] | elements | The array of drawing elements objects to add. |
|
related |
Clears the selection set.
[in] | selection | The selection object. |
|
related |
Fills the list with items from the selection set.
[in] | selection | The selection object. |
[out] | entity_list | The list object to be filled. |
|
related |
Gets the number of items in the selection set.
[in] | selection | The selection object. |
[out] | num_elements | The number of items in the selection set. |
|
related |
Inverts the selection set.
[in] | selection | The selection object. |
|
related |
Used to determine the type of selection.
[in] | selection | The selection object. |
[in] | type | The type of selection to query for. |
[out] | is_type | True if the selection is of the type queried for. |
|
related |
Removes items from the selection set.
[in] | selection | The selection object. |
[in] | num_elements | The length of the array of drawing elements. |
[in] | elements | The array of drawing elements objects to remove. |
|
related |
Toggle items in the selection set.
[in] | selection | The selection object. |
[in] | num_elements | The length of the array of drawing elements. |
[in] | elements | The array of drawing elements objects to toggle. |