Click or drag to resize

Extension Class

Extension class for SOLIDWORKS API objects.
Inheritance Hierarchy
SystemObject
  CADSharpTools.SOLIDWORKSExtension

Namespace:  CADSharpTools.SOLIDWORKS
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static class Extension

The Extension type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeleteAllProperties
Deletes all properties from a SOLIDWORKS document. Set toggle parameters to delete custom, configuration-specific or both.
Public methodStatic memberGetAllChildren
Returns an array of all children components from the specified component.
Public methodStatic memberGetAllReferences
Returns an array of all references from Pack and Go.
Public methodStatic memberGetMaterialNamesFromDataBase
Gets an array of SOLIDWORKS material names from a SOLIDWORKS material database.
Public methodStatic memberGetModelMass
Returns the mass and the unit of the mass for the specified model.
Public methodStatic memberGetParentSheet
Gets the parent sheet of the specified feature.
Public methodStatic memberGetSelectedObjectsT
Gets an array of selected SOLIDWORKS objects.
Public methodStatic memberGetSOLIDWORKSDocumentType
Gets the SOLIDWORKS document type.
Public methodStatic memberGetSOLIDWORKSMaterials
Returns an array of all SOLIDWORKS material names from all SOLIDWORKS material libraries.
Public methodStatic memberGetSOLIDWORKSMaterialsAsync
Returns an array of all SOLIDWORKS material names from all SOLIDWORKS material libraries.
Public methodStatic memberIsNotToolBox
Returns whether specified component is a toolbox component or not.
Public methodStatic memberObjectArrayToBStrWrapperArray
Marshals an array of objects into SW objects.
Public methodStatic memberOpenDocument
Opens the specified SOLIDWORKS document silently.
Public methodStatic memberOpenDocumentAsync
Opens the specified SOLIDWORKS document silently.
Top
See Also