Hide Table of Contents
IModelDocExtension Interface Methods

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

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.  
 MethodAddDimensionCreates a display dimension at the specified location for selected entities.  
 MethodAddDisplayStateSpecificRenderMaterialAdds the specified appearance to the specified display states in the active configuration and returns the IDs assigned to that appearance.  
 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.  
 MethodAddSpecificDimensionCreates the specified display dimension at the specified location for selected entities.  
 MethodAddSymmetricDimensionCreates a full symmetrical angular dimension at the specified location for the selected entities.  
 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.  
 MethodCapture3DViewCaptures the 3D View of this part or assembly.  
 MethodChangeSketchPlaneChanges the plane used by a sketch by moving the selected sketch to the selected plane in the specified configurations.  
 MethodCompare3DPMICompare DimXpert annotations, reference dimensions, and other annotations between different versions of the same part document.  
 MethodCopyDraftingStandardCopy the current custom drafting standard.  
 MethodCreate3DBoundingBoxCreates a 3D bounding box for a cut list item in a weldment part.  
 MethodCreateAdvancedHoleElementDataCreates an Advanced Hole element data object of the specified type.  
 MethodCreateBalloonOptionsCreates an object that stores BOM balloon options.  
 MethodCreateCalloutCreates a callout independent of a selection.  
 MethodCreateDecalCreates a decal for this model.  
 MethodCreateMassPropertyObsolete. Superseded by IModelDocExtension::CreateMassProperty2.  
 MethodCreateMassProperty2Creates a mass properties 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 appearances, using the IDs of the appearances, 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 selected dimension.  
 MethodEditRebuildAllRebuilds only those features that need to be rebuilt in all configurations without activating each configuration.  
 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.  
 MethodForceRebuildAllForces a rebuild of all features in all configurations without activating each configuration.  
 MethodGeodesicSketchOffsetCreates a geodesic sketch offset along the curvature of a surface.  
 MethodGet3DExperienceModelTypeGets the type of 3DEXPERIENCE application that owns this model.  
 MethodGet3DViewGets the 3D View with the specified name for this part or assembly.  
 MethodGet3DViewCountGets the number of 3D Views in this part or assembly.  
 MethodGet3DViewNamesGets names of the 3D Views in this part or assembly.  
 MethodGet3DViewsGets the 3D Views for this part or assembly.  
 MethodGetActivePropertyManagerPageGets the name of the active PropertyManager page.  
 MethodGetAdvancedSaveAsOptionsGets the advanced File > Save As options.  
 MethodGetAdvancedSpotLightPropertiesGets the attenuation-related, advanced properties for the specified SOLIDWORKS spot light in this model.  
 MethodGetAnnotationCountGets the number of annotations on this part.  
 MethodGetAnnotationsGets the annotations on this part.  
 MethodGetAppearanceSettingGets the appearance setting for this document.  
 MethodGetAttachmentCountGets the number of attachments for this document.  
 MethodGetAttachmentsGets the attachments for this document.  
 MethodGetCalloutVariableStringGets the string for the specified callout variable.  
 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.  
 MethodGetCorrespondingObsolete. Superseded by IModelDocExtension::GetCorresponding2.  
 MethodGetCorresponding2Gets the object in the underlying part or subassembly document that corresponds to the specified input object in this drawing view or assembly.  
 MethodGetCorrespondingEntityObsolete. Superseded by IModelDocExtension::GetCorrespondingEntity2.  
 MethodGetCorrespondingEntity2Gets the entity in the underlying part or subassembly that corresponds to the specified entity in this assembly or drawing view.  
 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.  
 MethodGetDependenciesGets all of this model's dependencies.  
 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.  
 MethodGetGeneralTableAnnotationCreates a general table annotation for SOLIDWORKS MBD 3D PDF.  
 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.  
 MethodGetMassPropertiesObsolete. Superseded by IModelDocExtension::GetMassProperties2.  
 MethodGetMassProperties2Obsolete. Superseded by IMassProperty2.  
 MethodGetMaterialGets the appearance for the specified appearance ID in the specified configuration in this model document  
 MethodGetMaterialPropertyValuesGets the material properties for this model document.  
 MethodGetMBD3DPdfDataGets the SOLIDWORKS MBD 3D PDF data object.  
 MethodGetModelBreakViewNamesGets the names and number of the Model Break Views in the current configuration of the active model.  
 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.  
 MethodGetPLMIDGets the ID of this SOLIDWORKS Connected document.  
 MethodGetPrint3DDialogGets the IPrint3DDialog object.  
 MethodGetPrintSpecificationGets the IPrintSpecification object for this document.  
 MethodGetRenderCustomReferencesGet the custom render references for this model.  
 MethodGetRenderMaterialsObsolete. Superseded by IModelDocExtension::GetRenderMaterials2.  
 MethodGetRenderMaterials2Gets the appearances applied to this model document in the specified display states.  
 MethodGetRenderMaterialsCountObsolete. Superseded by IModelDocExtension::GetRenderMaterialsCount2.  
 MethodGetRenderMaterialsCount2Gets the number of appearances applied to this model document in the specified display states.  
 MethodGetRenderStockReferencesGets the SOLIDWORKS-supplied (stock) render references for this model.  
 MethodGetRoutingComponentManagerGets the routing component manager.  
 MethodGetScanto3DGets the IScanTo3D object for this document.  
 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.  
 MethodGetSectionProperties2

