Get Parts from parent element and update multiple parameters

Hi ,
we at Hocon technologies have created dynamo script :

Packages used in this script:
Genius Loci 2024.5.29
SteamNodes 1.2.4

Created by :Hocon Technologies

Steps Explained :
01. Revit Input :
Purpose: Select the parent element in Revit from which the parameters will be extracted.
Input Node: A “Select Model Element” node is used to allow the user to pick a Revit element (e.g., a wall, floor, or other Revit family instance).
The selected element’s Element ID is displayed for verification.

02. Input Inside Dynamo - Multiple Parameters
Purpose: Specify the parameters to extract and copy.
Two lists are provided:
Source Parameters: Contains the names of the parameters to extract from the parent element.
Example: [“Volume”, “Area”, “Thickness”].
Target Parameters: Contains the names of the parameters to assign the values.
Example: [“New Volume”, “New Area”, “New Thickness”].

03. Get Parts from Parent Element
Purpose: Extract parts related to the selected parent element.
Process:
A custom node or built-in functionality is used to retrieve parts derived from the selected Revit element.
Outputs a list of part elements, which are then processed further.

04. Count Parameters and Map Them
Purpose: Match the source parameters with the target parameters.
Process:
A “List.Count” node is used to ensure the same number of parameters exists in both the source and target lists.
Parameters are distributed to corresponding parts, ensuring data consistency.

05. Get and Set Parameter Values
Purpose: Retrieve the values of the source parameters from the parent element and assign them to the parts.
Process:
A custom or built-in node extracts the parameter values for each specified source parameter.
A loop assigns the extracted values to the corresponding target parameters of the parts.

06. Convert Global Parameters to Text
Purpose: Convert specific parameters into text format, if needed.
Process:
A “Global Parameter” or similar node might be used to ensure the parameter value is in a compatible format (e.g., string or text).

07. Output - Multiple Parameters Copied
Purpose: Display the updated parameters of the parts.
Output Node: Shows the parts with their newly assigned parameter values, confirming that the process worked correctly.

Hello @lalitha.s and welcome :wink: nice and thanks for sharing :wink: but you have an input error from your steamnode input…if you want to get rid of that one open the node and rename and save