Project Information Parameters
These parameters are a bit meta - they're information about the document they're a part of!
Introduction
Project Information Parameters are a special category of parameters, which are read in the UI via their own special dialog (Manage<Settings<Project Information). They are created like any other parameter, in the Project Parameters dialog, but they are assigned to the 'Project Information' category.
Typically, this is used to store information such as:
The name of your organisation
The name of the project
The project code/number
Retrieving Project Information Parameters
We first need to retrieve the ProjectInfo object using a FilteredElementCollector, like so:
In the example above, we output the Parameter objects from the Python node, however, we can just as easily iterate through each parameter, outputting its name and value.
Note: The example above will output all values as strings, regardless of their original datatype. It's possible to avoid this by querying the Parameter's StorageType property and using the appropriate conversion method for each type.
Last updated