Message 1 of 2
I can't compile due to bsPostProcessingConfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
good evening, I'm trying to create my first script based on some examples, but I don't understand why I get this error:
ReferenceError: postprocessLayerStack_MT is not defined
at exports.configurePostProcessingSteps
at this line of code:
/**
* @Anonymous a_config bsPostProcessingConfig
*/
exports.configurePostProcessingSteps = function(a_config)
{
// Postprocessing the toolpaths using the given function:
a_config.addPostProcessingStep(postprocessLayerStack_MT,{bMultithread: true, nProgressWeight: 1});
}
I read this in the reference:
"It is not allowed to have both functions (configurePostProcessingSteps and postprocessLayerStack) defined at the same time."
but in the example I'm looking at, in addition to defining configurePostProcessingSteps towards the end of the Main I see the (empty) function postprocessLayerStack_MT
Could someone help me understand? thanks for your patience 🙂