2024 Method
Changes 0
M

ShapeImporter.Convert

Description:
Converts the geometry stored in the external format into a collection of Revit geometry objects.
public IList<GeometryObject> Convert(
	Document document,
	string filename
)
  • document
    The Revit document where the resulting Revit geometry objects will be used. This document may need to be modified to store dependent elements such as graphics styles and/or materials.
  • String
    filename
    The full path to the input file.
Return Value IList<GeometryObject> A collection of Revit geometry objects created from the incoming data.