API Functionality Dependent on SolidWorks Being Visible
Some API functionality is dependent on SolidWorks being visible. For
example, if SolidWorks is not visible and you update a drawing and then
attempt to update the drawing views, your drawing views might not be updated
as expected.
To test if SolidWorks must be visible for a specific functionality to
work, set SolidWorks to visible and then retry the operation that did
not work.