Welcome
Expand Getting StartedGetting Started
Collapse SOLIDWORKS API HelpSOLIDWORKS API Help
Functional Categories
Release Notes
Collapse SolidWorks.Interop.sldworks NamespaceSolidWorks.Interop.sldworks Namespace
Overview
Collapse InterfacesInterfaces
Expand IAdvancedSelectionCriteriaIAdvancedSelectionCriteria
Expand IAnnotationIAnnotation
Expand IAnnotationViewIAnnotationView
Expand IAppearanceSettingIAppearanceSetting
Expand IAssemblyDocIAssemblyDoc
Expand IAttributeIAttribute
Expand IAttributeDefIAttributeDef
Expand IAutoBalloonOptionsIAutoBalloonOptions
Expand IBalloonOptionsIBalloonOptions
Expand IBalloonStackIBalloonStack
Expand IBaseFlangeFeatureDataIBaseFlangeFeatureData
Expand IBendsFeatureDataIBendsFeatureData
Expand IBendTableIBendTable
Expand IBendTableAnnotationIBendTableAnnotation
Expand IBody2IBody2
Expand IBodyFolderIBodyFolder
Expand IBomFeatureIBomFeature
Expand IBomTableIBomTable
Expand IBomTableAnnotationIBomTableAnnotation
Expand IBomTableSortDataIBomTableSortData
Expand IBreakCornerFeatureDataIBreakCornerFeatureData
Expand IBreakLineIBreakLine
Expand IBrokenOutSectionFeatureDataIBrokenOutSectionFeatureData
Expand IBSurfParamDataIBSurfParamData
Expand ICalloutICallout
Expand ICameraICamera
Expand ICavityFeatureDataICavityFeatureData
Expand ICenterLineICenterLine
Expand ICenterMarkICenterMark
Expand ICenterOfMassICenterOfMass
Expand IChamferFeatureData2IChamferFeatureData2
Expand ICircularPatternFeatureDataICircularPatternFeatureData
Expand IClosedCornerFeatureDataIClosedCornerFeatureData
Expand ICoEdgeICoEdge
Expand IColorTableIColorTable
Expand ICombineBodiesFeatureDataICombineBodiesFeatureData
Expand ICommandGroupICommandGroup
Expand ICommandManagerICommandManager
Expand ICommandTabICommandTab
Expand ICommandTabBoxICommandTabBox
Expand ICommentIComment
Expand ICommentFolderICommentFolder
Expand IComponent2IComponent2
Expand ICompositeCurveFeatureDataICompositeCurveFeatureData
Expand IConfigurationIConfiguration
Expand IConfigurationManagerIConfigurationManager
Expand IConnectionPointFeatureDataIConnectionPointFeatureData
Expand ICoordinateSystemFeatureDataICoordinateSystemFeatureData
Expand ICoreFeatureDataICoreFeatureData
Expand ICosmeticThreadFeatureDataICosmeticThreadFeatureData
Expand ICosmeticWeldBeadFeatureDataICosmeticWeldBeadFeatureData
Expand ICosmeticWeldBeadFolderICosmeticWeldBeadFolder
Expand ICThreadICThread
Expand ICurveICurve
Expand ICurveDrivenPatternFeatureDataICurveDrivenPatternFeatureData
Expand ICurveParamDataICurveParamData
Expand ICustomBendAllowanceICustomBendAllowance
Expand ICustomPropertyManagerICustomPropertyManager
Expand IDatumOriginIDatumOrigin
Expand IDatumTagIDatumTag
Expand IDatumTargetSymIDatumTargetSym
Expand IDecalIDecal
Expand IDeleteBodyFeatureDataIDeleteBodyFeatureData
Expand IDeleteFaceFeatureDataIDeleteFaceFeatureData
Expand IDerivedPartFeatureDataIDerivedPartFeatureData
Expand IDerivedPatternFeatureDataIDerivedPatternFeatureData
Expand IDesignTableIDesignTable
Expand IDetailCircleIDetailCircle
Expand IDiagnoseResultIDiagnoseResult
Expand IDimensionIDimension
Expand IDimensionSensorDataIDimensionSensorData
Expand IDimensionToleranceIDimensionTolerance
Expand IDimXpertManagerIDimXpertManager
Expand IDisplayDataIDisplayData
Expand IDisplayDimensionIDisplayDimension
Expand IDisplayStateSettingIDisplayStateSetting
Expand IDocumentSpecificationIDocumentSpecification
Expand IDomeFeatureData2IDomeFeatureData2
Expand IDowelSymbolIDowelSymbol
Expand IDraftFeatureData2IDraftFeatureData2
Expand IDragArrowManipulatorIDragArrowManipulator
Expand IDragOperatorIDragOperator
Expand IDrawingComponentIDrawingComponent
Expand IDrawingDocIDrawingDoc
Expand IDrSectionIDrSection
Expand IEdgeIEdge
Expand IEdgeFlangeFeatureDataIEdgeFlangeFeatureData
Expand IEdgePointIEdgePoint
Expand IEndCapFeatureDataIEndCapFeatureData
Expand IEntityIEntity
Expand IEnumBodies2IEnumBodies2
Expand IEnumCoEdgesIEnumCoEdges
Expand IEnumComponents2IEnumComponents2
Expand IEnumDisplayDimensionsIEnumDisplayDimensions
Expand IEnumDocuments2IEnumDocuments2
Expand IEnumDrSectionsIEnumDrSections
Expand IEnumEdgesIEnumEdges
Expand IEnumFaces2IEnumFaces2
Expand IEnumLoops2IEnumLoops2
Expand IEnumModelViewsIEnumModelViews
Expand IEnumSketchHatchesIEnumSketchHatches
Expand IEnumSketchPointsIEnumSketchPoints
Expand IEnumSketchSegmentsIEnumSketchSegments
Expand IEnvironmentIEnvironment
Expand IEquationMgrIEquationMgr
Expand IExplodeStepIExplodeStep
Expand IExportPdfDataIExportPdfData
Expand IExtrudeFeatureData2IExtrudeFeatureData2
Expand IFace2IFace2
Expand IFaceDecalPropertiesIFaceDecalProperties
Expand IFaceHatchIFaceHatch
Expand IFaultEntityIFaultEntity
Expand IFeatMgrViewIFeatMgrView
Expand IFeatureIFeature
Expand IFeatureFolderIFeatureFolder
Expand IFeatureManagerIFeatureManager
Expand IFeatureStatisticsIFeatureStatistics
Expand IFillPatternFeatureDataIFillPatternFeatureData
Expand IFillSurfaceFeatureDataIFillSurfaceFeatureData
Expand IFlatPatternFeatureDataIFlatPatternFeatureData
Expand IFlatPatternFolderIFlatPatternFolder
Expand IFlyoutGroupIFlyoutGroup
Expand IFoldsFeatureDataIFoldsFeatureData
Expand IFrameIFrame
Expand IFreePointCurveFeatureDataIFreePointCurveFeatureData
Expand IGeneralTableAnnotationIGeneralTableAnnotation
Expand IGeneralTableFeatureIGeneralTableFeature
Expand IGtolIGtol
Expand IGussetFeatureDataIGussetFeatureData
Expand IHealEdgesFeatureDataIHealEdgesFeatureData
Expand IHelixFeatureDataIHelixFeatureData
Expand IHemFeatureDataIHemFeatureData
Expand IHoleSeriesFeatureData2IHoleSeriesFeatureData2
Expand IHoleTableIHoleTable
Expand IHoleTableAnnotationIHoleTableAnnotation
Expand IImportDxfDwgDataIImportDxfDwgData
Expand IImportedCurveFeatureDataIImportedCurveFeatureData
Expand IImportIgesDataIImportIgesData
Expand IImportStepDataIImportStepData
Expand IInterferenceIInterference
Expand IInterferenceDetectionMgrIInterferenceDetectionMgr
Expand IJogFeatureDataIJogFeatureData
Expand IJoinFeatureDataIJoinFeatureData
Expand ILayerILayer
Expand ILayerMgrILayerMgr
Expand ILibraryFeatureDataILibraryFeatureData
Expand ILightILight
Expand ILightDialogILightDialog
Expand ILinearPatternFeatureDataILinearPatternFeatureData
Expand ILocalCircularPatternFeatureDataILocalCircularPatternFeatureData
Expand ILocalLinearPatternFeatureDataILocalLinearPatternFeatureData
Expand ILoftedBendsFeatureDataILoftedBendsFeatureData
Expand ILoftFeatureDataILoftFeatureData
Expand ILoop2ILoop2
Expand IMacroFeatureDataIMacroFeatureData
Expand IMagneticLineIMagneticLine
Expand IManipulatorIManipulator
Expand IMassPropertyIMassProperty
Expand IMate2IMate2
Expand IMateEntity2IMateEntity2
Expand IMateInPlaceIMateInPlace
Expand IMateLoadReferenceIMateLoadReference
Expand IMateReferenceIMateReference
Expand IMaterialVisualPropertiesDataIMaterialVisualPropertiesData
Expand IMathPointIMathPoint
Expand IMathTransformIMathTransform
Expand IMathUtilityIMathUtility
Expand IMathVectorIMathVector
Expand IMeasureIMeasure
Expand IMidSurface3IMidSurface3
Expand IMirrorPartFeatureDataIMirrorPartFeatureData
Expand IMirrorPatternFeatureDataIMirrorPatternFeatureData
Expand IMirrorSolidFeatureDataIMirrorSolidFeatureData
Expand IMiterFlangeFeatureDataIMiterFlangeFeatureData
Expand IModelDoc2IModelDoc2
Collapse IModelDocExtensionIModelDocExtension
Members
Expand IModelerIModeler
Expand IModelViewIModelView
Expand IModelViewManagerIModelViewManager
Expand IModelWindowIModelWindow
Expand IMotionPlotAxisFeatureDataIMotionPlotAxisFeatureData
Expand IMotionPlotFeatureDataIMotionPlotFeatureData
Expand IMouseIMouse
Expand IMoveCopyBodyFeatureDataIMoveCopyBodyFeatureData
Expand IMoveFaceFeatureDataIMoveFaceFeatureData
Expand IMultiJogLeaderIMultiJogLeader
Expand INoteINote
Expand IOneBendFeatureDataIOneBendFeatureData
Expand IPackAndGoIPackAndGo
Expand IPageSetupIPageSetup
Expand IParameterIParameter
Expand IPartDocIPartDoc
Expand IPartingLineFeatureDataIPartingLineFeatureData
Expand IPartingSurfaceFeatureDataIPartingSurfaceFeatureData
Expand IPlaneManipulatorIPlaneManipulator
Expand IPrint3DDialogIPrint3DDialog
Expand IProjectionArrowIProjectionArrow
Expand IProjectionCurveFeatureDataIProjectionCurveFeatureData
Expand IPropertyManagerPage2IPropertyManagerPage2
Expand IPropertyManagerPageActiveXIPropertyManagerPageActiveX
Expand IPropertyManagerPageBitmapIPropertyManagerPageBitmap
Expand IPropertyManagerPageBitmapButtonIPropertyManagerPageBitmapButton
Expand IPropertyManagerPageButtonIPropertyManagerPageButton
Expand IPropertyManagerPageCheckboxIPropertyManagerPageCheckbox
Expand IPropertyManagerPageComboboxIPropertyManagerPageCombobox
Expand IPropertyManagerPageControlIPropertyManagerPageControl
Expand IPropertyManagerPageGroupIPropertyManagerPageGroup
Expand IPropertyManagerPageLabelIPropertyManagerPageLabel
Expand IPropertyManagerPageListboxIPropertyManagerPageListbox
Expand IPropertyManagerPageNumberboxIPropertyManagerPageNumberbox
Expand IPropertyManagerPageOptionIPropertyManagerPageOption
Expand IPropertyManagerPageSelectionboxIPropertyManagerPageSelectionbox
Expand IPropertyManagerPageSliderIPropertyManagerPageSlider
Expand IPropertyManagerPageTabIPropertyManagerPageTab
Expand IPropertyManagerPageTextboxIPropertyManagerPageTextbox
Expand IPropertyManagerPageWindowFromHandleIPropertyManagerPageWindowFromHandle
Expand IPunchTableIPunchTable
Expand IPunchTableAnnotationIPunchTableAnnotation
Expand IRayTraceRendererIRayTraceRenderer
Expand IRayTraceRendererOptionsIRayTraceRendererOptions
Expand IRefAxisIRefAxis
Expand IRefAxisFeatureDataIRefAxisFeatureData
Expand IReferenceCurveIReferenceCurve
Expand IReferencePointCurveFeatureDataIReferencePointCurveFeatureData
Expand IRefPlaneIRefPlane
Expand IRefPlaneFeatureDataIRefPlaneFeatureData
Expand IRefPointIRefPoint
Expand IRefPointFeatureDataIRefPointFeatureData
Expand IRenderMaterialIRenderMaterial
Expand IReplaceFaceFeatureDataIReplaceFaceFeatureData
Expand IRevisionCloudIRevisionCloud
Expand IRevisionTableAnnotationIRevisionTableAnnotation
Expand IRevisionTableFeatureIRevisionTableFeature
Expand IRevolveFeatureData2IRevolveFeatureData2
Expand IRibFeatureData2IRibFeatureData2
Expand IRipFeatureDataIRipFeatureData
Expand IRoutingSettingsIRoutingSettings
Expand IRuledSurfaceFeatureDataIRuledSurfaceFeatureData
Expand ISaveBodyFeatureDataISaveBodyFeatureData
Expand IScaleFeatureDataIScaleFeatureData
Expand ISectionViewDataISectionViewData
Expand ISelectDataISelectData
Expand ISelectionMgrISelectionMgr
Expand ISensorISensor
Expand ISFSymbolISFSymbol
Expand ISheetISheet
Expand ISheetMetalFeatureDataISheetMetalFeatureData
Expand ISheetMetalFolderISheetMetalFolder
Expand IShellFeatureDataIShellFeatureData
Expand IShutOffSurfaceFeatureDataIShutOffSurfaceFeatureData
Expand ISilhouetteEdgeISilhouetteEdge
Expand ISimpleFilletFeatureData2ISimpleFilletFeatureData2
Expand ISimpleHoleFeatureData2ISimpleHoleFeatureData2
Expand ISimulation3DContactFeatureDataISimulation3DContactFeatureData
Expand ISimulationDamperFeatureDataISimulationDamperFeatureData
Expand ISimulationForceFeatureDataISimulationForceFeatureData
Expand ISimulationGravityFeatureDataISimulationGravityFeatureData
Expand ISimulationMotorFeatureDataISimulationMotorFeatureData
Expand ISimulationSpringFeatureDataISimulationSpringFeatureData
Expand ISketchISketch
Expand ISketchArcISketchArc
Expand ISketchBlockDefinitionISketchBlockDefinition
Expand ISketchBlockInstanceISketchBlockInstance
Expand ISketchContourISketchContour
Expand ISketchedBendFeatureDataISketchedBendFeatureData
Expand ISketchEllipseISketchEllipse
Expand ISketchHatchISketchHatch
Expand ISketchLineISketchLine
Expand ISketchManagerISketchManager
Expand ISketchParabolaISketchParabola
Expand ISketchPathISketchPath
Expand ISketchPatternFeatureDataISketchPatternFeatureData
Expand ISketchPictureISketchPicture
Expand ISketchPointISketchPoint
Expand ISketchRegionISketchRegion
Expand ISketchRelationISketchRelation
Expand ISketchRelationManagerISketchRelationManager
Expand ISketchSegmentISketchSegment
Expand ISketchSlotISketchSlot
Expand ISketchSplineISketchSpline
Expand ISketchTextISketchText
Expand ISldWorksISldWorks
Expand ISmartComponentFeatureDataISmartComponentFeatureData
Expand ISMGussetFeatureDataISMGussetFeatureData
Expand ISnapShotISnapShot
Expand ISplineHandleISplineHandle
Expand ISplineParamDataISplineParamData
Expand ISplitBodyFeatureDataISplitBodyFeatureData
Expand ISplitLineFeatureDataISplitLineFeatureData
Expand ISpringISpring
Expand IStackedBalloonOptionsIStackedBalloonOptions
Expand IStatusBarPaneIStatusBarPane
Expand IStructuralMemberFeatureDataIStructuralMemberFeatureData
Expand IStructuralMemberGroupIStructuralMemberGroup
Expand ISurfaceISurface
Expand ISurfaceCutFeatureDataISurfaceCutFeatureData
Expand ISurfaceExtendFeatureDataISurfaceExtendFeatureData
Expand ISurfaceKnitFeatureDataISurfaceKnitFeatureData
Expand ISurfaceOffsetFeatureDataISurfaceOffsetFeatureData
Expand ISurfaceParameterizationDataISurfaceParameterizationData
Expand ISurfacePlanarFeatureDataISurfacePlanarFeatureData
Expand ISurfaceRadiateFeatureDataISurfaceRadiateFeatureData
Expand ISurfaceTrimFeatureDataISurfaceTrimFeatureData
Expand ISurfExtrudeFeatureDataISurfExtrudeFeatureData
Expand ISurfRevolveFeatureDataISurfRevolveFeatureData
Expand ISweepFeatureDataISweepFeatureData
Expand ISwOLEObjectISwOLEObject
Expand ISWPropertySheetISWPropertySheet
Expand ITableAnchorITableAnchor
Expand ITableAnnotationITableAnnotation
Expand ITablePatternFeatureDataITablePatternFeatureData
Expand ITaskpaneViewITaskpaneView
Expand ITessellationITessellation
Expand ITextFormatITextFormat
Expand ITextureITexture
Expand IThickenFeatureDataIThickenFeatureData
Expand ITitleBlockITitleBlock
Expand ITitleBlockTableAnnotationITitleBlockTableAnnotation
Expand ITitleBlockTableFeatureITitleBlockTableFeature
Expand IToolingSplitFeatureDataIToolingSplitFeatureData
Expand ITreeControlItemITreeControlItem
Expand ITriadManipulatorITriadManipulator
Expand IUserProgressBarIUserProgressBar
Expand IUserUnitIUserUnit
Expand IVariableFilletFeatureData2IVariableFilletFeatureData2
Expand IVertexIVertex
Expand IViewIView
Expand IWeldBeadIWeldBead
Expand IWeldmentBeadFeatureDataIWeldmentBeadFeatureData
Expand IWeldmentCutListAnnotationIWeldmentCutListAnnotation
Expand IWeldmentCutListFeatureIWeldmentCutListFeature
Expand IWeldmentTrimExtendFeatureDataIWeldmentTrimExtendFeatureData
Expand IWeldSymbolIWeldSymbol
Expand IWizardHoleFeatureData2IWizardHoleFeatureData2
Expand IWrapSketchFeatureDataIWrapSketchFeatureData
Expand SolidWorks.Interop.swmotionstudy NamespaceSolidWorks.Interop.swmotionstudy Namespace
Expand SolidWorks.Interop.swdimxpert NamespaceSolidWorks.Interop.swdimxpert Namespace
Expand SolidWorks.Interop.swpublished NamespaceSolidWorks.Interop.swpublished Namespace
Expand SolidWorks.Interop.sw3dprinter NamespaceSolidWorks.Interop.sw3dprinter Namespace
Expand SolidWorks.Interop.dsgnchk NamespaceSolidWorks.Interop.dsgnchk Namespace
Expand SolidWorks.Interop.swhtmlcontrol NamespaceSolidWorks.Interop.swhtmlcontrol Namespace
Expand SolidWorks.Interop.swconst NamespaceSolidWorks.Interop.swconst Namespace
Expand SolidWorks.Interop.swcommands NamespaceSolidWorks.Interop.swcommands Namespace
Expand SOLIDWORKS Enterprise PDM API HelpSOLIDWORKS Enterprise PDM API Help
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SOLIDWORKS Costing API HelpSOLIDWORKS Costing API Help
Expand SOLIDWORKS Document Manager API HelpSOLIDWORKS Document Manager API Help
Expand SOLIDWORKS Routing API HelpSOLIDWORKS Routing API Help
Expand SOLIDWORKS Simulation API HelpSOLIDWORKS Simulation API Help
Expand SOLIDWORKS Sustainability API HelpSOLIDWORKS Sustainability API Help
Expand SOLIDWORKS Toolbox API HelpSOLIDWORKS Toolbox API Help
Expand SOLIDWORKS Utilities API HelpSOLIDWORKS Utilities API Help
Expand SOLIDWORKS Workgroup PDM API HelpSOLIDWORKS Workgroup PDM API Help
Expand eDrawings API HelpeDrawings API Help
Hide Table of Contents
IModelDocExtension Interface Members

