Hide Table of Contents
IEnableStereoDisplay Method (ISldWorks)

Obsolete and not superseded. Functionality no longer implemented.

.NET Syntax

Visual Basic (Declaration) 
Function IEnableStereoDisplay( _
   ByVal BEnable As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As ISldWorks
Dim BEnable As System.Boolean
Dim value As System.Boolean
value = instance.IEnableStereoDisplay(BEnable)
System.bool IEnableStereoDisplay( 
   System.bool BEnable
System.bool IEnableStereoDisplay( 
&   System.bool BEnable



Bitfield flags that control the application's stereo support status

Return Value

True if stereo attribute setting was successful, false if not


You must select the Enable Quadbuffered Stereo API check box for NVIDIA Quadro4 OpenGL video cards before opening any windows.

Calling this method with bit #0, the low bit, of the flags field set (flags |= 0x01) sets up all subsequently opened document windows to be capable of displaying stereo; already opened document windows are not affected. If this method is not called, or if it is called with the low bit of flags cleared, the document windows are not be capable of displaying stereo.

Bit #1 controls whether or not3D scenes are displayed to separate left-eye and right-eye stereoscopic buffers. If bit #1 of the flags field is set (flags |= 0x02), separately buffered stereo pairs are rendered for all windows with 3D scenes that are capable of displaying stereo.

Thus, any plug-in that might need to display stereoscopically should, upon loading, immediately call this method, with the flags field set to 0x01. To actually activate stereo display, call this method with the flags field set to 0x03. To deactivate stereo display, call this method with the flags field set to 0x01. Finally, just before the plug-in uninstalls, restore SOLIDWORKS' default behavior by calling this method with the flags field set to 0x00.

For the stereo pair renderings to appear stereoscopic, call IModelView::SetStereoSeparation or IModelView::ISetStereoSeparation. By default, the stereo rendering-control attributes that are set by IModelView::SetStereoSeparation or IModelView::ISetStereoSeparation are set for identical left-eye and right-eye renderings.


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

Subject:   Feedback on Help Topics
Page:   IEnableStereoDisplay Method (ISldWorks)
*   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:


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

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.