2027 Method
Changes 8
M

ParameterUtils.WriteSharedParametersToFile

Description:
Generates a shared parameters text file from the shared parameters in a given document.
Remarks:
Only shared parameters that are used in the project are written to the output.
public static void WriteSharedParametersToFile(
	Document doc,
	string fileName
)
  • doc
    Source Revit model to read shared parameters from.
  • String
    fileName
    Destination path for the shared parameters file. This must be in a writable location and the file cannot already exist.