Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Faster workaround for this API 'feature' ?

Status
Not open for further replies.

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?
 
Replies continue below

Recommended for you

Hello,

This does not sound right, please report it to your reseller. Even if you don't have support they should help you with bugs.

cheers,

Joseph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor