Hide Table of Contents
ISwColorContour1 Interface

Allows access to the color and display values of curvature in a SOLIDWORKS model.

.NET Syntax

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

Example

Remarks

When implemented, the methods of this interface allow you to assign colors and display values of curvature in a SOLIDWORKS model.

To use ISwColorContour1:

  1. Implement the ISwColorContour1 interface in an add-in class.

  2. Install the implemented interface in the SOLIDWORKS software using IModelDocExtension::InstallModelColorizer.

  3. Run the add-in and open a model document in SOLIDWORKS.

  4. In SOLIDWORKS select View > Display > Curvature. The model is colorized by the implemented interface.

  5. When you finalize the application, remove the implemented interface from the SOLIDWORKS software using IModelDocExtension::RemoveModelColorizer.

NOTE: Only one color and display interface can be active at any one time. The last color and display interface installed is the active one. If you remove that color and display interface, then the color and display interface installed before it becomes the active color and display interface.

This interface overrides the color and display functionality of the SOLIDWORKS Curvature tool. See SOLIDWORKS Help for details about the SOLIDWORKS Curvature tool.

To use this interface in a SOLIDWORKS VB.NET or C# macro or add-in, see ComVisibleAttribute in VB.NET and C# Macros and Add-ins.

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:   ISwColorContour1 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) 2019 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.