Hide Table of Contents
IModelDoc2 Interface Properties

For a list of all members of this type, see IModelDoc2 members.

Public Properties

 NameDescription
 PropertyActiveView

Gets the current active model view in read-only mode.

NOTE: This property is a get-only property. Set is not implemented. 

 
 PropertyConfigurationManagerGets the IConfigurationManager object, which allows access to a configuration in a model.  
 PropertyCustomInfoObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 PropertyCustomInfo2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 PropertyExtensionGets the IModelDocExtension object, which also allows access to the model document.  
 PropertyFeatureManagerGets the IFeatureManager object, which allows access to the FeatureManager design tree.  
 PropertyFeatureManagerSplitterPositionSplits the FeatureManager design tree and gets or sets the location of the split bar in the FeatureManager design tree panel.  
 PropertyIActiveView

Gets the current active model view in read-only mode.

NOTE: This property is a get-only property. Set is not implemented. 

 
 PropertyILightSourcePropertyValuesGets and sets the light source property values.  
 PropertyIMaterialPropertyValuesGets or sets a material's properties in the active configuration.  
 PropertyIPageSetupGets the page setup for this document.  
 PropertyISelectionManagerGets the ISelectionMgr object for this document, which makes the currently selected object available.  
 PropertyLargeAssemblyModeGets or sets Large Assembly Mode for this document.  
 PropertyLengthUnitGets and sets the same LengthUnit value used by IModelDoc2::GetUnits, IModelDoc2::IGetUnits, and IModelDoc2::SetUnits.  
 PropertyLightSourcePropertyValuesGets and sets the light source property values.  
 PropertyLightSourceUserNameGets or sets the light source name that is displayed in the SOLIDWORKS user interface.  
 PropertyMaterialIdNameObsolete. Superseded by IPartDoc::GetMaterialPropertyName2 and IPartDoc::SetMaterialPropertyName2.  
 PropertyMaterialPropertyValuesGets or sets a material's properties in the active configuration.  
 PropertyMaterialUserNameGets or sets the material name.  
 PropertyModelViewManagerGets the IModelViewManager object, which allows access to the model view.  
 PropertyPageSetupGets the page setup for this document.  
 PropertyPrinterGets or sets the default printer for this document.  
 PropertyPrintSetupObsolete. See IModelDo2::SetUserPreferenceDoubleValue, IModelDoc2::SetUserPreferenceIntegerValue, and IModelDoc2::SetUserPreferenceToggle.  
 PropertySceneBkgImageFileNameControls the image filename used as the current background picture.  
 PropertySceneNameGets and sets the name of the scene.  
 PropertySceneUserNameGets and sets the user name of the scene.  
 PropertySelectionManager

Gets the ISelectionMgr object for this document, which makes the currently selected object available.

NOTE: This property is a get-only property. Set is not implemented. 

 
 PropertyShowFeatureErrorDialogGets or sets whether to display the feature error dialog.  
 PropertySketchManagerGets the sketch manager, which allows access to sketch-creation routines.  
 PropertySummaryInfoGets or sets file summary information for the SOLIDWORKS document.  
 PropertyVisibleGets or sets the visibility of the active document.  
Top

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:   IModelDoc2 Interface Properties
*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) 2023 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.