Welcome
Getting Started
SolidWorks API Help
Functional Categories
Release Notes
SolidWorks.Interop.sldworks Namespace
Overview
Interfaces
IAdvancedSelectionCriteria
IAnnotation
IAnnotationView
IAppearanceSetting
IAssemblyDoc
IAttribute
IAttributeDef
IAutoBalloonOptions
IBalloonOptions
IBalloonStack
IBaseFlangeFeatureData
IBendsFeatureData
IBendTable
IBendTableAnnotation
IBody2
IBodyFolder
IBomFeature
IBomTable
IBomTableAnnotation
IBomTableSortData
IBreakCornerFeatureData
IBreakLine
IBrokenOutSectionFeatureData
IBSurfParamData
ICallout
ICamera
ICavityFeatureData
ICenterLine
ICenterMark
IChamferFeatureData2
ICircularPatternFeatureData
IClosedCornerFeatureData
ICoEdge
IColorTable
ICombineBodiesFeatureData
ICommandGroup
ICommandManager
ICommandTab
ICommandTabBox
IComment
ICommentFolder
IComponent2
ICompositeCurveFeatureData
IConfiguration
IConfigurationManager
IConnectionPointFeatureData
ICoordinateSystemFeatureData
ICoreFeatureData
ICosmeticThreadFeatureData
ICThread
ICurve
ICurveDrivenPatternFeatureData
ICurveParamData
ICustomBendAllowance
ICustomPropertyManager
IDatumOrigin
IDatumTag
IDatumTargetSym
IDecal
IDeleteBodyFeatureData
IDeleteFaceFeatureData
IDerivedPartFeatureData
IDerivedPatternFeatureData
IDesignTable
IDetailCircle
IDiagnoseResult
IDimension
IDimensionSensorData
IDimensionTolerance
IDimXpertManager
IDisplayData
IDisplayDimension
IDisplayStateSetting
IDocumentSpecification
IDomeFeatureData2
IDowelSymbol
IDraftFeatureData2
IDragArrowManipulator
IDragOperator
IDrawingComponent
IDrawingDoc
IDrSection
IEdge
IEdgeFlangeFeatureData
IEdgePoint
IEndCapFeatureData
IEntity
IEnumBodies2
IEnumCoEdges
IEnumComponents2
IEnumDisplayDimensions
IEnumDocuments2
IEnumDrSections
IEnumEdges
IEnumFaces2
IEnumLoops2
IEnumModelViews
IEnumSketchHatches
IEnumSketchPoints
IEnumSketchSegments
IEnvironment
IEquationMgr
IExplodeStep
IExportPdfData
IExtrudeFeatureData2
IFace2
IFaceDecalProperties
IFaceHatch
IFaultEntity
IFeatMgrView
IFeature
IFeatureFolder
IFeatureManager
IFeatureStatistics
IFillSurfaceFeatureData
IFlatPatternFeatureData
IFlyoutGroup
IFoldsFeatureData
IFrame
IFreePointCurveFeatureData
IGeneralTableAnnotation
IGeneralTableFeature
IGtol
IGussetFeatureData
IHealEdgesFeatureData
IHelixFeatureData
IHemFeatureData
IHoleSeriesFeatureData
IHoleTable
IHoleTableAnnotation
IImportDxfDwgData
IImportedCurveFeatureData
IImportIgesData
IImportStepData
IInterference
IInterferenceDetectionMgr
IJogFeatureData
IJoinFeatureData
ILayer
ILayerMgr
ILibraryFeatureData
ILight
ILightDialog
ILinearPatternFeatureData
ILocalCircularPatternFeatureData
ILocalLinearPatternFeatureData
ILoftedBendsFeatureData
ILoftFeatureData
ILoop2
IMacroFeatureData
IMagneticLine
IManipulator
IMassProperty
IMate2
IMateEntity2
IMateInPlace
IMateLoadReference
IMateReference
IMaterialVisualPropertiesData
IMathPoint
IMathTransform
IMathUtility
IMathVector
IMeasure
IMidSurface3
IMirrorPatternFeatureData
IMirrorSolidFeatureData
IMiterFlangeFeatureData
IModelDoc2
IModelDocExtension
Members
IModeler
IModelView
IModelViewManager
IModelWindow
IMotionPlotAxisFeatureData
IMotionPlotFeatureData
IMouse
IMoveCopyBodyFeatureData
IMoveFaceFeatureData
IMultiJogLeader
INote
IOneBendFeatureData
IPackAndGo
IPageSetup
IParameter
IPartDoc
IPartingLineFeatureData
IPartingSurfaceFeatureData
IPlaneManipulator
IPrint3DDialog
IProjectionArrow
IProjectionCurveFeatureData
IPropertyManagerPage2
IPropertyManagerPageActiveX
IPropertyManagerPageBitmap
IPropertyManagerPageBitmapButton
IPropertyManagerPageButton
IPropertyManagerPageCheckbox
IPropertyManagerPageCombobox
IPropertyManagerPageControl
IPropertyManagerPageGroup
IPropertyManagerPageLabel
IPropertyManagerPageListbox
IPropertyManagerPageNumberbox
IPropertyManagerPageOption
IPropertyManagerPageSelectionbox
IPropertyManagerPageSlider
IPropertyManagerPageTab
IPropertyManagerPageTextbox
IPropertyManagerPageWindowFromHandle
IPunchTable
IPunchTableAnnotation
IRayTraceRenderer
IRayTraceRendererOptions
IRefAxis
IRefAxisFeatureData
IReferenceCurve
IReferencePointCurveFeatureData
IRefPlane
IRefPlaneFeatureData
IRefPoint
IRefPointFeatureData
IRenderMaterial
IReplaceFaceFeatureData
IRevisionTableAnnotation
IRevisionTableFeature
IRevolveFeatureData2
IRibFeatureData2
IRipFeatureData
IRoutingSettings
IRuledSurfaceFeatureData
ISaveBodyFeatureData
IScaleFeatureData
ISectionViewData
ISelectData
ISelectionMgr
ISensor
ISFSymbol
ISheet
ISheetMetalFeatureData
IShellFeatureData
IShutOffSurfaceFeatureData
ISilhouetteEdge
ISimpleFilletFeatureData2
ISimpleHoleFeatureData2
ISimulation3DContactFeatureData
ISimulationDamperFeatureData
ISimulationForceFeatureData
ISimulationGravityFeatureData
ISimulationMotorFeatureData
ISimulationSpringFeatureData
ISketch
ISketchArc
ISketchBlockDefinition
ISketchBlockInstance
ISketchContour
ISketchedBendFeatureData
ISketchEllipse
ISketchHatch
ISketchLine
ISketchManager
ISketchParabola
ISketchPath
ISketchPatternFeatureData
ISketchPicture
ISketchPoint
ISketchRegion
ISketchRelation
ISketchRelationManager
ISketchSegment
ISketchSlot
ISketchSpline
ISketchText
ISldWorks
ISmartComponentFeatureData
ISnapShot
ISplineHandle
ISplineParamData
ISplitBodyFeatureData
ISplitLineFeatureData
ISpring
IStackedBalloonOptions
IStatusBarPane
IStructuralMemberFeatureData
IStructuralMemberGroup
ISurface
ISurfaceCutFeatureData
ISurfaceExtendFeatureData
ISurfaceKnitFeatureData
ISurfaceOffsetFeatureData
ISurfaceParameterizationData
ISurfacePlanarFeatureData
ISurfaceRadiateFeatureData
ISurfaceTrimFeatureData
ISurfExtrudeFeatureData
ISurfRevolveFeatureData
ISweepFeatureData
ISwOLEObject
ISWPropertySheet
ITableAnchor
ITableAnnotation
ITablePatternFeatureData
ITaskpaneView
ITessellation
ITextFormat
ITexture
IThickenFeatureData
ITitleBlock
ITitleBlockTableAnnotation
ITitleBlockTableFeature
IToolingSplitFeatureData
ITreeControlItem
ITriadManipulator
IUserProgressBar
IUserUnit
IVariableFilletFeatureData2
IVertex
IView
IWeldBead
IWeldmentBeadFeatureData
IWeldmentCutListAnnotation
IWeldmentCutListFeature
IWeldmentTrimExtendFeatureData
IWeldSymbol
IWizardHoleFeatureData2
IWrapSketchFeatureData
SolidWorks.Interop.swmotionstudy Namespace
SolidWorks.Interop.swdimxpert Namespace
SolidWorks.Interop.swpublished Namespace
SolidWorks.Interop.sw3dprinter Namespace
SolidWorks.Interop.dsgnchk Namespace
SolidWorks.Interop.swhtmlcontrol Namespace
SolidWorks.Interop.swconst Namespace
SolidWorks.Interop.swcommands Namespace
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
IModelDocExtension Interface Members

The following tables list the members exposed by IModelDocExtension.

Public Properties

 NameDescription
 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.  
 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.  
 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.  
 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
 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.  
 MethodAddRenderMaterialNot supported in SolidWorks 2011 and later. Superseded by IModelDocExtension::AddDisplayStateSpecificRenderMaterial and IModelDocExtension::IAddDisplayStateSpecificRenderMaterial.  
 MethodAlignDimensionsAligns the selected 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.  
 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.  
 MethodEditBalloonPropertiesEdits the selected balloon's properties.  
 MethodFindTrackedObjectsFinds the tracking IDs assigned to entities in this document.  
 MethodFinishRecordingUndoObjectEnds recording of the SolidWorks Undo object.  
 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.  
 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.  
 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 property 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.  
 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.  
 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.  
 MethodIGet3rdPartyStorageStoreGets 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.  
 MethodInsertBomTable2Inserts 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.  
 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.  
 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.  
 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.  
 MethodSetApiUndoObjectImplements 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.  
 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.  
Top

See Also



Related SolidWorks Forum Content

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:  
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) 2012 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 DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 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.