Home > User Guide > Modeling Operations > Blending
Single Stepping
An application can provide feedback on the progress of blending by incrementally sketching the blend graph as it is being made by single stepping through the blend operation.
The basic strategy for single stepping is:
- Attach blend attributes to the entities which are to participate in the blend, as usual.
- Call function api_init_blend_ss with an entity list containing the blend attributes to consider during the blend operation.
- Call function api_do_one_blend_ss repeatedly, specifying an index into the entity list (of the attribute to process), until the list is exhausted. This list may grow longer than that initially constructed, as the blend operation may add attributes to the list itself. New geometry is added to the sheet body for each call to this API.
- After all items on the list have been processed, call function api_concl_blend_ss to make a sheet body for the list of blend attributes in single steps.
- Finally, make the usual function calls to complete the blend.
[Top]
© 1989-2007 Spatial Corp., a Dassault Systèmes company. All rights reserved.