Hide Table of Contents

Active Content Warnings

When you open a part, the SOLIDWORKS software can detect embedded VBA code such as equations and macros and display a warning so that you can decide whether to execute the embedded code.

In previous versions of SOLIDWORKS, equations that contained a predefined set of mathematical functions and operators could be evaluated using a built-in VC++ function. These equations are assumed to be safe and to not require authorization.

Other code, such as embedded VBA code (also known as active content), could potentially be less secure. SOLIDWORKS lets you choose whether to:

  • Display a warning so that you can authorize the execution of the code.
  • Run the code automatically when you open or rebuild a model that contains it.

A Warn about active content setting on the Messages/Errors/Warnings page of the System Options dialog box is selected by default. If the software finds an active content equation or macro when you open or rebuild a model:

  • The What's Wrong dialog box appears, identifying the feature containing the equation or macro.

    An Enable Active Content button lets you enable the equation or macro that triggered the message.

  • A warning icon appears on the document name at the top of the FeatureManager design tree and on the parent feature whose child issued the warning.

    Selecting active content removes these icons.

If you clear the Warn about active content setting, the software treats all active content as safe and runs it without displaying a warning message.



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:   Active Content Warnings
*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: 2016 SP05

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.