The Inventor API provides Material.UpdateFromGlobal to refresh an out-of-date material definition from the active style library. However, there is no equivalent API method for Appearance (color/texture) assets or RenderStyles. The only way to refresh these from the library is through the "Update Styles" UI command, which requires manual interaction via a modal dialog.
This is a real problem for anyone trying to batch-update Part, Sheet Metal Part, and Assembly documents via VBA, iLogic, or .NET add-ins to keep appearances synchronized with a shared company style library. Without a direct API, the only workaround is executing the UI command and then driving the resulting dialog with SendKeys - which is fragile (depends on dialog layout and tab order, breaks across language versions and potentially between Inventor releases), cannot run unattended or in a background process, and is not a reliable approach for professional automation.
Feature request: Please add an API method (e.g. an UpdateFromGlobal equivalent on the Appearance/Asset object) that allows updating out-of-date appearance and render style assets from the active style library without any UI interaction, consistently across Part, Sheet Metal Part, and Assembly documents.
This would let companies with centrally managed style libraries keep legacy files in sync through automation, without relying on SendKeys-based workarounds.
Can't find what you're looking for? Ask the community or share your knowledge.