Command Reference.
A comprehensive guide to interacting with Revit metadata using the Prompt CLI.
Selection & Inspection
Quick return of selection ElementId to status bar.
Selects elements within the Revit model via Category, Property values, or Element ID. Either Category or Property or both can be used.
Filters your current element selection using parameters. Either Category or Property or both can be used.
Lists all available parameters of the currently selected element.
Parameter Management
Assigns a value to a parameter for all currently selected elements.
Assigns a value to a parameter for all currently selected elements, with the ability to incorporate parameters and automatic sequential numbering. Parameter values and sequetional numbering are placed inside curly brackets { }. For sequential numbering, use a sequence of zero's. The number of zero's will define the padding for the number length, e.g. "0000" will result in "0040"
Clears parameter value for selected elements
Remaps specific values of a given parameter to a new set of defined values en-masse.
Consolidates data by copying the value from a secondary parameter into a primary parameter when the primary has no value.
Removes errant formatting such as trim spaces and unicode characters.
Removes errant formatting such as trim spaces, consistent casing and unicode characters.
Removes errant formatting such as trim spaces, consistent casing and unicode characters.
Quality Assurance & Compliance
Validates parameter values against a set format, allowing user to enter a number/letter/mask. The rules for the mask are as follows:
Letters - any letter in the mask translates to "accept any letter here"
Digits - any number in the mask translates to "accept any single digit number here"
Symbols - Spaces, dashes and other symbols are treated as literals (must match exactly).
Asterisk - Place asterisk immediately after something acts as a multiplier. E.g. A* means "any number of letters".
Dollar sign $ - Because letters and numbers trigger wildcard rules, prefixing a character with $ forces it to be evaluated literally, for example, $A means there must be an 'A' here.
Runs an audit on types across the project pinpointing unused variations and duplicate types.
Runs an audit on types across the project pinpointing unused variations and duplicate types. Can take a given parameter, or will ask to load a text file of parameter names to check. Text file format is one paramter name per line.
Change Management & State Recording
Exports all element metadata to an external "snapshot" file. This can be used to compare against a live model to see what has changed, or loaded back in replacing any changes. It does not update or modify geometry, only metadata.
As per "snapshot" but only records Instance parameters.
As per "snapshot" but only records Type Parameters.
Overwrites current model with data from a snapshot file. Shows comparison before proceeding.
Admin and Utilities
Loads and executes a series of commands saved as a text file.
Displays a list of all available commands.
Displays the privacy policy.
Displays the End User License Agreement.