The following tables list the members exposed by IModelDocExtension.

Public Properties

 NameDescription
 PropertyActiveCommandTabGets and sets the active SolidWorks CommandManager tab.  
 PropertyActiveCommandTabIndexGets and sets the index of the active SolidWorks CommandManager tab.  
 PropertyAnnotationViewCountGets the number of annotation views in this part or assembly document.  
 PropertyAnnotationViewsGets the annotation views in this part or assembly document.  
 PropertyAppPageSetupGets the SolidWorks application page setup interface for this document.  
 PropertyCommandTabVisibleGets and sets the visibility of the specified SolidWorks CommandManager tab.  
 PropertyCustomPropertyManagerGets the custom properties for this document or configuration.  
 PropertyDimXpertManagerGets the DimXpert schema for this configuration.  
 PropertyDisplayModeGets and sets the display modes for the specified display state setting.  
 PropertyDisplayStateSpecMaterialPropertyValuesGets and sets the appearance settings for the specified display state setting.  
 PropertyDocumentGets the model document.  
 PropertyFeatureManagerFilterStringGets or sets the string in the FeatureManager design tree filter.  
 PropertyFlyoutFeatureTreeVisibilityGets or sets the state of the flyout FeatureManager design tree.  
 PropertyIncludeMassPropertiesOfHiddenBodiesGets or sets whether to include the mass properties of hidden components in the assembly.  
 PropertyLinkedDisplayStateGets or sets whether a display state is linked in this part.  
 PropertyNeedsRebuildObsolete. Superseded by IModelDocExtension::NeedsRebuild2.  
 PropertyNeedsRebuild2Gets whether the model document needs to be rebuilt.  
 PropertyToolboxPartTypeGets and sets whether this part is a SolidWorks Toolbox part.  
 PropertyTransparencyGets and sets the transparency states for the specified display state setting.  
 PropertyUsePageSetupGets or sets whether this document uses its own page setup values, SolidWorks application page setup values, or setup values on individual drawing sheets.  
 PropertyViewDisplayRealViewGets or sets the RealView Graphics setting.  
 PropertyVisibilityGets and sets the visibility states for the specified display state setting.  
