Hide Table of Contents
IVisualizeAddinManager Interface

Allows access to the Visualize Addin Manager.

.NET Syntax

Visual Basic (Declaration) 
Public Interface IVisualizeAddinManager 
Visual Basic (Usage) 
Dim instance As IVisualizeAddinManager
C# 
public interface IVisualizeAddinManager 
C++/CLI 
public interface class IVisualizeAddinManager 

Example

Read Getting Started to learn about downloading a more advanced Visualize C# plug-in from the API Support Knowledge Base.

The example below demonstrates how to render a model using the API in a VBA macro.

'VBA

 '=========================================================================
'Preconditions:
'1. Activate the SOLIDWORKS Visualize Add-in (SOLIDWORKS Tools menu > Add-ins... > SOLIDWORKS Visualize).
'2. Ensure that E:\SOLIDWORKS Visualize Content\Images exists.
'3. Open public_documents\SOLIDWORKS\SOLIDWORKS 2025\samples\tutorial\api\toaster.sldprt.
'
'Postconditions:
'1. Depending on the complexity, the render can take some time.
'2. After the macro is finished, inspect E:\SOLIDWORKS Visualize Content\Images\toaster\toaster.jpeg.
'
'NOTE: Because the model is used elsewhere, do not save changes to it.
'================================================================================
Dim swApp As SldWorks.SldWorks
Dim testViz As IVisualizeAddin
Dim visualizeAddinMgr As IVisualizeAddinManager

Sub main()

    ' Get the Visualize add-in object

    Set swApp = Application.SldWorks
    Set testViz = swApp.GetAddInObject("SolidWorks.Visualize.Implementation.VisualizeAddin")
    Set visualizeAddinMgr = testViz.GetAddinManager
   
    ' Set render options as needed

    Set vizRenderOptions = visualizeAddinMgr.RenderOptions
    vizRenderOptions.ImageFormat = ImageFormat_e.JPEG
    vizRenderOptions.FrameCount = 1000
    vizRenderOptions.Width = 800
    vizRenderOptions.Height = 800
    vizRenderOptions.JobName = "Toaster"
    vizRenderOptions.OutputFolder = "E:\SOLIDWORKS Visualize Content\Images"
    vizRenderOptions.DenoiserEnabled = False
   
    ' Render the model

    Call visualizeAddinMgr.Render

End Sub

See Also



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   IVisualizeAddinManager Interface
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2025 SP2

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.