ParameterUtilsWriteSharedParametersToFile Method |
Generates a shared parameters text file from the shared parameters in a given document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntaxpublic static void WriteSharedParametersToFile(
Document doc,
string fileName
)
Public Shared Sub WriteSharedParametersToFile (
doc As Document,
fileName As String
)
public:
static void WriteSharedParametersToFile(
Document^ doc,
String^ fileName
)
static member WriteSharedParametersToFile :
doc : Document *
fileName : string -> unit Parameters
- doc Document
-
Source Revit model to read shared parameters from.
- fileName String
-
Destination path for the shared parameters file. This must be in a writable location
and the file cannot already exist.
Exceptions
Remarks
Only shared parameters that are used in the project are written to the output.
See Also