Top

Public Methods

 NameDescription
 MethodAddAngularRunningDimAdds the specified angular running dimension for selected entities.  
 MethodAddCommentAdds a comment to this document's Comment Folder.  
 MethodAddDecalAdds a decal to the model.  
 MethodAddDefaultRenderMaterialNot supported in SolidWorks 2011 and later and not superseded.  
 MethodAddDisplayStateSpecificRenderMaterialAdds the specified material to the specified display states in the active configuration and returns the IDs assigned to that material.  
 MethodAddOrdinateDimensionInserts an ordinate dimension.  
 MethodAddOrUpdateSearchDataAdds or updates the SolidWorks Search, third-party, application keyword and value to the model document.  
 MethodAddPathLengthDimInserts a path length dimension at the specified coordinates for a selected path.  
 MethodAddRenderMaterialNot supported in SolidWorks 2011 and later. Superseded by IModelDocExtension::AddDisplayStateSpecificRenderMaterial and IModelDocExtension::IAddDisplayStateSpecificRenderMaterial.  
 MethodAlignDimensionsAligns the selected dimensions in drawing documents.  
 MethodAlignRunningDimensionAligns the extension lines of all angular dimensions to be the same distance from the center as the baseline dimension (0⁰) in the set of angular running dimensions.  
 MethodApplyFormatPainterToAllApplies Format Painter to all dimensions and annotations in the active document.  
 MethodApplyTextureObsolete. Superseded by IModelDocExtension::SetTexture.  
 MethodBreakAllExternalFileReferences2Breaks all external references and allows you to insert the features of the original part, or parts, if the external references are broken.  
 MethodChangeSketchPlaneChanges the plane used by a sketch by moving the selected sketch to the selected plane in the specified configurations.  
 MethodCopyDraftingStandardCopy the current custom drafting standard.  
 MethodCreate3DBoundingBoxCreates a 3D bounding box for a cut list item in a weldment part.  
 MethodCreateBalloonOptionsCreates an object that stores BOM balloon options.  
 MethodCreateCalloutCreates a callout independent of a selection.  
 MethodCreateDecalCreates a decal for this model.  
 MethodCreateMassPropertyCreates a IMassProperty object.  
 MethodCreateMeasureCreates a measure tool.  
 MethodCreateOLEObjectCreates an OLE object on the active document.  
 MethodCreateRenderMaterialCreates an appearance for this model.  
 MethodCreateStackedBalloonOptionsCreates an object that stores options for stacked balloons.  
 MethodCreateTextureCreates a texture.  
 MethodDeleteAllDecalsDeletes all decals on this model.  
 MethodDeleteAttachmentDeletes the specified file in the Attachments folder in the FeatureManager design tree.  
 MethodDeleteDecalRemoves the specified decal from this model.  
 MethodDeleteDisplayStateSpecificRenderMaterialDeletes the specified materials, using the IDs of the materials, from the active configuration.  
 MethodDeleteDraftingStandardDelete the current custom drafting standard.  
 MethodDeleteFeatureMgrViewx64Removes the specified tab in the FeatureManager design tree in 64-bit applications.  
 MethodDeleteRenderMaterialNot supported in SolidWorks 2011 and later. Superseded by IModelDocExtension::DeleteDisplayStateSpecificRenderMaterial and IModelDocExtension::IDeleteDisplayStateSpecificRenderMaterial.  
 MethodDeleteSceneDeletes the scene applied to this model.  
 MethodDeleteSearchDataDeletes the specified SolidWorks Search third-party keywords from the model document.  
 MethodDeleteSelection2Deletes the selected items, with the option to delete absorbed features, child features, or both.  
 MethodEditBalloonPropertiesObsolete. Superseded by IModelDocExtension::EditBalloonProperties2.  
 MethodEditBalloonProperties2Edits the selected balloon's properties.  
 MethodEditDimensionPropertiesEdits the currently selected dimension's properties.  
 MethodFindTrackedObjectsFinds the tracking IDs assigned to entities in this document.  
 MethodFinishRecordingUndoObjectObsolete. Superseded by IModelDocExtension::FinishRecordingUndoObject2.  
 MethodFinishRecordingUndoObject2Ends recording of a SolidWorks Undo object with the specified name and visibility.  
 MethodGetActivePropertyManagerPageGets the name of the active PropertyManager page.  
 MethodGetAdvancedSpotLightPropertiesGets the attenuation-related, advanced properties for the specified SolidWorks spot light in this model.  
 MethodGetAnnotationCountGets the number of annotations on this model.  
 MethodGetAnnotationsGets the annotations on this model.  
 MethodGetAppearanceSettingGets the appearance setting for this document.  
 MethodGetAttachmentCountGets the number of attachments for this document.  
 MethodGetAttachmentsGets the attachments for this document.  
 MethodGetCameraByIdGets a camera using the specified camera ID.  
 MethodGetCameraCountGets the number of cameras in the document.  
 MethodGetCameraDefinitionGets a camera, but does not add the newly created camera to the model.  
 MethodGetCommandTabsGets all of the SolidWorks CommandManager tab names in this document.  
 MethodGetCoordinateSystemTransformByNameGets the transform of the specified coordinate system.  
 MethodGetCorrespondingGets the object that corresponds to the Dispatch object in the context of the part, assembly, or subassembly document.  
 MethodGetCorrespondingEntityGets the entity that corresponds with the Dispatch pointer in the context of a part, assembly, or subassembly.  
 MethodGetCostingManagerGets the entry-point interface to the SolidWorks Costing API and gets the CostingManager.  
 MethodGetDecalGets the specified decal in this model.  
 MethodGetDecalsGets the decals applied to the model.  
 MethodGetDecalsCountGets the number of decals applied to this model.  
 MethodGetDisplayStateSettingGets the display state setting for the specified scope.  
 MethodGetDraftingStandardNamesGet the names of all currently available drafting standards.  
 MethodGetFlattenSheetMetalPersistReferenceGets a byte array of persistent reference IDs for the specified entity (a face, edge, or vertex) in a flattened sheet metal part.  
 MethodGetKeepLightInRenderSceneGets whether a light is kept when the scene changes.  
 MethodGetLastFeatureAddedGets the last feature added to the model.  
 MethodGetLicenseTypeGets the type of SolidWorks license used when the model was created.  
 MethodGetLightEnabledInRenderGets whether a light is on in this model.  
 MethodGetMassPropertiesGets the actual mass properties of the model at the specified accuracy, that is, of all of the existing bodies regardless of whether they are hidden or shown.  
 MethodGetMaterialGets the appearance for the specified appearance ID in the specified configuration in this model document  
 MethodGetMaterialPropertyValuesGets the material properties for this model document.  
 MethodGetModelViewCountGets the number of model views in this document.  
 MethodGetModelViewsGets the model views in this document.  
 MethodGetMotionStudyManagerGets the SolidWorks motion study's MotionManager.  
 MethodGetNamedViewRotationGets the specified named view orientation matrix with respect to the Front view.  
 MethodGetObjectByPersistReferenceObsolete. Superseded by IModelDocExtension::GetObjectByPersistReference3.  
 MethodGetObjectByPersistReference2Obsolete. Superseded by IModelDocExtension::GetObjectByPersistReference3.  
 MethodGetObjectByPersistReference3Gets the object assigned to the specified persistent reference ID.  
 MethodGetObjectIdGets the object ID for the specified annotation.  
 MethodGetOLEObjectCountGets the number of OLE objects.  
 MethodGetOLEObjectsGet the OLE objects.  
 MethodGetPackAndGoGets a Pack and Go object.  
 MethodGetPersistReferenceObsolete. Superseded IModelDocExtension::GetPersistReference3.  
 MethodGetPersistReference3Gets the persistent reference ID for the specified object in this model document.  
 MethodGetPersistReferenceCountObsolete. Superseded by IModelDocExtension::GetPersistReferenceCount3.  
 MethodGetPersistReferenceCount3Gets the size of the persistent reference ID assigned to the selected object in this model document.  
 MethodGetPrint3DDialogGets the IPrint3DDialog object.  
 MethodGetRenderCustomReferencesGet the custom render references for this model.  
 MethodGetRenderMaterialsGets the appearances applied to this model document.  
 MethodGetRenderMaterialsCountGets the number of appearances applied to this model document.  
 MethodGetRenderStockReferencesGets the SolidWorks-supplied (stock) render references for this model.  
 MethodGetRoutingComponentManagerGets the routing component manager.  
 MethodGetSceneBkgDIBx64Gets the background image as DIBSECTION in 64-bit applications.  
 MethodGetSearchDataGets the SolidWorks Search, third-party, application keywords from the model document.  
 MethodGetSearchDataCountGets the number of SolidWorks Search keywords for the specified third-party application previously added to this model document.  
 MethodGetSectionPropertiesObsolete. Superseded by IModelDocExtension::GetSectionProperties2.  
 MethodGetSectionProperties2Gets the section properties for the following types of selected items:
  • Planar model face in any document

  • Face on a section plane

  • Crosshatch section face in a section view in a drawing a sketch

  • Sketch

 
 MethodGetSheetMetalObjectsByPersistReferenceGets the objects in a folded sheet metal part that correspond to the byte array of persistent reference IDs of an entity in a flattened sheet metal part.  
 MethodGetStreamGets the handle for the specified stream.  
 MethodGetSunLightSourcePropertyValuesGets the property values for a sunlight source.  
 MethodGetSustainabilityGets the entry-point interface to the SolidWorks Sustainability API.  
 MethodGetTemplateSheetMetalGets the sheet metal folder feature from this sheet metal model created in SolidWorks 2013 or later.  
 MethodGetTextureGets the texture applied to the specified configuration.  
 MethodGetUserPreferenceDoubleGets document default user preference values. This method is intended for user preferences of type double.  
 MethodGetUserPreferenceDoubleValueRangeGets the current document default user preference value, and the minimum and maximum valid document user preference values.  
 MethodGetUserPreferenceIntegerSets document default user preference values. This method is intended for user preferences of type integer.  
 MethodGetUserPreferenceStringGets document default user preference values. This method is intended for user preferences of type string.  
 MethodGetUserPreferenceTextFormatGets document default user preference values. This method is intended for getting detailing text formats.  
 MethodGetUserPreferenceToggleGets document default user preference values. This method is intended for user preferences that can be toggled.  
 MethodGetVisibleBoxGets the visible bounding box set by IModelDocExtension::SetVisibleBox for a part or an assembly.  
 MethodGetWhatsWrongGets the What's Wrong dialog information for this model document.  
 MethodGetWhatsWrongCountGets the number of items in the What's Wrong dialog.  
 MethodHasDesignTableGets whether a document has a design table.  
 MethodHideDecalHides or shows the specified decal applied to this model.  
 MethodHideFeatureManagerHides or shows the FeatureManager.  
 MethodIAddDisplayStateSpecificRenderMaterialAdds the specified material to the specified display states in the active configuration and returns the IDs assigned to that material.  
 MethodIChangeSketchPlaneChanges the plane used by a sketch by moving the selected sketch to the selected plane in the specified configurations.  
 MethodICreateOLEObjectCreates an OLE object on the active document.  
 MethodIDeleteDisplayStateSpecificRenderMaterialDeletes the specified materials, using the IDs of the materials, from the active configuration.  
 MethodIEditDimensionPropertiesEdits the currently selected dimension's properties.  
 MethodIGet3rdPartyStorageStore

