GetShortName Method


IExternal Resource Server Get Short Name Method

Implement this method to return the short name of the server.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
string GetShortName()

Return Value

String
The short name of the server.
Remarks
The name is a unique path prefix included in full paths to external resources provided by this server. It is recommended that the short name length is at least 3 characters to make it useful for users to identify the server easily.

To ensure the server can be registered successfully, the name should match restrictions below:

  • The name cannot be empty or consist of only whitespace characters.
  • The name should not include any invalid characters such as \/:*?"<>|.
  • The name cannot duplicate any other external resource server names.
  • The name should not duplicate a Revit reserved path prefix(case insensitive), including: RSN, A360, buzzsaw, vault, redspark, ftp, http, https, files, file.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →