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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

API Question: How is Exclude from BOM accessed

Status
Not open for further replies.

MrMiller

Aerospace
Joined
Jan 30, 2004
Messages
54
Location
US
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.

 

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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top