Gets the third-party IStorage interface in this model document.

 
 MethodIGetAnnotationsGets the annotations on this model.  
 MethodIGetAnnotationViewsGets the annotation views in this part or assembly document.  
 MethodIGetAttachmentsGets the attachments for this document.  
 MethodIGetDecalsGets the decals applied to the model.  
 MethodIGetFlattenSheetMetalPersistReferenceGets a byte array of persistent reference IDs for the specified entity (a face, edge, or vertex) in a flattened sheet metal part.  
 MethodIGetMassPropertiesGets the actual mass property of the model at the specified accuracy; that is, of all of the existing bodies regardless of whether they are hidden or shown.  
 MethodIGetMaterialPropertyValuesGets the material properties for this model.  
 MethodIGetModelViewsGets the model views in this document.  
 MethodIGetNamedViewRotationGets the specified named view orientation matrix with respect to the Front view.  
 MethodIGetObjectByPersistReferenceObsolete. Superseded by IModelDocExtension::IGetObjectByPersistReference3.  
 MethodIGetObjectByPersistReference2Obsolete. Superseded by IModelDocExtension::IGetObjectByPersistReference3.  
 MethodIGetObjectByPersistReference3Gets the object assigned to the specified persistent reference ID.  
 MethodIGetOLEObjectsGet the OLE objects.  
 MethodIGetPersistReferenceObsolete. Superseded by IModelDocExtension::IGetPersistReference3.  
 MethodIGetPersistReference3Gets the persistent reference ID for the specified object in this model document.  
 MethodIGetRenderMaterialsGets the appearances applied to this model document.  
 MethodIGetSearchDataGets the SolidWorks Search, third-party, application keywords from the model document.  
 MethodIGetSectionPropertiesObsolete. Superseded by IModelDocExtension::IGetSectionProperties2.  
 MethodIGetSectionProperties2Gets the section properties for the following types of selected items:
  • Planar model face in any document

  • Face on a section plane

  • Crosshatch section face in a section view in a drawing a sketch

  • Sketch

 
 MethodIGetSheetMetalObjectsByPersistReferenceGets the object, or objects, in a folded sheet metal part that correspond to the byte array of persistent reference IDs of an entity in a flattened sheet metal part.  
 MethodIListExternalFileReferencesGets the names and statuses of the external file references on the part.  
 MethodIMultiSelectObsolete. Superseded by IModelDocExtension::MultiSelect2.  
 MethodInsertAnnotationFavoriteInserts annotations from the specified favorite file at the specified location.  
 MethodInsertAnnotationViewInserts an annotation view in this part or assembly document.  
 MethodInsertAttachmentInserts a file as an Attachment to this document.  
 MethodInsertBOMBalloonObsolete. Superseded by IModelDocExtension::InsertBomBalloon2.  
 MethodInsertBOMBalloon2Inserts a BOM balloon for the selected item.  
 MethodInsertBomTableObsolete. Superseded by IModelDocExtension::InsertBomTable2.  
 MethodInsertBomTable2Obsolete. Superseded by IModelDocExtension::InsertBomTable3.  
 MethodInsertBomTable3Inserts a bill of materials (BOM) table in a part or assembly document.  
 MethodInsertCameraInserts a camera in this document.  
 MethodInsertDatumTargetSymbol2Creates a datum target symbol.  
 MethodInsertDeleteFaceInserts a DeleteFace feature.  
 MethodInsertGeneralTableAnnotationInserts the specified table annotation at the specified coordinates in this model document.  
 MethodInsertObjectFromFileInserts an OLE object from a file.  
 MethodInsertSceneApplies the specified scene to the model.  
 MethodInsertStackedBalloonObsolete. Superseded by IModelDocExtension::InsertStackedBalloon2.  
 MethodInsertStackedBalloon2Inserts a stack of balloons for selected items.  
 MethodInsertSurfaceFinishSymbol3Creates a surface-finish symbol based on the last selection.  
 MethodInsertTitleBlockTableInserts a title block table in a part or assembly document.  
 MethodInstallModelColorizerInstalls your implemented interface of the ISwColorContour interface.  
 MethodIPrintOut2Obsolete. Superseded by IModelDocExtension::IPrintOut3.  
 MethodIPrintOut3Prints the document, without displaying any dialogs or message boxes.  
 MethodIRelease3rdPartyStorageStoreReleases the third-party IStorage interface from this model document.  
 MethodIRemoveMaterialPropertyRemoves material property values from this model.  
 MethodIsConvertedGets whether the active document was converted to the current release uponing opening but has not yet been saved.  
 MethodISetMaterialPropertyValuesSets the material property values for this model document.  
 MethodIsFutureVersionGets whether this document is for a future version of SolidWorks.  
 MethodIsSamePersistentIDGets whether the two specified objects have the same persistent reference IDs.  
 MethodIsVirtualComponentObsolete. Superseded by IModelDocExtension::IsVirtualComponent2.  
 MethodIsVirtualComponent2Obsolete. Superseded by IModelDocExtension::IsVirtualComponent3.  
 MethodIsVirtualComponent3Gets the paths to parent assembly components, up to and including the first non-virtual parent, if the model is a virtual component.  
 MethodJogDimensionGets or sets whether jog points are on or off on an interactively selected linear or ordinate dimension.  
 MethodListExternalFileReferencesGets the names and statuses of the external references on the part.  
 MethodListExternalFileReferencesCountGets the number of external references on the part.  
 MethodLoadDraftingStandardLoads a custom drafting standard from a file.  
 MethodMoveDecalMoves the decal up or down in the list of decals applied to the model.  
 MethodMoveOrCopyMoves and optionally copies the selected sketch entities or annotations.  
 MethodMultiSelectObsolete. Superseded by IModelDocExtension::MultiSelect2.  
 MethodMultiSelect2Selects multiple objects and returns the number of objects selected.  
 MethodPrintOutObsolete. Superseded by IModelDocExtension::PrintOut2.  
 MethodPrintOut2Obsolete. Superseded by IModelDocExtension::PrintOut3.  
 MethodPrintOut3Prints the document, without displaying any dialogs or message boxes.  
 MethodPurgeDisplayStatePurges identical display states so that only unique display states remain.  
 MethodRebuildRebuilds the model in assembly and drawing documents and returns the status of the rebuild.  
 MethodReJogRunningDimensionApplies jogs where extension lines overlap dimension text in an angular running dimension.  
 MethodReleaseStreamReleases a previously obtained stream.  
 MethodRemoveMaterialPropertyRemoves material property values from this model.  
 MethodRemoveModelColorizerRemoves your installed implemented interface of the ISwColorContour interface.  
 MethodRemoveTextureObsolete. Superseded by IModelDocExtension::RemoveTexture2.  
 MethodRemoveTexture2Removes the texture from the specified configuration.  
 MethodRemoveTextureByDisplayStateRemoves the texture applied to this model in the specified display state.  
 MethodRemoveVisibleBoxRemoves the visible bounding box set by IModelDocExtension::SetVisibleBox and resets the size of the bounding box to the size calculated by SolidWorks for a part or an assembly.  
 MethodRenameDraftingStandardRename the current custom drafting to the specifed name.  
 MethodResetStandardViewsReturns all standard model views to their default settings.  
 MethodReverseDecalsOrderReverses the order of the decals on the model.  
 MethodRotateOrCopyRotates and optionally copies the selected sketch entities or annotations.  
 MethodRunCommandRuns the specified SolidWorks command.  
 MethodSaveAsSaves the document to a different name.  
 MethodSaveDeFeaturedFileRemoves all CAD data except the outer surface from a loaded part or assembly document and saves the outer surface as a part.  
 MethodSaveDraftingStandardSaves the current custom drafting standard to a file.  
 MethodSavePackAndGoSaves the files designated for Pack and Go to either a folder or Zip file.  
 MethodScaleOrCopyScales and optionally copies the selected sketch items or annotations.  
 MethodSelectAllSelects all edges in a part, all components in an assembly, or all entities (by default, sketch entities, dimensions, and annotations) in a drawing.  
 MethodSelectByIDObsolete. Superseded by IModelDocExtension::SelectByID2.  
 MethodSelectByID2Selects the specified entity.  
 MethodSetAdvancedSpotLightPropertiesSets the attenuation-related, advanced properties for the specified SolidWorks spot light in this model.  
 MethodSetApiUndoObject

