FilePath Class

This class represents a path on a disk or network location, but not a path to a Revit server location.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBModelPath
    Autodesk.Revit.DBFilePath

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FilePath : ModelPath

The FilePath type exposes the following members.

Constructors
 NameDescription
Public methodFilePath Constructs a FilePath
Top
Properties
 NameDescription
Public propertyCentralServerPath The path to the location of the central Revit server or cloud.
(Inherited from ModelPath)
Public propertyCloudPath Whether this path represents a path on an Autodesk server such as BIM360.
(Inherited from ModelPath)
Public propertyEmpty Whether this path is empty
(Inherited from ModelPath)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ModelPath)
Public propertyRegion The region of the BIM 360 Docs or Autodesk Docs account and project which contains this model.
(Inherited from ModelPath)
Public propertyServerPath Whether this path is a server path (as opposed to a file path or cloud path)
(Inherited from ModelPath)
Top
Methods
 NameDescription
Public methodCompare Compares this ModelPath with another
(Inherited from ModelPath)
Public methodDispose
(Inherited from ModelPath)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetModelGUID A GUID identifying the Revit cloud model.
(Inherited from ModelPath)
Public methodGetProjectGUID A GUID identifying the BIM 360 Docs or Autodesk Docs project to which the model is associated.
(Inherited from ModelPath)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also