Gets 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.  
 MethodGetSunLightAdvancedPropertyValuesGets the specified sunlight advanced properties.  
 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.  
 MethodHasMaterialPropertyValuesGets whether this model has an appearance.  
 MethodHasRenamedDocumentsGets whether the document has renamed files.  
 MethodHideDecalHides or shows the specified decal applied to this model.  
 MethodHideFeatureManagerHides or shows the Manager Pane.  
 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 selected dimension.  
 MethodIGet3rdPartyStorageStoreGets the IStorage interface to the specified third-party storage in this SOLIDWORKS 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.  
 MethodIGetMassPropertiesObsolete. Superseded by IModelDocExtension::GetMassProperties2.  
 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.  
 MethodIGetRenderMaterialsObsolete. Superseded by IModelDocExtension::GetRenderMaterials2.  
 MethodIGetSearchDataGets the SOLIDWORKS Search, third-party, application keywords from the model document.  
 MethodIGetSectionPropertiesObsolete. Superseded by IModelDocExtension::IGetSectionProperties2.  
 MethodIGetSectionProperties2

Gets 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 this part or assembly.  
 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.  
 MethodInsertChainDimensionsChains dimensions for the specified entities in this drawing or sketch.  
 MethodInsertDatumTargetSymbol2Obsolete. Superseded by IModelDocExtension::InsertDatumTargetSymbol3.  
 MethodInsertDatumTargetSymbol3Creates a datum target symbol.  
 MethodInsertDeleteFaceInserts a DeleteFace feature.  
 MethodInsertGeneralTableAnnotationInserts the a general table annotation in this model document.  
 MethodInsertGeneralToleranceTableAnnotationInserts a general tolerance table annotation 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.  
 MethodIPrintOut3Obsolete. Superseded by IModelDocExtension::PrintOut4.  
 MethodIRelease3rdPartyStorageStoreReleases the specified third-party storage in this document.  
 MethodIRemoveMaterialPropertyRemoves material property values from this model.  
 MethodIsAbbreviatedViewActiveGets or sets whether the abbreviated view is active.  
 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.  
 MethodIsExplodedGets the name of the exploded view currently shown in the model.  
 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.  
 MethodListExternalFileReferencesObsolete. Superseded by IModelDocExtension::ListExternalFileReferences2.  
 MethodListExternalFileReferences2Gets the specified external file reference information for this part or assembly.  
 MethodListExternalFileReferencesCountGets the number of external references on this part or assembly.  
 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 in the model.  
 MethodPrintOutObsolete. Superseded by IModelDocExtension::PrintOut2.  
 MethodPrintOut2Obsolete. Superseded by IModelDocExtension::PrintOut3.  
 MethodPrintOut3Obsolete. Superseded by IModelDocExtension::PrintOut4.  
 MethodPrintOut4Prints this document without displaying any dialogs or message boxes.  
 MethodPublishSTEP242FileExports the SOLIDWORKS MBD 3D part or assembly to a STEP 242 file.  
 MethodPublishTo3DPDFCreates a 3D PDF for SOLIDWORKS MBD.   
 MethodPurgeDisplayStatePurges identical display states so that only unique display states remain.  
 MethodRayIntersectionsFinds the intersections between the specified set of rays and the specified set of bodies.  
 MethodRebuildRebuilds the model in assembly and drawing documents and returns the status of the rebuild.  
 MethodRefresh3DViewsUpdates the 3D Views of this part or assembly.  
 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.  
 MethodRenameDocumentTemporarily renames the selected component using the specified name.  
 MethodRenameDraftingStandardRename the current custom drafting to the specifed name.  
 MethodReorderFeatureMoves the specified feature to another location in the FeatureManager design tree of this part or assembly.  
 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.  
 MethodSaveAsObsolete. Superseded by IModelDocExtension::SaveAs2.  
 MethodSaveAs2Obsolete. Superseded by IModelDocExtension::SaveAs3.  
 MethodSaveAs3Saves the active document to the specified name with advanced options.  
 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.  
 MethodSaveSelectionCreates a new selection set containing the selected entities.  
 MethodSaveTo3DExperienceSaves this document in SOLIDWORKS Connected using the specified save options.  
 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.  
 MethodSelectByRay

Selects the first entity of the specified type that is intersected by a ray that starts at the specified point and runs parallel to the specified direction vector within the specified radius.

 
 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.  
 MethodSetSunLightAdvancedPropertyValuesSets the specified sunlight advanced properties.  
 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.  
 MethodSetTopLevelTransparencySets the transparency of this part or top-level assembly.  
 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.  
 MethodShowModelBreakViewGets whether to show or hide the specified Model Break View in the current configuration of the active model.  
 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.  
 MethodSketchOffsetOnSurfaceCreates a Euclidean sketch offset from selected edges of a face or surface.  
 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.  
 MethodUpdateSunLightUpdates sunlight position, color, and background image.  
 MethodUpgradeLegacyCThreadsUpgrades cosmetic thread features in this legacy model to the latest cosmetic thread architecture.  
 MethodViewZoomToSheetZooms a drawing sheet to its maximum size within the 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:   IModelDocExtension 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) 2021 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.