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
"This is currently not supported. I apologize for the inconvenience."
Thanks for your help.
Jeff
RE: API Question: How is Exclude from BOM accessed