Hi, I need to check if BOM browser is opened in the active assembly.
I found this code to execute it, but I cannot find anything related to check if it's opened.
Any suggestion?
ThisApplication.CommandManager.ControlDefinitions.item("AssemblyBillOfMaterialsCmd").execute
Solved! Go to Solution.
Solved by Ralf_Krieg. Go to Solution.
only thing i can think of is using the windows / win32 API which is not really a simple implementation
look at this post from a while ago for a starting point.
Essentially you would have to call a command that gets the active windows and looks for one that has either a complete or partial name match to the one you want.
Hello
AFAIK as long as the BOM window is open, ThisApplication.CommandManager.ActiveCommand="AssemblyBillOfMaterialsCmd".
Can't find what you're looking for? Ask the community or share your knowledge.