RhinoCommon API
HostUtilsFileNameEndsWithRhinoExtension Method |
Strip file extension from file name and check to see if it is a valid
Rhino file extension.
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)

public static bool FileNameEndsWithRhinoExtension( string fileName )
Public Shared Function FileNameEndsWithRhinoExtension ( fileName As String ) As Boolean
Parameters
- fileName
- Type: SystemString
File name to check.
Return Value
Type: BooleanReturns true if the file name has an extension like 3dm.

Rhino for Windows
Supported in: 6.14