2026 Class
Changes 0
C

ShapeImporter

Description:
A utility class that supports conversion of geometry stored in an external format into a Revit geometry objects.
Remarks:
See ShapeImporterSourceFormat for the list of supported formats.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ShapeImporter
public class ShapeImporter : IDisposable
Name Return Type Description Inherited From
C ShapeImporter() None Default constructor. Initializes an instance of ShapeImporter that will automatically recognize the file format from its extension (ShapeImporterSourceFormat.Auto).
Name Return Type Description Inherited From
M Convert(Document, String) IList<GeometryObject> Converts the geometry stored in the external format into a collection of Revit geometry objects.
M Dispose() None Releases all resources used by the ShapeImporter
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsServiceAvailable() Boolean Checks whether the data conversion service and Material Library are available.
M SetDefaultLengthUnit(ImportUnit) ShapeImporter Sets the length unit to be used when the input is a unitless SAT file.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P DefaultLengthUnit ImportUnit The length unit to be used if not specified when the input is a unitless SAT file.
P InputFormat ShapeImporterSourceFormat The format of the incoming data.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.