|Top Previous Next|
This function does not actually create an extrusion, it should be paired with Add to do that. Here is an example (error checking removed):
// Now at last we can use the pProfile to create a new extrusion, adding it to the list
// of extruded features
hRes = pListOfExtrusions->CreateExtrudeDefinition(pProfile,kJoinOperation,&pExtrudeDef);
hRes = pListOfExtrusions->Add (pExtrudeDef);
What you need to remember is that an ExtrudeDefinition is not an extrusion feature.
Text, images and diagrams © 2021 Owen F. Ransen. All rights reserved. (But copy the source code as much as you want!)