Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jan 21, 2001
Messages
230
Location
US
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?
 
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

Back
Top