×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Faster workaround for this API 'feature' ?

Faster workaround for this API 'feature' ?

Faster workaround for this API 'feature' ?

(OP)
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?

RE: Faster workaround for this API 'feature' ?

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources