Hide Table of Contents
IModelDoc2 Interface Methods

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

Public Methods

 NameDescription
 MethodActivateFeatureMgrViewObsolete. Superseded by IFeatureMgrView::ActivateView.  
 MethodActivateSelectedFeatureActivates the selected feature for editing.  
 MethodAddConfigurationObsolete. Superseded by IModelDoc2::AddConfiguration3.  
 MethodAddConfiguration2Obsolete. Superseded by IModelDoc2::AddConfiguration3.  
 MethodAddConfiguration3Adds a new configuration to this model document.  
 MethodAddCustomInfoObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodAddCustomInfo2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodAddCustomInfo3Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodAddDiameterDimensionObsolete. Superseded by IModelDoc2::AddDiameterDimension2.  
 MethodAddDiameterDimension2Adds a diameter dimension at the specified location for the selected item.  
 MethodAddDimensionObsolete. Superseded by IModelDoc2::AddDimension2.  
 MethodAddDimension2Creates a display dimension at the specified location for selected entities.  
 MethodAddFeatureMgrViewObsolete. Superseded by IModelDoc2::AddFeatureMgrView3.  
 MethodAddFeatureMgrView2Obsolete. Superseded by IModelDoc2::AddFeatureMgrView3.  
 MethodAddFeatureMgrView3Adds the specified tab to the FeatureManager design tree view.  
 MethodAddHorizontalDimensionObsolete. Superseded by IModelDoc2::AddHorizontalDimension2.  
 MethodAddHorizontalDimension2Creates a horizontal dimension for the currently selected entities at the specified location.  
 MethodAddInsDisplays the Add-In Manager dialog box.  
 MethodAddLightSourceAdds a type of light source to a scene with the specified names.  
 MethodAddLightSourceExtPropertyStores a float, string, or integer value for the light source.  
 MethodAddLightToSceneAdds a light source to a scene.  
 MethodAddLoftSectionAdds a loft section to a blend feature.  
 MethodAddOrEditConfigurationObsolete. Superseded by IConfiguraiton::GetParameters, IConfiguration::IGetParameters, IConfiguration::ISetParameters, and IConfiguration::SetParameters.  
 MethodAddPropertyExtensionAdds a property extension to this model.  
 MethodAddRadialDimensionObsolete. Superseded by IModelDoc2::AddRadialDimension2.  
 MethodAddRadialDimension2Adds a radial dimension at the specified location for the selected item.  
 MethodAddRelationObsolete. Superseded by IEquationMgr::Add.  
 MethodAddSceneExtPropertyStores a float, string, or integer value for a scene.  
 MethodAddVerticalDimensionObsolete. Superseded by IModelDoc2::AddVerticalDimension2.  
 MethodAddVerticalDimension2Creates a vertical dimension for the currently selected entities at the specified location.  
 MethodAlignDimensionsObsolete. Superseded by IModelDocExtension::AlignDimensions.  
 MethodAlignOrdinateAligns the selected group of ordinate dimensions.  
 MethodAlignParallelDimensionsAligns the selected linear dimensions in a parallel fashion.  
 MethodAndSelectObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodAndSelectByIDObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodAndSelectByMarkObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodAutoInferToggleObsolete. Superseded by ISketchManager::AutoInference.  
 MethodAutoSolveToggleObsolete. Superseded by ISketchManager::AutoSolve.  
 MethodBlankRefGeomHides the selected reference geometry in the graphics window.  
 MethodBlankSketchHides the selected sketches.  
 MethodBreakAllExternalReferencesObsolete. Superseded by IModelDocExtension::BreakAllExternalReferences2.  
 MethodBreakDimensionAlignmentBreaks the association of any selected dimensions belonging to an alignment group (parallel or collinear).  
 MethodChangeSketchPlaneObsolete. Superseded by IModelDocExtension::ChangeSketchPlane.  
 MethodClearSelectionObsolete. Superseded by IModelDoc2::ClearSelection2.  
 MethodClearSelection2Clears the selection list.  
 MethodClearUndoListClears the undo list for this model document.  
 MethodCloseNot implemented. Use ISldWorks::CloseDoc.  
 MethodCloseFamilyTableCloses the design table currently being edited.  
 MethodClosePrintPreviewCloses the currently displayed Print Preview page for this document.  
 MethodClosestDistanceCalculates the minimum distance between the specified geometric objects.  
 MethodCreate3PointArcObsolete. Superseded by ISketchManager::Create3PointArc.  
 MethodCreateArcObsolete. Superseded by IModelDoc2::CreateArc2.  
 MethodCreateArc2Obsolete. Superseded by ISketchManager::CreateArc.  
 MethodCreateArcByCenterCreates an arc by center in this model document.  
 MethodCreateArcDBObsolete. Superseded by IModelDoc2::CreateArc2.  
 MethodCreateArcVBObsolete. Superseded by IModelDoc2::CreateArc2.  
 MethodCreateCenterLineObsolete. Superseded by ISketchManager::CreateCenterLine.  
 MethodCreateCenterLineVBCreates a center line from P1 to P2 and can be used in Visual Basic for Applications (VBA) and other forms of Basic that do not support SafeArrays.  
 MethodCreateCircleObsolete. Superseded by IModelDoc2::CreateCircle2.  
 MethodCreateCircle2Obsolete. Superseded by SketchManager::CreateCircle.  
 MethodCreateCircleByRadiusObsolete. Superseded by IModelDoc2::CreateCircleByRadius2.  
 MethodCreateCircleByRadius2Obsolete. Superseded by SketchManager::CreateCircleByRadius.  
 MethodCreateCircleDBObsolete. Superseded by IModelDoc2::CreateCircle2.  
 MethodCreateCircleVBObsolete. Superseded by IModelDoc2::CreateCircle2.  
 MethodCreateCircularSketchStepAndRepeatObsolete. Superseded by ISketchManager::CreateCircularSketchStepAndRepeat.  
 MethodCreateClippedSplinesCreates one or more sketch spline segments that are clipped against a given (x1, y1), (x2, y2) rectangle. This rectangle lies in the space of the active 2D sketch.  
 MethodCreateEllipseObsolete. Superseded by IModelDoc2::CreateEllipse2.  
 MethodCreateEllipse2Obsolete. Superseded by ISketchManager::CreateEllipse.  
 MethodCreateEllipseVBObsolete. Superseded by IModelDoc2::CreateEllipse2.  
 MethodCreateEllipticalArc2Obsolete. Superseded by SketchManager::CreateEllipticalArc.  
 MethodCreateEllipticalArcByCenterObsolete. Superseded by SketchManager::CreateEllipticalArc.  
 MethodCreateEllipticalArcByCenterVBObsolete. Superseded by SketchManager::CreateEllipticalArc.  
 MethodCreateFeatureMgrViewObsolete. Superseded by IModelViewManager::CreateFeatureMgrView2.  
 MethodCreateFeatureMgrView2Obsolete. Superseded by IModelViewManager::CreateFeatureMgrView2.  
 MethodCreateFeatureMgrView3Obsolete. Superseded by IModelViewManager::CreateFeatureMgrView2.  
 MethodCreateGroupCreates an annotation group from the currently selected annotations.  
 MethodCreateLineObsolete. Superseded by IModelDoc2::CreateLine2.  
 MethodCreateLine2Obsolete. Superseded by SketchManager::CreateLine.  
 MethodCreateLinearSketchStepAndRepeatObsolete. Superseded by ISketchManager::CreateLinearSketchStepAndRepeat.  
 MethodCreateLineDBObsolete. Superseded by IModelDoc2::CreateLine2.  
 MethodCreateLineVBObsolete. Superseded by IModelDoc2::CreateLine2.  
 MethodCreatePlaneAtAngleObsolete. Superseded by IModelDoc2::CreatePlaneAtAngle3.  
 MethodCreatePlaneAtAngle2Obsolete. Superseded by IModelDoc2::CreatePlaneAtAngle3.  
 MethodCreatePlaneAtAngle3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlaneAtOffsetObsolete. Superseded by IModelDoc2::CreatePlaneAtOffset3.  
 MethodCreatePlaneAtOffset2Obsolete. Superseded by IModelDoc2::CreatePlaneAtOffset3.  
 MethodCreatePlaneAtOffset3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlaneAtSurfaceObsolete. Superseded by IModelDoc2::CreatePlaneAtSurface3.  
 MethodCreatePlaneAtSurface2Obsolete. Superseded by IModelDoc2::CreatePlaneAtSurface3.  
 MethodCreatePlaneAtSurface3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlaneFixedObsolete. Superseded by IModelDoc2::CreatePlaneFixed2.  
 MethodCreatePlaneFixed2Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlanePerCurveAndPassPointObsolete. Superseded by IModelDoc2::CreatePlanePerCurveAndPassPoint3.  
 MethodCreatePlanePerCurveAndPassPoint2Obsolete. Superseded by IModelDoc2::CreatePlanePerCurveAndPassPoint3.  
 MethodCreatePlanePerCurveAndPassPoint3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlaneThru3PointsObsolete. Superseded by IModelDoc2::CreatePlaneThru3Points3.  
 MethodCreatePlaneThru3Points2Obsolete. Superseded by IModelDoc2::CreatePlaneThru3Points3.  
 MethodCreatePlaneThru3Points3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlaneThruLineAndPtObsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePlaneThruPtParallelToPlaneObsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodCreatePointObsolete. Superseded by IModelDoc2::CreatePoint2.  
 MethodCreatePoint2Obsolete. Superseded by ISketchManager::CreatePoint.  
 MethodCreatePointDBObsolete. Superseded by IModelDoc2::CreatePoint2 and IModelDoc2::ICreatePoint2.  
 MethodCreateSplineObsolete. Superseded by ISketchManager::CreateSpline.  
 MethodCreateSplineByEqnParamsObsolete. Superseded by ISketchManager::CreateSplineByEqnParams.  
 MethodCreateSplinesByEqnParamsObsolete. Superseded by ISketchManager::CreateSplinesByEqnParams.  
 MethodCreateTangentArcObsolete. Superseded by IModelDoc2::CreateTangentArc2.  
 MethodCreateTangentArc2Obsolete. Superseded by ISketchManager::CreateTangentArc.  
 MethodDeActivateFeatureMgrViewDeactivates a tab in the FeatureManager design tree view.  
 MethodDebugCheckIgesGeomDumps a IGES geometry check.  
 MethodDeleteAllRelationsDeletes all existing relations.  
 MethodDeleteBendTableDeletes a bend table.  
 MethodDeleteBkgImageDeletes any background image.  
 MethodDeleteConfigurationObsolete. Superseded by IModelDoc2::DeleteConfiguration2.  
 MethodDeleteConfiguration2Deletes a configuration.  
 MethodDeleteCustomInfoObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodDeleteCustomInfo2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodDeleteDesignTableDeletes the design table for this document, if one exists.  
 MethodDeleteFeatureMgrViewRemoves the specified tab in the FeatureManager design tree.  
 MethodDeleteLightSourceDeletes a light source.  
 MethodDeleteNamedViewDeletes the specified model view.  
 MethodDeleteSelectionObsolete. Superseded by IModelDocExtension::DeleteSelection2.  
 MethodDeriveSketchCreates a derived sketch.  
 MethodDeSelectByIDRemoves the selected object from the selection list.  
 MethodDimPreferencesSets dimension preferences.  
 MethodDissolveLibraryFeatureDissolves the selected library features.  
 MethodDissolveSketchTextDissolves sketch text.  
 MethodDragToDrags the specified end point.  
 MethodDrawLightIconsDraws any visible light icons.  
 MethodEditBalloonPropertiesObsolete. Superseded by INote::SetBalloon and INote::SetBomBalloonText.  
 MethodEditClearAllObsolete. Superseded by IModelDoc2::ClearSelection2.  
 MethodEditConfigurationObsolete. Superseded by IModelDoc2::EditConfiguration3.  
 MethodEditConfiguration2Obsolete. Superseded by IModelDoc2::EditConfiguration3.  
 MethodEditConfiguration3Edits the specified configuration.  
 MethodEditCopyCopies the currently selected items and places them in the clipboard.  
 MethodEditCutCuts the currently selected items and places them on the Microsoft Windows Clipboard.  
 MethodEditDatumTargetSymbolEdits a datum target symbol.  
 MethodEditDeleteDeletes the selected items.  
 MethodEditDimensionPropertiesObsolete. Superseded by IModelDoc2::EditDimensionProperties3.  
 MethodEditDimensionProperties2Obsolete. Superseded by IModelDoc2::EditDimensionProperties3.  
 MethodEditDimensionProperties3Obsolete. Superseded by IModelDocExtension::EditDimensionProperties.  
 MethodEditOrdinatePuts the currently selected ordinate dimension into edit mode so you could add more ordinate dimensions to this group.  
 MethodEditRebuild3Rebuilds only those features that need to be rebuilt in the active configuration in the model.  
 MethodEditRedoObsolete. Superseded by IModelDoc2::EditRedo2.  
 MethodEditRedo2Repeats the specified number of actions in this SOLIDWORKS session.  
 MethodEditRollbackObsolete. Superseded by IFeatureManager::EditRollback.  
 MethodEditRollback2Obsolete. Superseded by IFeatureManager::EditRollback.  
 MethodEditRouteMakes the last selected route the active route.  
 MethodEditSeedFeatGets the pattern seed feature, based on the selected face, and displays the Edit Definition dialog for that feature.  
 MethodEditSketchAllows the currently selected sketch to be edited.  
 MethodEditSketchOrSingleSketchFeatureEdits a selected sketch or feature sketch.  
 MethodEditSuppressObsolete. Superseded IModelDoc2::EditSuppress2.  
 MethodEditSuppress2Suppresses the selected feature, the selected component, or the owning feature of the selected face.  
 MethodEditUndoObsolete. Superseded by IModelDoc2::EditUndo2.  
 MethodEditUndo2Undoes the specified number of actions in the active SOLIDWORKS session.  
 MethodEditUnsuppressObsolete. Superseded by IModelDoc2::EditUnsuppress2.  
 MethodEditUnsuppress2Unsuppresses the selected feature or component.  
 MethodEditUnsuppressDependentObsolete. Superseded by IModelDoc2::EditUnsuppressDependent2.  
 MethodEditUnsuppressDependent2Unsuppresses the selected feature or component and their dependents.  
 MethodEntityPropertiesDisplays the Properties dialog for the selected edge or face.  
 MethodEnumModelViewsGets the model views enumeration in this document.  
 MethodFeatEditPuts the current feature into edit mode.  
 MethodFeatEditDefDisplays the Feature Definition dialog and lets the user edit the values.  
 MethodFeatureBossObsolete. Superseded by IFeatureManager::FeatureExtrusion2.  
 MethodFeatureBoss2Obsolete. Superseded by IFeatureManager::FeatureExtrusion2.  
 MethodFeatureBossThickenObsolete. Superseded by IFeatureManager::FeatureBossThicken.  
 MethodFeatureBossThicken2Obsolete. Superseded by IFeatureManager::FeatureBossThicken.  
 MethodFeatureBossThinObsolete. Superseded by IFeatureManager::FeatureExtrusionThin2.  
 MethodFeatureBossThin2Obsolete. Superseded by IFeatureManager::FeatureExtrusionThin2.  
 MethodFeatureByPositionReverseGets the nth from last feature in the document.  
 MethodFeatureChamferCreates a chamfer feature.  
 MethodFeatureChamferTypeObsolete. Superseded by IFeatureManager::InsertFeatureChamfer.  
 MethodFeatureCirPatternObsolete. Superseded by IFeatureManager::FeatureCircularPattern2.  
 MethodFeatureCurvePatternObsolete. See IFeatureManager::CreateFeature and the Remarks of ICurveDrivenPatternFeatureData.  
 MethodFeatureCutObsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodFeatureCut2Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodFeatureCut3Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodFeatureCut4Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodFeatureCut5Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodFeatureCutThickenObsolete. Superseded by IFeatureManager::FeatureCutThicken.  
 MethodFeatureCutThicken2Obsolete. Superseded by IFeatureManager::FeatureCutThicken.  
 MethodFeatureCutThinObsolete. Superseded by IFeatureManager::FeatureCutThin.  
 MethodFeatureCutThin2Obsolete. Superseded by IFeatureManager::FeatureCutThin.  
 MethodFeatureExtruRefSurfaceObsolete. Superseded by IModelDoc2::FeatureExtruRefSurface2.  
 MethodFeatureExtruRefSurface2Obsolete. Superseded by IFeatureManager::FeatureExtruRefSurface.  
 MethodFeatureFilletObsolete. Superseded by IFeatureManager::FeatureFillet.  
 MethodFeatureFillet2Obsolete. Superseded by IFeatureManager::FeatureFillet.  
 MethodFeatureFillet3Obsolete. Superseded by IFeatureManager::FeatureFillet.  
 MethodFeatureFillet4Obsolete. Superseded by IFeatureManager::FeatureFillet.  
 MethodFeatureFillet5Obsolete. Superseded by IFeatureManager::FeatureFillet.  
 MethodFeatureLinearPatternObsolete. Superseded by IFeatureManager::FeatureLinearPattern2.  
 MethodFeatureReferenceCurveCreates a reference curve feature from an array of curves.  
 MethodFeatureRevolve2Obsolete. Superseded by IFeatureManager::FeatureRevolve.  
 MethodFeatureRevolveCut2Obsolete. Superseded by IFeatureManager::FeatureRevolveCut.  
 MethodFeatureSketchDrivenPatternObsolete. Superseded by IFeatureManager::FeatureSketchDrivenPattern.  
 MethodFileReloadObsolete. Superseded by IModelDoc2::ReloadOrReplace.  
 MethodFileSummaryInfoDisplays the File Summary Information dialog box for this file.  
 MethodFirstFeatureGets the first feature in the document.  
 MethodFontBoldEnables or disables bold font style in the selected notes, dimensions, and GTols.  
 MethodFontFaceChanges the font face in the selected notes, dimensions, and GTols.  
 MethodFontItalicEnables or disables italic font style in the selected notes, dimensions, and GTols.  
 MethodFontPointsChanges the font height (specified in points) in the selected notes, dimensions, and GTols.  
 MethodFontUnderlineEnables or disables underlining the selected notes, dimensions, and GTols.  
 MethodFontUnitsChanges font height (specified in current system units) in the selected notes, dimensions, and GTols.  
 MethodForceRebuild3Forces a rebuild of all features in the active configuration in the model.  
 MethodForceReleaseLocksReleases the locks that a file system places on a file when it is opened and detaches that file from the file system.  
 MethodGetActiveConfigurationObsolete. Superseded by IConfigurationManager::ActiveConfiguration.  
 MethodGetActiveSketchObsolete. Superseded by IModelDoc2::GetActiveSketch2.  
 MethodGetActiveSketch2Obsolete. Superseded by SketchManager::ActiveSketch.  
 MethodGetAddToDBGets whether entities are added directly to the SOLIDWORKS database.  
 MethodGetAmbientLightPropertiesGets the ambient light properties for this model document.  
 MethodGetAngularUnitsGets the current angular unit settings.  
 MethodGetArcCentersDisplayedGets whether the arc centers are displayed.  
 MethodGetBendStateGets the current bend state of a sheet metal part.  
 MethodGetBlockingStateGets the current value of the SOLIDWORKS blocking state, within the range of values accessible by IModelDoc2::SetBlockingState.  
 MethodGetColorTableObsolete. Superseded by ISldWorks::GetColorTable.  
 MethodGetConfigurationByNameGets the specified configuration.  
 MethodGetConfigurationCountGets the number of configurations.  
 MethodGetConfigurationNamesGets the names of the configurations in this document.  
 MethodGetConsiderLeadersAsLinesGets whether the display data of a leader is included as lines when the lines are retrieved from a view or annotation in this document.  
 MethodGetCoordinateSystemXformByNameObsolete. Superseded by IModelDocExtension::GetCoordinateSystemTransformByName.  
 MethodGetCurrentCoordinateSystemNameGets the name of the current coordinate system or an empty string for the default coordinate system.  
 MethodGetCustomInfoCountObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoCount2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoNamesObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoNames2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoTypeObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoType2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoType3Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetCustomInfoValueObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodGetDefaultTextHeightGets the default text height in use for this document.  
 MethodGetDependenciesObsolete. Superseded by IModelDoc2::GetDependencies2.  
 MethodGetDependencies2Obsolete. Superseded by IModelDocExtension::GetDependencies.  
 MethodGetDesignTableGets the design table associated with this part or assembly document.  
 MethodGetDetailingDefaultsObsolete. Superseded by IModelDoc2::GetUserPreferenceTextFormat and IModelDoc2::SetUserPreferenceTextFormat.  
 MethodGetDirectionLightPropertiesGets the directional light properties.  
 MethodGetDisplayWhenAddedGets whether new sketch entities are displayed when created.  
 MethodGetEntityNameGets the name of the specified face, edge, or vertex.  
 MethodGetEquationMgrGets the equation manager.  
 MethodGetExternalReferenceNameGets the name of the externally referenced document (in the case of a join or mirrored part).  
 MethodGetFeatureCountGets the number of features in this document.  
 MethodGetFeatureManagerWidthGets the width of the FeatureManager design tree.  
 MethodGetFirstAnnotationObsolete. Superseded by IModelDoc2::GetFirstAnnotation2.  
 MethodGetFirstAnnotation2Gets the first annotation in the model.  
 MethodGetFirstModelViewGets the first view in a model document.  
 MethodGetGridSettingsGets the current grid settings.  
 MethodGetInferenceModeObsolete. Superseded by SketchManager::InferenceMode.  
 MethodGetLayerManagerGets the layer manager for the current drawing document.  
 MethodGetLightSourceCountGets the number of light sources.  
 MethodGetLightSourceExtPropertyGets a float, string, or integer value stored for the light source.  
 MethodGetLightSourceIdFromNameGets the ID of the specified light source.  
 MethodGetLightSourceNameGets the name of a light source used internally by the SOLIDWORKS application.  
 MethodGetLineCountGets the number of lines in the current sketch.  
 MethodGetLinesGets all of the lines in the current sketch.  
 MethodGetMassPropertiesObsolete. Superseded by IModelDocExtension::GetMassProperties and IModelDocExtension::IGetMassProperties.  
 MethodGetMassProperties2Obsolete. Superseded by IModelDocExtension::GetMassProperties and IModelDocExtension::IGetMassProperties.  
 MethodGetModelViewCountObsolete. Superseded by IModelDocExtension::GetModelViewCount.  
 MethodGetModelViewNamesGets a list containing the names of each model view in this document.  
 MethodGetNextGets the next document in the current SOLIDWORKS session.  
 MethodGetNumDependenciesGets the number of strings returned by IModelDoc2::GetDependencies2.  
 MethodGetPathNameGets the full path name for this document, including the file name.  
 MethodGetPointLightPropertiesGets point light properties.  
 MethodGetPopupMenuModeGets the current pop-up menu mode.  
 MethodGetPropertyExtensionGets the specified property extension on this model.  
 MethodGetPropertyManagerPageObsolete. Superseded by ISldWorks::CreatePropertyManagerPage and ISldWorks::ICreatePropertyManagerPage.  
 MethodGetRayIntersectionsPointsGets the intersection point information generated by IModelDoc2::RayIntersections.  
 MethodGetRayIntersectionsTopologyGets the topology intersections generated by IModelDoc2::RayIntersections.  
 MethodGetSaveFlagGets whether the document is currently dirty and needs to be saved.  
 MethodGetSceneBkgDIBGets background image as a LPDIBSECTION.  
 MethodGetSceneExtPropertyGets a float, string, or integer value stored for the scene.  
 MethodGetSpotlightPropertiesGets the spotlight properties.  
 MethodGetStandardViewRotationGets the specified view orientation matrix with respect to the Front view.  
 MethodGetTessellationQualityGets the shaded-display image quality number for the current document.  
 MethodGetTitleGets the title of the document that appears in the active window's title bar.  
 MethodGetToolbarVisibilityGets the visibility of a toolbar.  
 MethodGetTypeGets the type of the document.  
 MethodGetUnitsGets the current unit settings, fraction base, fraction value, and significant digits.  
 MethodGetUpdateStampGets the current update stamp for this document.  
 MethodGetUserPreferenceDoubleValueObsolete. Superseded by IModelDocExtension::GetUserPreferenceDouble.  
 MethodGetUserPreferenceIntegerValueObsolete. Superseded by IModelDocExtension::GetUserPreferenceInteger.  
 MethodGetUserPreferenceStringValueObsolete. Superseded by IModelDocExtension::GetUserPreferenceString.  
 MethodGetUserPreferenceTextFormatObsolete. Superseded by IModelDocExtension::GetUserPreferenceTextFormat.  
 MethodGetUserPreferenceToggleObsolete. Superseded by IModelDocExtension::GetUserPreferenceToggle.  
 MethodGetUserUnitGets this document's units settings.  
 MethodGetVisibilityOfConstructPlanesGets whether construction (reference) planes are currently visible.  
 MethodGetZebraStripeDataGets zebra line data.  
 MethodGraphicsRedrawObsolete. Superseded by IModelDoc2::GraphicsRedraw2.  
 MethodGraphicsRedraw2Obsolete. Superseded by IModelView::GraphicsRedraw and IModelView::IGraphicsRedraw.  
 MethodGridOptionsObsolete. Superseded by ISketchManager::SetGridOptions.  
 MethodHideComponent2Hides the selected component.  
 MethodHideCosmeticThreadHides the selected cosmetic thread.  
 MethodHideDimensionHides the selected dimension in this document.  
 MethodHideFeatureDimensionsObsolete. Superseded by IModelDoc2::GetUserPreferenceToggle or IModelDoc2::SetUserPreferenceToggle and swDisplayFeatureDimensions.  
 MethodHideShowBodiesSets whether to hide or show the bodies in the model.  
 MethodHideSolidBodyHides the currently selected solid body.  
 MethodHoleWizardObsolete. Superseded by IFeatureManager::HoleWizard2.  
 MethodIAddConfiguration3Adds a new configuration to this model document.  
 MethodIAddDiameterDimension2Adds a diameter dimension at the specified location for the selected item.  
 MethodIAddDimension2Obsolete. Superseded by IModelDocExtension::AddDimension.  
 MethodIAddHorizontalDimension2Creates a horizontal dimension for the current selected entities at the specified location.  
 MethodIAddOrEditConfigurationObsolete. Superseded by IConfiguraiton::GetParameters, IConfiguration::IGetParameters, IConfiguration::ISetParameters, and IConfiguration::SetParameters.  
 MethodIAddRadialDimension2Adds a radial dimension at the specified location for the selected item.  
 MethodIAddVerticalDimension2Creates a vertical dimension for the currently selected entities at the specified location.  
 MethodIClosestDistanceCalculates the distance and closest points between two geometric objects.  
 MethodICreateArcObsolete. Superseded by IModelDoc2::ICreateArc2.  
 MethodICreateArc2Creates an arc based on a center point, a start, an end point, and a direction.  
 MethodICreateCenterLineCreates a center line from P1 to P2.  
 MethodICreateCircle2Creates a circle based on a center point and a point on the circle.  
 MethodICreateCircleByRadiusObsolete. Superseded by IModelDoc2::ICreateCircleByRadius2.  
 MethodICreateCircleByRadius2Creates a circle based on a center point and a specified radius.  
 MethodICreateClippedSplinesCreates one or more sketch spline segments that are clipped against a given (x1, y1), (x2, y2) rectangle. This rectangle lies in the space of the active 2D sketch.  
 MethodICreateEllipseObsolete. Superseded by IModelDoc2::ICreateEllipse2.  
 MethodICreateEllipse2Creates an ellipse using the specified center point and points.  
 MethodICreateEllipticalArc2Creates a partial ellipse given a center point, two points that specify the major and minor axis, and two points that define the elliptical start and end points.  
 MethodICreateEllipticalArcByCenterCreates an elliptical arc trimmed between two points.  
 MethodICreateFeatureMgrViewObsolete. Superseded by IModelViewManager::CreateFeatureMgrView2.  
 MethodICreateFeatureMgrView2Obsolete. Superseded by IModelViewManager::CreateFeatureMgrView2.  
 MethodICreateFeatureMgrView3Obsolete. Superseded by IModelViewManager::CreateFeatureMgrView2.  
 MethodICreateLineObsolete. Superseded by IModelDoc2::ICreateLine2.  
 MethodICreateLine2Creates a sketch line in the currently active 2D or 3D sketch.  
 MethodICreatePlaneAtAngle2Obsolete. Superseded by IModelDoc2::ICreatePlaneAtAngle3.  
 MethodICreatePlaneAtAngle3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlaneAtOffset2Obsolete. Superseded by IModelDoc2::ICreatePlaneAtOffset3.  
 MethodICreatePlaneAtOffset3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlaneAtSurface2Obsolete. Superseded by IModelDoc2::ICreatePlaneAtSurface3.  
 MethodICreatePlaneAtSurface3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlaneFixedObsolete. Superseded by IModelDoc2::ICreatePlaneFixed2.  
 MethodICreatePlaneFixed2Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlanePerCurveAndPassPoint2Obsolete. Superseded by IModelDoc2::ICreatePlanePerCurveAndPassPoint3.  
 MethodICreatePlanePerCurveAndPassPoint3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlaneThru3Points2Obsolete. Superseded by IModelDoc2::ICreatePlaneThru3Points3.  
 MethodICreatePlaneThru3Points3Obsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlaneThruLineAndPtObsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePlaneThruPtParallelToPlaneObsolete. Superseded by IFeatureManager::InsertRefPlane.  
 MethodICreatePoint2Obsolete. Superseded by ISketchManager::CreatePoint.  
 MethodICreateSplineObsolete. Superseded by ISketchManager::ICreateSpline.  
 MethodICreateSplineByEqnParamsObsolete. Superseded by ISketchManager::ICreateSplineByEqnParams.  
 MethodICreateSplinesByEqnParamsObsolete. Superseded by ISketchManager::ICreateSplinesByEqnParams.  
 MethodIEditDimensionProperties3Obsolete. Superseded by IModelDocExtension::IEditDimensionProperties.  
 MethodIFeatureByPositionReverseGets the nth from last feature in the document.  
 MethodIFeatureFillet2Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodIFeatureFillet3Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodIFeatureFillet4Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodIFeatureFillet5Obsolete. Superseded by IFeatureManager::FeatureCut.  
 MethodIFeatureReferenceCurveCreates a reference curve feature from an array of curves.  
 MethodIFirstFeatureGets the first feature in the document.  
 MethodIGet3rdPartyStorageGets the IStream interface to the specified third-party stream inside this SOLIDWORKS document.  
 MethodIGetActiveConfigurationObsolete. Superseded by IConfigurationManager::ActiveConfiguration.  
 MethodIGetActiveSketchObsolete. Superseded by IModelDoc2::IGetActiveSketch2.  
 MethodIGetActiveSketch2Gets the active sketch.  
 MethodIGetAngularUnitsGets the current angular unit settings.  
 MethodIGetColorTableObsolete. Superseded by ISldWorks::IGetColorTable.  
 MethodIGetConfigurationByNameGets the specified configuration.  
 MethodIGetConfigurationNamesGets the names of the configurations in this document.  
 MethodIGetCoordinateSystemXformByNameObsolete. Superseded by IModelDocExtension::GetCoordinateSystemTransformByName.  
 MethodIGetCustomInfoNamesObsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodIGetCustomInfoNames2Obsolete. Superseded by IModelDocExtension::CustomPropertyManager.  
 MethodIGetDependenciesObsolete. Superseded by IModelDoc2::GetDependencies2.  
 MethodIGetDependencies2Gets all of the model's dependencies.  
 MethodIGetDesignTableGets the design table associated with this part or assembly document.  
 MethodIGetDetailingDefaultsObsolete. Superseded by IModelDoc2::GetUserPreferenceTextFormat and IModelDoc2::SetUserPreferenceTextFormat.  
 MethodIGetEntityNameGets the name of the specified face, edge, or vertex.  
 MethodIGetFirstAnnotationObsolete. Superseded by IModelDoc2::IGetFirstAnnotation2.  
 MethodIGetFirstAnnotation2Gets the first annotation in the model.  
 MethodIGetFirstModelViewGets the first view in a model document.  
 MethodIGetLayerManagerGets the layer manager ofr the current drawing document.  
 MethodIGetLinesGets all of the lines in the current sketch.  
 MethodIGetMassPropertiesObsolete. Superseded by IModelDocExtension::IGetMassProperties.  
 MethodIGetMassProperties2Obsolete. Superseded by IModelDocExtension::IGetMassProperties.  
 MethodIGetModelViewNamesGets a list containing the names of each model view in this document.  
 MethodIGetNextGets the next document in the current SOLIDWORKS session.  
 MethodIGetNumDependenciesObsolete. Superseded by IModelDoc2::IGetNumDependencies2.  
 MethodIGetNumDependencies2Gets the number of strings returned by IModelDoc2::IGetDependencies2.  
 MethodIGetRayIntersectionsPointsGets the intersection point information generated by IModelDoc2::IRayIntersections.  
 MethodIGetRayIntersectionsTopologyGets the topology intersections generated by IModelDoc2::IRayIntersections.  
 MethodIGetStandardViewRotationGets the specified view orientation matrix with respect to the Front view.  
 MethodIGetUnitsGets the current unit settings, fraction base, fraction value, and significant digits.  
 MethodIGetUserPreferenceTextFormatObsolete. Superseded by IModelDocExtension::GetUserPreferenceTextFormat.  
 MethodIGetUserUnitGets this document's units settings.  
 MethodIGetVersionHistoryCountGets the size of the array required to hold data returend by IModleDoc2::IVersionHistory.  
 MethodIInsertBOMBalloon2Obsolete. Superseded by IModelDocExtension::InsertBOMBalloon.  
 MethodIInsertDatumTag2Inserts a datum tag symbol at the selected location.  
 MethodIInsertGtolCreates a new geometric tolerance symbol (GTol) in this document.  
 MethodIInsertMacroFeatureObsolete. Superseded by IFeatureManager::IInsertMacroFeature3.  
 MethodIInsertMidSurfaceExtObsolete. Superseded by IFeatureManager::IInsertMidSurface.  
 MethodIInsertNoteInserts a note in this document.  
 MethodIInsertProjectedSketch2Projects the selected sketch items from the current sketch onto a selected surface.  
 MethodIInsertSheetMetalEdgeFlangeObsolete. Superseded by IFeatureManager::InsertSheetMetalEdgeFlange2.  
 MethodIInsertSketchForEdgeFlangeInserts a sketch for IFeatureManager::InsertSheetMetalEdgeFlange2 in this sheet metal part.  
 MethodIInsertSketchTextObsolete. Superseded by IModelDoc2::InsertSketchText.  
 MethodIInsertWeldSymbol3Inserts a weld symbol into the model.  
 MethodIListAuxiliaryExternalFileReferencesGets the names of auxiliary external file references for this model.  
 MethodIListExternalFileReferencesObsolete. Superseded by IModelDocExtension::ListExternalReferences.  
 MethodIListExternalFileReferences2Obsolete. Superseded by IModelDocExtension::ListExternalReferences.  
 MethodIMultiSelectByRaySelects multiple objects of the specified type that are intersected by a ray from point (x,y,z in meters) in direction vector (x,y,z) within a distance radius.  
 MethodInsert3DSketchObsolete. Superseded by IModelDoc2::Insert3DSketch2.  
 MethodInsert3DSketch2Obsolete. Superseded by ISketchManager::Insert3DSketch.  
 MethodInsert3DSplineCurveInserts a 3D-spline curve through the selected reference points.  
 MethodInsertAxisObsolete. Superseded by IModelDoc2::InsertAxis2.  
 MethodInsertAxis2Inserts a reference axis based on the currently selected items with an option to automatically size the axis.  
 MethodInsertBendTableEditInserts a bend table and puts the bend table into its edit state.  
 MethodInsertBendTableNewInserts a new bend table into the model document.  
 MethodInsertBendTableOpenInserts an existing bend table from a file into this model document.  
 MethodInsertBkgImageInserts the scene background image.  
 MethodInsertBOMBalloonObsolete. Superseded by IModelDoc2::InsertBOMBalloon2.  
 MethodInsertBOMBalloon2Obsolete. Superseded by IModelDocExtension::InsertBOMBalloon.  
 MethodInsertCompositeCurveInserts a composite curve based on selections.  
 MethodInsertConnectionPointAdds a connection point based on the selected point and selected planar item.  
 MethodInsertCoordinateSystemObsolete. Superseded by IFeatureManager::InsertCoordinateSystem.  
 MethodInsertCosmeticThreadObsolete. Superseded by IFeatureManager::InsertCosmeticThread2.  
 MethodInsertCurveFileCreates a curve.  
 MethodInsertCurveFileBeginCreates a curve.  
 MethodInsertCurveFileEndCreates a curve.  
 MethodInsertCurveFilePointCreates a point for a curve.  
 MethodInsertCutBlendObsolete. Superseded by IFeatureManager::InsertCutBlend.  
 MethodInsertCutBlend2Obsolete. Superseded by IFeatureManager::InsertCutBlend.  
 MethodInsertCutBlend3Obsolete. Superseded by IFeatureManager::InsertCutBlend.  
 MethodInsertCutBlend4Obsolete. Superseded by IFeatureManager::InsertCutBlend.  
 MethodInsertCutSurfaceObsolete. Superseded by IFeatureManager::InsertCutSurface.  
 MethodInsertCutSweptObsolete. Superseded by IFeatureManager::InsertCutSwept3.  
 MethodInsertCutSwept2Obsolete. Superseded by IFeatureManager::InsertCutSwept3.  
 MethodInsertCutSwept3Obsolete. Superseded by IFeatureManager::InsertCutSwept3.  
 MethodInsertCutSwept4Obsolete. Superseded by IFeatureManager::InsertCutSwept3.  
 MethodInsertDatumTag2Inserts a datum tag symbol at a selected location.  
 MethodInsertDatumTargetSymbolObsolete. Superseded by IModelDocExtension::InsertDatumTargetSymbol2.  
 MethodInsertDeleteFaceObsolete. Supserseded by IModelDoc2::InsertDeleteFace2.  
 MethodInsertDeleteFace2Obsolete. Superseded by IModelDocExtension::InsertDeleteFace.  
 MethodInsertDeleteHoleObsolete. Supserseded by IFeatureManager::InsertDeleteHoleForSurface.  
 MethodInsertDomeInserts a dome.  
 MethodInsertExtendSurfaceExtends a surface along the selected faces or edges.  
 MethodInsertFamilyTableEditEdits an open design table from Microsoft Excel.  
 MethodInsertFamilyTableNewInserts an existing design table from the model into the selected drawing view.  
 MethodInsertFamilyTableOpenInserts the specified Microsoft Excel design table.  
 MethodInsertFeatureReplaceFaceCreates a Replace Face feature.  
 MethodInsertFeatureShellCreates a shell feature.  
 MethodInsertFeatureShellAddThicknessAdds thickness to a face in a multi-thickness shell feature.  
 MethodInsertFramePointObsolete. Not superseded.  
 MethodInsertGtolCreates a new geometric tolerance symbol (GTol) in this document.  
 MethodInsertHatchedFaceHatches the selected faces or closed sketch segments in a drawing.  
 MethodInsertHelixCreates a constant-pitch helix or spiral.  
 MethodInsertLibraryFeatureObsolete. See Remarks.  
 MethodInsertLoftRefSurfaceObsolete. Superseded by IModelDoc2::InsertLoftRefSurface2.  
 MethodInsertLoftRefSurface2Creates a loft surface from the selected profiles, centerline, and guide curves.  
 MethodInsertMacroFeatureObsolete. Superseded by IFeatureManager::InsertMacroFeature3.  
 MethodInsertMfDraftObsolete. Superseded by IFeatureManager::InsertMultifaceDraft.  
 MethodInsertMfDraft2Obsolete. Superseded by IFeatureManager::InsertMultifaceDraft.  
 MethodInsertMidSurfaceExtObsolete. Superseded by IFeatureManager::InsertMidSurface.  
 MethodInsertNewNote3Creates a new note.  
 MethodInsertNoteInserts a note in this document.  
 MethodInsertObjectActivates the Microsoft Insert Object dialog.  
 MethodInsertObjectFromFileObsolete. Superseded by IModelDocExtension::InsertObjectFromFile.  
 MethodInsertOffsetSurfaceInserts an offset surface.  
 MethodInsertPlanarRefSurfaceInserts a planar reference surface.  
 MethodInsertPointInserts a point in this model document.  
 MethodInsertProjectedSketchObsolete. Superseded by IModelDoc2::InsertProjectedSketch2.  
 MethodInsertProjectedSketch2Obsolete. See IProjectionCurveFeatureData and IFeatureManager::CreateDefinition.  
 MethodInsertProtrusionBlendObsolete. Superseded by IFeatureManager::InsertProtrusionBlend.  
 MethodInsertProtrusionBlend2Obsolete. Superseded by IFeatureManager::InsertProtrusionBlend.  
 MethodInsertProtrusionBlend3Obsolete. Superseded by IFeatureManager::InsertProtrusionBlend.  
 MethodInsertProtrusionBlend4Obsolete. Superseded by IFeatureManager::InsertProtrusionBlend.  
 MethodInsertProtrusionSweptObsolete. Superseded by IFeatureManager::InsertProtrusionSwept3.  
 MethodInsertProtrusionSwept2Obsolete. Superseded by IFeatureManager::InsertProtrusionSwept3.  
 MethodInsertProtrusionSwept3Obsolete. Superseded by IFeatureManager::InsertProtrusionSwept3.  
 MethodInsertProtrusionSwept4Obsolete. Superseded by IFeatureManager::InsertProtrusionSwept3.  
 MethodInsertRadiateSurfaceCreates a radiate surface based on the selections.  
 MethodInsertRefPointInserts a reference point based on the current selections.  
 MethodInsertRevolvedRefSurfaceObsolete. Superseded by IFeatureManager::InsertRevolvedRefSurface.  
 MethodInsertRibObsolete. Superseded by IModelDoc2::InsertRib2.  
 MethodInsertRib2Obsolete. Superseded by IFeatureManager::InsertRib.  
 MethodInsertRipCreates a rip feature.  
 MethodInsertRoutePointAdds a route point based on the selected point.  
 MethodInsertScaleObsolete. Superseded by IFeatureManager::InsertScale.  
 MethodInsertSewRefSurfaceObsolete. Superseded by IFeatureManager::InsertSewRefSurface.  
 MethodInsertSheetMetal3dBendObsolete. Superseded by IFeatureManager::InsertSheetMetal3dBend.  
 MethodInsertSheetMetalBaseFlangeObsolete. Superseded by IFeatureManager::InsertSheetMetalBaseFlange.  
 MethodInsertSheetMetalBreakCornerInserts a break corner into a sheet metal part.  
 MethodInsertSheetMetalClosedCornerInserts a sheet metal closed corner into this model document.  
 MethodInsertSheetMetalEdgeFlangeObsolete. Superseded by IFeatureManager::InsertSheetMetalEdgeFlange2.  
 MethodInsertSheetMetalFoldInserts a fold feature at the selected objects.  
 MethodInsertSheetMetalHemObsolete. Superseded by IFeatureManager::InsertSheetMetalHem.  
 MethodInsertSheetMetalJogInserts a sheet metal jog in the current model document.  
 MethodInsertSheetMetalMiterFlangeObsolete. Superseded by IFeatureManager::InsertSheetMetalMiterFlange.  
 MethodInsertSheetMetalUnfoldInserts an unfold feature at the selected objects.  
 MethodInsertSketchObsolete. Superseded by ISketchManager::InsertSketch.  
 MethodInsertSketch2Obsolete. Superseded by ISketchManager::InsertSketch.  
 MethodInsertSketchForEdgeFlangeInserts a profile sketch of an edge flange in this sheet metal part.  
 MethodInsertSketchPictureInserts a picture into the current sketch.  
 MethodInsertSketchPictureDataInserts a picture into the current sketch.  
 MethodInsertSketchPictureDatax64Inserts a picture into the current sketch in 64-bit applications.  
 MethodInsertSketchTextInserts sketch text.  
 MethodInsertSplinePointInserts a spline point.  
 MethodInsertSplitLineProjectSplits a face by projecting sketch lines onto the face.  
 MethodInsertSplitLineSilSplits a face by creating split lines along the silhouette of the selected faces.  
 MethodInsertStackedBalloonObsolete. Superseded by IModelDocExtension::InsertStackedBalloon.  
 MethodInsertSurfaceFinishSymbol2Obsolete. Superseded by IModelDocExtension::InsertSurfaceFinishSymbol3.  
 MethodInsertSweepRefSurfaceObsolete. Superseded by IFeatureManager::InsertProtrusionSwept3.  
 MethodInsertSweepRefSurface2Obsolete. Superseded by IFeatureManager::InsertProtrusionSwept3.  
 MethodInsertWeldSymbol2Obsolete. Superseded by IModelDoc2::InsertWeldSymbol3.  
 MethodInsertWeldSymbol3Inserts a weld symbol into the model.  
 MethodInspectCurvatureAdds curvature combs to the selected sketch segment.  
 MethodIParameterGets the specified parameter.  
 MethodIRayIntersectionsObsolete. Superseded by IModelDocExtension::RayIntersections.  
 MethodIRelease3rdPartyStorageReleases the specified third-party stream.  
 MethodIsActiveGets whether the specified assembly component is shown or hidden in this model document.  
 MethodIsEditingSelfGets whether this model is being edited in the context of another document.  
 MethodISelectByRayObsolete. Superseded by IModelDocExtension::SelectByRay.  
 MethodISetAngularUnitsSets the current angular units.  
 MethodISetNextSelectionGroupIdSets the group ID for all remaining selections.  
 MethodISetUserPreferenceTextFormatObsolete. Superseded by IModelDocExtension::SetUserPreferenceTextFormat.  
 MethodIsExplodedObsolete. Superseded by IModelDocExtension::IsExploded.  
 MethodISketchSplineByEqnParamsCreates a spline on the active 2D sketch using the specified b-curve parameters.  
 MethodIsLightLockedToModelGets whether the specified light is fixed.  
 MethodIsOpenedReadOnlyGets whether a SOLIDWORKS document is open in read-only mode.  
 MethodIsOpenedViewOnlyGets whether a SOLIDWORKS document is open in view-only mode.  
 MethodIsTessellationValidGets whether the current set of facets is valid.  
 MethodIVersionHistoryGets an array of strings indicating the versions in which this model document was saved, including the SOLIDWORKS version in which the model document is currently opened and which is the last value returned in the array.  
 MethodLBDownAtGenerates a left mouse button press (down) event.  
 MethodLBUpAtGenerates a left-mouse button release (up) event.  
 MethodLightsObsolete. Not superseded.  
 MethodListAuxiliaryExternalFileReferencesGets the names of auxiliary external file references for this model.  
 MethodListAuxiliaryExternalFileReferencesCountGets the number of auxiliary external file references for this model.  
 MethodListExternalFileReferencesObsolete. Superseded by IModelDocExtension::ListExternalReferences.  
 MethodListExternalFileReferences2Obsolete. Superseded by IModelDocExtension::ListExternalReferences.  
 MethodListExternalFileReferencesCountObsolete. Superseded by IModelDocExtension::ListExternalFileReferenceCount.  
 MethodListExternalFileReferencesCount2Obsolete. Superseded by IModelDocExtension::ListExternalFileReferenceCount.  
 MethodLockBlocks the modifying commands in the user interface, effectively locking the application.  
 MethodLockAllExternalReferencesLocks all external references.  
 MethodLockFramePointObsolete. Not superseded.  
 MethodLockLightToModelLocks or unlocks the specified light.  
 MethodMoldDraftAnalysisPerforms a mold draft analysis.  
 MethodMultiSelectByRaySelects multiple objects of the specified type that are intersected by a ray from point (x,y,z in meters) in direction vector (x,y,z) within a distance radius.  
 MethodNameViewCreates a named view using the current view.  
 MethodObjectDisplayAsIconShows the current OLE object as an icon.  
 MethodObjectDisplayContentShows the current OLE object's content.  
 MethodObjectResetsizeSets the size of the current OLE object to the default.  
 MethodParameterGets the specified parameter.  
 MethodParentChildRelationshipShows the Parent/Child Relationships dialog for the selected feature.  
 MethodPastePastes the contents of the Microsoft Windows Clipboard at the current insertion point.  
 MethodPostTrimSurfaceObsolete. Superseded by IFeatureManager::PostTrimSurface.  
 MethodPreTrimSurfaceObsolete. Superseded by IFeatureManager::PreTrimSurface.  
 MethodPrintDirectPrints the current document to the default printer.  
 MethodPrintOutObsolete. Superseded by IModelDocExtension::PrintOut2 and IModelDocExtension::IPrintOut2.  
 MethodPrintOut2Obsolete. Superseded by IModelDocExtension::PrintOut2 and IModelDocExtension::IPrintOut2.  
 MethodPrintPreviewDisplays the Print Preview page for the current document.  
 MethodPropertySheetDisplays the the selected object's property sheet.  
 MethodQuitCloses the active document without saving changes (see Remarks).  
 MethodRayIntersectionsObsolete. Superseded by IModelDocExtension::RayIntersections.  
 MethodReattachOrdinateReattaches an ordinate dimension to a different entity.  
 MethodRebuildObsolete. Superseded by IModelDocExtension::Rebuild.  
 MethodReloadOrReplaceObsolete. Superseded by IModelDocExtension::ReloadOrReplace.  
 MethodRemoveGroupsRemoves any annotation groups in the current selection.  
 MethodRemoveInspectCurvatureRemoves curvature combs from the selected curved sketch segment.  
 MethodRemoveItemsFromGroupRemoves the selected annotations from their annotation groups.  
 MethodResetBlockingStateResets the blocking state for the SOLIDWORKS menus.  
 MethodResetLightSourceExtPropertyResets the properties for a light source.  
 MethodResetPropertyExtensionClears all values stored in the property extension.  
 MethodResetSceneExtPropertyResets the extension property for a scene.  
 MethodSaveObsolete. Superseded by IModelDoc2::Save3.  
 MethodSave2Obsolete. Superseded by IModelDoc2::Save3.  
 MethodSave3Saves the current document.  
 MethodSaveAsObsolete. Superseded by IModelDocExtension::SaveAs.  
 MethodSaveAs2Obsolete. Superseded by IModelDocExtension::SaveAs.  
 MethodSaveAs3Obsolete. Superseded by IModelDocExtension::SaveAs.  
 MethodSaveAs4Obsolete. Superseded by IModelDocExtension::SaveAs.  
 MethodSaveAsSilentObsolete. Superseded by IModelDocExtension::SaveAs.  
 MethodSaveBMPSaves the current view as a bitmap (BMP) file.  
 MethodSaveSilentObsolete. Superseded by IModelDoc2::Save3.  
 MethodScaleScales the part.  
 MethodScreenRotateSwitches between model and screen center rotation.  
 MethodSelectObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectAtObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectByIDObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectByMarkObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectByNameObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectByRayObsolete. Superseded by IModelDocExtension::SelectByRay.  
 MethodSelectedEdgePropertiesSets the property values of the selected edge.  
 MethodSelectedFacePropertiesSets the material property values of the selected face.  
 MethodSelectedFeaturePropertiesSets the property values of the selected feature.  
 MethodSelectLoopSelects the loop that corresponds to the selected edge.  
 MethodSelectMidpointPuts the midpoint (swSelMIDPOINTS) of that edge on the selection list and removes the edge from the selection list when an edge is selected.  
 MethodSelectSketchArcObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectSketchItemObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectSketchLineObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectSketchPointObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectSketchSplineObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectTangencySelects all faces tangent to the selected face.  
 MethodSetAddToDBObsolete. Superseded by ISketchManager::AddToDB.  
 MethodSetAmbientLightPropertiesSets ambient light properties.  
 MethodSetAngularUnitsSets the current angular units.  
 MethodSetArcCentersDisplayedSets the current arc centers displayed setting.  
 MethodSetBendStateSets the bend state of a sheet metal part.  
 MethodSetBlockingStateSets the blocking state for the SOLIDWORKS menus.  
 MethodSetConsiderLeadersAsLinesSets a flag on the document that indicates whether the display data of a leader should be included as lines when the lines are retrieved from a view or annotation in this document.  
 MethodSetDirectionLightPropertiesSets direction light properties.  
 MethodSetDisplayWhenAddedObsolete. Superseded by ISketchManager::DisplayWhenAdded.  
 MethodSetFeatureManagerWidthSets the width of the FeatureManager design tree.  
 MethodSetInferenceModeObsolete. Superseded by SketchManager::InferenceMode.  
 MethodSetLightSourceNameSets the light source name used internally by the SOLIDWORKS software.  
 MethodSetLightSourcePropertyValuesVBSets the light source property values.  
 MethodSetParamValueSets the value of selected dimension (or parameter).  
 MethodSetPickModeReturns the user to the default selection mode.  
 MethodSetPointLightPropertiesSets point light properties.  
 MethodSetPopupMenuModeSets the pop-up menu mode.  
 MethodSetReadOnlyStateSets whether this document is read-only or read-write.  
 MethodSetSaveAsFileNameSets the Save As filename from within the FileSaveAsNotify2 event handlers, thereby, bypassing the Save As dialog.  
 MethodSetSaveFlagFlags the document as dirty.  
 MethodSetSceneBkgDIBSets background image described by DIBSECTION data.  
 MethodSetSpotlightPropertiesSets the spotlight properties.  
 MethodSetTessellationQualitySets the shaded-display image quality number for the current document.  
 MethodSetTitle2Sets the title of a new document.  
 MethodSetToolbarVisibilitySets the visibility of a toolbar.  
 MethodSetUnitsSets the units used by the end-user for the model.  
 MethodSetUserPreferenceDoubleValueObsolete. Superseded by IModelDocExtension::SetUserPreferenceDouble.  
 MethodSetUserPreferenceIntegerValueObsolete. Superseded by IModelDocExtension::SetUserPreferenceInteger.  
 MethodSetUserPreferenceStringValueObsolete. Superseded by IModelDocExtension::SetUserPreferenceString.  
 MethodSetUserPreferenceTextFormatObsolete. Superseded by IModelDocExtension::SetUserPreferenceTextFormat.  
 MethodSetUserPreferenceToggleObsolete. Superseded by IModelDocExtension::SetUserPreferenceToggle.  
 MethodSetZebraStripeDataSets the zebra-line data.  
 MethodShowComponent2Shows the selected component.  
 MethodShowConfigurationObsolete. Superseded by IModelDoc2::ShowConfiguration2.  
 MethodShowConfiguration2Shows the named configuration by switching to that configuration and making it the active configuration.  
 MethodShowCosmeticThreadShows the selected cosmetic thread.  
 MethodShowFeatureDimensionsObsolete. Superseded by IModelDoc2::GetUserPreferenceToggle and IModelDoc2::SetUserPreferenceToggle and swDisplayFeatureDimensions.  
 MethodShowNamedViewObsolete. Superseded by IModelDoc2::ShowNameView2.  
 MethodShowNamedView2Shows the specified view.  
 MethodShowSolidBodyShows the selected solid body.  
 MethodSimpleHoleObsolete. Superseded by IFeatureManager::SimpleHole.  
 MethodSimpleHole2Obsolete. Superseded by IFeatureManager::SimpleHole.  
 MethodSimpleHole3Obsolete. Superseded by IFeatureManager::SimpleHole.  
 MethodSimplifySplineObsolete. Superseded by ISketchSpline::Simplify.  
 MethodSketch3DIntersectionsCreates new sketch segments based on the selected surfaces.  
 MethodSketchAddConstraintsAdds the specified constraint to the selected entities.  
 MethodSketchAlignAligns the selected sketch entities.  
 MethodSketchArcCreates an arc in the current model document.  
 MethodSketchCenterlineAdds a centerline to the current model document.  
 MethodSketchChamferObsolete. Superseded by ISketchManager::CreateChamfer.  
 MethodSketchCircleObsolete. Superseded by IModelDoc2::CreateCircle2.  
 MethodSketchConstrainCoincidentMakes the selected sketch entities coincident.  
 MethodSketchConstrainConcentricMakes the selected sketch entities concentric.  
 MethodSketchConstrainParallelMakes the selected sketch entities parallel.  
 MethodSketchConstrainPerpMakes the selected sketch entities perpendicular.  
 MethodSketchConstrainTangentMakes the selected entities tangent.  
 MethodSketchConstraintsDelDeletes the specified relationship (constraint) on the currently selected sketch item.  
 MethodSketchConstraintsDelAllDeletes all of the constraints on the currently selected sketch segment.  
 MethodSketchConvertIsoCurvesConverts ISO-parametric curves on a selected surface into a sketch entity.  
 MethodSketchFilletObsolete. Superseded by IModelDoc2::SketchFillet2.  
 MethodSketchFillet1Obsolete. Superseded by IModelDoc2::SketchFillet2.  
 MethodSketchFillet2Obsolete. Superseded by ISketchManager::CreateFillet.  
 MethodSketchMirrorCreates new entities that are mirror images of the selected entities.  
 MethodSketchModifyFlipFlips the the active or selected sketch about the specified coordinate system axis.  
 MethodSketchModifyRotateRotates the coordinate system of the active or selected sketch.  
 MethodSketchModifyScaleScales the active or selected sketch.  
 MethodSketchModifyTranslateTranslates the coordinate system of the active or selected sketch.  
 MethodSketchOffsetObsolete. Superseded by IModelDoc2::SketchOffset2.  
 MethodSketchOffset2Obsolete. Superseded by ISketchManager::SketchOffset.  
 MethodSketchOffsetEdgesOffsets the edges of the selected entities.  
 MethodSketchOffsetEntitiesObsolete. Superseded by IModelDoc2::SketchOffsetEntities2.  
 MethodSketchOffsetEntities2Generates entities in the active sketch by offsetting the selected geometry by the specified amount.  
 MethodSketchParabolaObsolete. Superseded by ISketchManager::CreateParabola.  
 MethodSketchPointObsolete. Superseded by IModelDoc2::CreatePoint2 and IModelDoc2::ICreatePoint2.  
 MethodSketchPolygonObsolete. Superseded by ISketchManager::CreatePolygon.  
 MethodSketchRectangleObsolete. Superseded by ISketchManager::CreateCornerRectangle.  
 MethodSketchRectangleAtAnyAngleObsolete. Superseded by ISketchManager::Create3PointCornerRectangle.  
 MethodSketchSplineStarts a spline, or continues one, using the specified point.  
 MethodSketchSplineByEqnParamsObsolete. Superseded by IModelDoc2::ISketchSplineByEqnParams2.  
 MethodSketchSplineByEqnParams2Obsolete. Superseded by ISketchManager::CreateSplineByEqnParams.  
 MethodSketchTangentArcCreates a tangent arc in the current model document.  
 MethodSketchTrimObsolete. Superseded by ISketchManager::SketchExtend and ISketchManager::SketchTrim.  
 MethodSketchUndoUndoes the last sketch command.  
 MethodSketchUseEdgeObsolete. Superseded by ISketchManager::SketchUseEdge.  
 MethodSketchUseEdge2Obsolete. Superseded by ISketchManager::SketchUseEdge.  
 MethodSketchUseEdgeCtrlineUses this centerline in sketch.  
 MethodSkToolsAutoConstrAutomatically constrains the active sketch.  
 MethodSplitClosedSegmentObsolete. Superseded by ISketchManager::SplitClosedSegment.  
 MethodSplitOpenSegmentObsolete. Superseded by ISketchManager::SplitOpenSegment.  
 MethodToolbarsTurns the specified SOLIDWORKS toolbars on and off.  
 MethodToolsDistanceComputes distance.  
 MethodToolsGridShows and hides the grid in this model document.  
 MethodToolsMacroNot implemented.  
 MethodToolsMassPropsCalculates the mass properties.  
 MethodToolsSketchScaleScales a sketch.  
 MethodToolsSketchTranslateTranslates a sketch.  
 MethodUnBlankRefGeomShows the selected, hidden reference geometry in the graphics window.  
 MethodUnblankSketchShows a hidden sketch.  
 MethodUnderiveSketchChanges a sketch to underived.  
 MethodUnLockReverses IModelDoc2::Lock and changes the status bar message to Process Complete.  
 MethodUnlockAllExternalReferencesUnlocks all external references.  
 MethodUnlockFramePointObsolete. Not superseded.  
 MethodUserFavorsSpecifies whether geometric relations are automatically created as you add sketch entities.  
 MethodUserPreferencesObsolete. The See Also section of this topic contains links to the methods that supersede this method.  
 MethodVersionHistoryGets an array of strings indicating the versions in which this document was saved, including the SOLIDWORKS version in which the model document is currently opened and which is the last value returned in the array.  
 MethodViewConstraintShows the constraints for the current model document.  
 MethodViewDispCoordinateSystemsToggles the display of coordinate systems on and off.  
 MethodViewDisplayCurvatureToggles the display of surface curvature on and off.  
 MethodViewDisplayFacetedSets the current display mode to show the facets that make up a shaded picture of STL output.  
 MethodViewDisplayHiddengreyedSets the current display mode to Hidden Lines Visible.  
 MethodViewDisplayHiddenremovedSets the current display mode to Hidden Lines Removed.  
 MethodViewDisplayShadedSets the current display mode to Shaded.  
 MethodViewDisplayWireframeSets the current display mode to Wireframe.  
 MethodViewDispOriginsToggles the display of origins off and on.  
 MethodViewDispRefaxesToggles the display of reference axis on and off.  
 MethodViewDispRefplanesToggles the display of reference planes on and off.  
 MethodViewDispRefPointsShows and hides the reference points for the current model document.  
 MethodViewDispTempRefaxesToggles the display of temporary reference axes on and off.  
 MethodViewOglShadingSets the current display subsystem to use OpenGL.  
 MethodViewOrientationUndoUndoes previous view orientation changes that were made interactively by the user.  
 MethodViewRotateRotates the view of the current model.  
 MethodViewRotateminusxDynamically rotates the view around x in a negative direction with the current increment.  
 MethodViewRotateminusyDynamically rotates the view around y in a negative direction with the current increment.  
 MethodViewRotateminuszDynamically rotates the view around z in a negative direction with the current increment.  
 MethodViewRotateplusxRotates the view around x in a positive direction with the current increment.  
 MethodViewRotateplusyRotates the view around y in a positive direction with the current increment.  
 MethodViewRotatepluszRotates the view around z in a positive direction with the current increment.  
 MethodViewRotXMinusNinetyDynamically rotates the view by negative 90 about x.  
 MethodViewRotXPlusNinetyDynamically rotates the view by 90 about x.  
 MethodViewRotYMinusNinetyDynamically rotates the view by negative 90 about y.  
 MethodViewRotYPlusNinetyDynamically rotates the view by 90 about y.  
 MethodViewRwShadingSets the current display subsystem to use renderware.  
 MethodViewTranslateTranslates the view.  
 MethodViewTranslateminusxDynamically shifts the view left.  
 MethodViewTranslateminusyDynamically shifts the view down.  
 MethodViewTranslateplusxDynamically shifts the view right.  
 MethodViewTranslateplusyDynamically shifts the view up.  
 MethodViewZoominZooms the current view in by a factor of 20%.  
 MethodViewZoomoutZooms the current view out by a factor of 20%.  
 MethodViewZoomtoZooms the view to the selected box.  
 MethodViewZoomTo2Zooms to the specified region.  
 MethodViewZoomtofitObsolete. Superseded by IModelDoc2::ViewZoomtofit2.  
 MethodViewZoomtofit2Zooms the currently active view to fit the screen.  
 MethodViewZoomToSelectionZooms the display to the selection.  
 MethodWindowRedrawRedraws the current window.  
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 Methods
*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.