SketchUp C API
|
Interfaces for SUModelRef for live access. More...
Functions | |
enum SUResult | SUModelCreateOverlay (SUModelRef model, const struct SUOverlayCreateInfo *info, SUOverlayRef *overlay) |
Creates an overlay and adds it to the model. More... | |
enum SUResult | SUModelReleaseOverlay (SUModelRef model, SUOverlayRef *overlay) |
Releases the overlay after removing it from the model. More... | |
Interfaces for SUModelRef for live access.
enum SUResult SUModelCreateOverlay | ( | SUModelRef | model, |
const struct SUOverlayCreateInfo * | info, | ||
SUOverlayRef * | overlay | ||
) |
Creates an overlay and adds it to the model.
[in] | model | The model object |
[in] | info | The information needed to create the overlay object |
[out] | overlay | The created overlay object |
model
is an invalid objectinfo
is NULLoverlay
is NULLoverlay
is already a valid objectenum SUResult SUModelReleaseOverlay | ( | SUModelRef | model, |
SUOverlayRef * | overlay | ||
) |
Releases the overlay after removing it from the model.
[in] | model | The model object |
[in,out] | overlay | The overlay object to be released, will be set to NULL on return. |
model
or overlay
is an invalid objectoverlay
is NULLoverlay
could be found in the model