rocheey
Industrial
- Jan 21, 2001
- 230
I just discovered that the CreateFlatPatternFromModelView
API call does NOT return an error if it successfully creates a view, with an unsuccessfully flattened part (ie, Model has errors preventing it from unfolding)
If there is only one config in the part, or if the current config on opendoc is the one with errors, I can trap the error in OpenDoc. However, the more configs there are in the part, the less of a chance this will happen.
Any time I change configs, SW will do a rebuild, but there is nothing in the activateconfig call to return an error, so do I have to rebuild each configuration twice, just to catch any possible errors before generating a flat pattern?
API call does NOT return an error if it successfully creates a view, with an unsuccessfully flattened part (ie, Model has errors preventing it from unfolding)
If there is only one config in the part, or if the current config on opendoc is the one with errors, I can trap the error in OpenDoc. However, the more configs there are in the part, the less of a chance this will happen.
Any time I change configs, SW will do a rebuild, but there is nothing in the activateconfig call to return an error, so do I have to rebuild each configuration twice, just to catch any possible errors before generating a flat pattern?