|
ExtensionGetDrawing Method
|
Returns the SOLIDWORKS drawing that exists in the same directory and has the same filename as the specified PDM file.
Namespace:
CADSharpTools.PDM
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax public static MethodReturn<IEdmFile5> GetDrawing(
this IEdmFile5 file
)
<ExtensionAttribute>
Public Shared Function GetDrawing (
file As IEdmFile5
) As MethodReturn(Of IEdmFile5)
Parameters
- file
- Type: IEdmFile5
File object.
Return Value
Type:
MethodReturnIEdmFile5MethodReturn of PDM file object.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEdmFile5. 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).
Exceptions Remarks If the drawing file object does not exist, the method return a
MethodReturnT with
Value as null.
See Also