# Schedule Field to Shared Parameter

**URL:** <https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [August 13, 2024, 12:16pm UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524 "2024-08-13T12:16:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![niels.van.hove](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@niels.van.hove](https://forum.dynamobim.com/u/niels.van.hove)\
**Post date:** [August 13, 2024, 12:16pm UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/1 "2024-08-13T12:16:33Z")

</div>

Hi,

I want to retrieve a field/parameter/value from a schedule and put the value of said field in a shared parameter thats linked to an element.  
i need the “Total Weight (kg)” to copy its value in the parameter “Precast\_QuantitiiesGeneral\_…” so the schedule value becomes visible in my assembly tag.

Thanks in advance

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/8/383bb91c33e7f82926dd8a3b9bc8f2615451ac9a.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [August 13, 2024, 2:52pm UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/2 "2024-08-13T14:52:43Z")

</div>

@niels.van.hove

seems to be your header (parameter) is renamed. check this first.  
And reset the header to the parameter name… than it should run.

---

<div class="post-metadata">

**Author:** ![staylor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/staylor/32/94307_2.png) [@staylor](https://forum.dynamobim.com/u/staylor)\
**Post date:** [August 13, 2024, 3:41pm UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/3 "2024-08-13T15:41:35Z")

</div>

A couple of things. “ScheduleField.Parameter” takes a schedule field and not a string name (see clip). Secondly, the parameter that you are wanting to get the value of is associated to a model element and not the schedule. The schedule field is just a text field that’s reporting the value from the associated model element parameter.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8ef3831b644eddfa6d63ffba788cb370ff8fbe43.png)

Looking at what you are trying to do, I would suggest getting all subcomponents of the assembly and filtering down to the element that has the parameter. Pull the value and write it back to the assembly parameter.

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [August 13, 2024, 8:55pm UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/4 "2024-08-13T20:55:12Z")

</div>

If it’s just one parameter, you can skip Dynamo and set it directly in Revit by selecting the category of elements you need. This might be quicker and easier unless you’re dealing with a large number of elements or need to automate the process.

---

<div class="post-metadata">

**Author:** ![Cesar\_Tolentino](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cesar_tolentino/32/26477_2.png) [@Cesar\_Tolentino](https://forum.dynamobim.com/u/Cesar_Tolentino)\
**Post date:** [August 13, 2024, 9:08pm UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/5 "2024-08-13T21:08:15Z")

</div>

try this… I am currently doing the same exercise. Check first if you can see your parameter.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/d/7d0a09c93fb9244fcbacc2473bd5803adbfa1e1d.png)

---

<div class="post-metadata">

**Author:** ![niels.van.hove](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@niels.van.hove](https://forum.dynamobim.com/u/niels.van.hove)\
**Post date:** [August 14, 2024, 5:34am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/6 "2024-08-14T05:34:33Z")

</div>

its a model with about 100-200 assemblies 😅. i’d prefer if it was automated.

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [August 14, 2024, 9:09am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/7 "2024-08-14T09:09:47Z")

</div>

Assigning the parameter to an entire category can be done through Project Parameters → shared parameter.

Getting the value from one parameter to another is then very easy. BUT it depends on how the Schedule Parameter is created.  
Is it a formula mixed from other parameters?  
Is it a project parameter?

Assigning the parameter is easy and that’s a 3 min process. But first we have to discover how what kind of parameter it is. because Schedulefields parameters is weird to get.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/532e7bf64664b6c4119e76bfff81752ed0a2f51a.png)

So I propose an alternative route of seeing the schedules as a view (which they are) and getting all the elements in the view.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4aa4edd455f565fd2930ed26d8ba4098dc5b1068.png)

For this example I did it with rooms because we don’t use Assemblies in our models  
Then you can get the parameters that way. Pretty sure you can then also get the custom schedule parameters

---

<div class="post-metadata">

**Author:** ![niels.van.hove](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@niels.van.hove](https://forum.dynamobim.com/u/niels.van.hove)\
**Post date:** [August 14, 2024, 9:16am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/8 "2024-08-14T09:16:16Z")

</div>

so the schedule parameter is a project parameter named “total weight (kg)” found in structural rebar schedules. what i want to do is put that value in a shared parameter linked to the assembly,

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [August 14, 2024, 9:23am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/9 "2024-08-14T09:23:57Z")

</div>

I understood your original question.

If it’s a project parameter, it is already linked to the element and you don’t need to go through any schedules.

All you have to do then is this:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/a/8a9be8975c35c2a45c2c345ead057efae8dde343.png)

I’ve added the dynamo script:  
[Copy Parameter value.dyn](https://forum.dynamobim.com/uploads/short-url/jbwXG5x6iSnCZnP0rrFpj9H3egp.dyn) (10.5 KB)

---

<div class="post-metadata">

**Author:** ![niels.van.hove](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@niels.van.hove](https://forum.dynamobim.com/u/niels.van.hove)\
**Post date:** [August 14, 2024, 9:27am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/10 "2024-08-14T09:27:38Z")

</div>

thanks! when i can access my laptop ill try it out.

looks more simple then expected 😅. seems like i made it complicated for myself

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [August 14, 2024, 9:35am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/11 "2024-08-14T09:35:33Z")

</div>

That’s what I’ve been saying. 😇

Schedules are views too, just without the geometry. In a way geometry is just another ‘Information’. (of BIM)

An element has parameters attached to it. A schedule just shows you filtered ways or can calculate parameters for you.

But with Dynamo you can read the entire element for parameters 😃

---

<div class="post-metadata">

**Author:** ![niels.van.hove](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@niels.van.hove](https://forum.dynamobim.com/u/niels.van.hove)\
**Post date:** [August 14, 2024, 9:56am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/12 "2024-08-14T09:56:55Z")

</div>

good to know!

do you know any good courses/youtube videos/… for dynamo that focus more on data extraction and parameter values and whatnot? ive seen a fair few of tutorials but all have a focus on geometry and modelling. however our BIM departement currently has a focus on process automatisation and data extraction.

thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![RevitRobot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/revitrobot/32/179241_2.png) [@RevitRobot](https://forum.dynamobim.com/u/RevitRobot)\
**Post date:** [August 14, 2024, 10:01am UTC](https://forum.dynamobim.com/t/schedule-field-to-shared-parameter/103524/13 "2024-08-14T10:01:57Z")

</div>

We’re getting off topic. I’ve sent a DM