Implements an undo object for an add-in application.

 
 MethodSetKeepLightInRenderSceneSets whether to keep a light when the scene changes.  
 MethodSetLightEnabledInRenderSets whether a light is on in this model.  
 MethodSetMaterialPropertyValuesSets the material property values for this model document.  
 MethodSetSceneBkgDIBx64Sets the background image in 64-bit applications.  
 MethodSetSunLightSourcePropertyValuesSets the property values for a sunlight source.  
 MethodSetTextureApplies texture to the specified configuration.  
 MethodSetTextureByDisplayStateSets the texture applied to this model in the specified display state.  
 MethodSetUserPreferenceDoubleSets document default user preference values. This method is intended for user preferences of type double.  
 MethodSetUserPreferenceIntegerSets document default user preference values. This method is intended for user preferences of type integer.  
 MethodSetUserPreferenceStringSets document default user preference values. This method is intended for user preferences of type string.  
 MethodSetUserPreferenceTextFormatSets document default user preference values. This method is intended for setting detailing text formats.  
 MethodSetUserPreferenceToggleSets document default user preference values. This method is intended for user preferences that can be toggled.  
 MethodSetVisibleBoxSets the visible bounding box for Zoom to Fit for a part or an assembly.  
 MethodShowSmartMessageDisplays a SolidWorks-style message as a ToolTip in the graphics area and on the status bar.  
 MethodSketchBoxSelectBox selects all of the entities in a sketch within the specified coordinates of the selection box.  
 MethodStartFormatPainterStarts the Format Painter.  
 MethodStartRecordingUndoObjectStarts recording the SolidWorks Undo object.  
 MethodStopFormatPainterStops the Format Painter.  
 MethodStretchStretch the selected entities.  
 MethodUpdateExternalFileReferencesUpdates the external files references on this model.  
 MethodUpdateFrozenFeaturesUpdates frozen features of the model.  
 MethodUpdateRenderMaterialsInSceneGraphSets whether to update the appearances in the graphics area in the model.  
 MethodUpdateStandardViewsChanges the specified standard view to the current model view.  
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:   IModelDocExtension Interface Members
*Comment:  

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) 2014 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of Dassault Systèmes SolidWorks Corporation or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2014 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.