You can use the Revit Server model creation command-line utility to automate the creation of local models to facilitate worksharing. You can place new local models directly onto team members' machines or into directories where they can be accessed.
The RevitServerTool.exe can be installed and run on the following:
On a Revit user's machine, the tool is installed in INSTALLDIR\Program\RevitServertoolcommand\. On local and central servers, the tool is installed in INSTALLDIR\tools\RevitServerToolCommand.
| Command | Result |
|---|---|
| l, createLocalRvt | Creates a local model from the specified server-based central model. |
| Options | Result |
|---|---|
| <model path> | A model path relative to the Revit server project directory. |
| -d, -destination | A path that specifies the location and file name of the new model. Absolute, relative, and UNC paths are supported. By default, the new model is created in the user's working directory. For example, C:\\Users|<username>\Document\RevitServerTool\<modelname>.rvt |
| -s, -server | Revit server name. By default, if the environment is configured to work with a specific Revit server, that server name is used. |
| -o, -overwrite | Overwrites the destination model if it already exists. |
RevitServerTool createLocalRVT <model path> [-d|-destination <path>] [-s-|server <server name>] [-o|-overwrite]
| Usage | Result |
|---|---|
| RevitServerTool createLocalRVT <model path> | Creates a local copy of the specified model path in the user's personal directory, using the server name defined in the environment variable, and the user name defined in the OS. |
| RevitServerTool createLocalRVT <model path> [-destination <path>] [server <server name>] [-overwrite] | Creates a local copy of the specified model path from the specified Revit server at the destination path location. |