Home - - Dynamo script – Map parameter

Dynamo script – Map parameter

Publisher:
BIM One
File size:
1.74 MB
Date added:
Nov 20, 2021
Licence:
Free
Runs on:
Revit
Download
(1.74 MB)

Map parameter is a Dynamo script that allows you to copy the data of a parameter applied to several categories, while adding a prefix or a suffix or a specific separation character. Bonus: add a prefix or suffix to the data of an already-filled parameter.

How many times did you get stuck because you could not use a parameter in a filter, or in a schedule? One of the tricks is to transfer data from a “non-accessible” parameter to another parameter that is “accessible”. This script helps with this.

In order to download script, follow the download link above. Then right-click on “BIM1_MapParameter.dyn” – “Save link as…”.

Note:

  • All (types of) parameters are not equivalent or transposable. You have to respect their characteristics, like units. Thus, a text parameter can not be transferred in a number parameter, however the opposite is feasible. A material does not transfer in a yes / no parameter, etc. you understand the principle!
  • You can transfer data from multiple categories, but only if the setting is applied to all families in a category. Otherwise, you will not be able to correctly transfer data from or to this parameter for the families in question.
  • The script is also able to transfer the name of the workset or construction phase to a text parameter.

Workflow:

  1. Select affected item categories with source data.
  2. Select the source parameter.
  3. Select the parameter to which you want to copy the data.
  4. If necessary, fill in the prefix, suffix, and separator fields. N.B.: If empty, only the source data will be transferred.
  5. Select the composition mode of the transferred data:
    • Prefix + separator + data + separator + suffix
    • Prefix + data + suffix
    • Prefix + separator + data
    • Prefix + data
    • Data + separator + suffix
    • Data + suffix
    • Data

The script will return the number of items processed.

About BIM One

Virtual construction and technology BIM One Inc. is a firm specialized in project management and technologies implementation related to building information modeling (BIM). They provide BIM consulting and implementation services, technology strategies and custom software solutions: building information management for project owner and project manager; building information modeling for structural, MEPengineers and architects; city information modeling (CIM) for urban planners; BIM infra for civil engineers; VDC for entrepreneurs.

In February 2021, Newforma acquired BIM One, adding more capabilities for architects, engineers, contractors, and owners. With 122,000 users worldwide, Newforma has a key focus on Project Information Management (PIM) for the design and construction industry.

Gallery

BIM1 Map Parameter Screenshot 1
Map parameter – the full script. ©BIM One