×
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

API Question: How is Exclude from BOM accessed

API Question: How is Exclude from BOM accessed

API Question: How is Exclude from BOM accessed

(OP)
Does anyone know the code to access the "exclude from Bill of Materials" toggle via API?  It is the toggle found when you right click on an assembly and select properties.  I can't find anything about the toggle in SW-API help.

RE: API Question: How is Exclude from BOM accessed


swBOMConfigurationWhatToShow = 151

'  Possible values for the swBOMConfigurationWhatToShow environment user preference.
Public Enum swBOMConfigurationWhatToShow_e
        swBOMConfiguration_ShowPartsOnly = 1
        swBOMConfiguration_ShowPartsAndTopLevelAsm = 2
        swBOMConfiguration_ShowAllInIndentedList = 3
End Enum



Gave ya what I found in the SWConstants, there is more BOM related stuff there, but not along the lines of what you were looking for.

RE: API Question: How is Exclude from BOM accessed

(OP)
I just got an email from SW-API support.  Here is what he said.

"This is currently not supported. I apologize for the inconvenience."

Thanks for your help.
Jeff

RE: API Question: How is Exclude from BOM accessed

Ahhh, np,

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