Click or drag to resize

ExtensionGetSOLIDWORKSMaterials Method

Returns an array of all SOLIDWORKS material names from all SOLIDWORKS material libraries.

Namespace:  CADSharpTools.SOLIDWORKS
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static MethodReturn<string[]> GetSOLIDWORKSMaterials(
	this SldWorks swApp
)

Parameters

swApp
Type: SldWorks
SldWorks object.

Return Value

Type: MethodReturnString
An array of material names.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SldWorks. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also