# Change Phase Created Value

**URL:** https://forum.dynamobim.com/t/change-phase-created-value/2940
**Category:** Packages
**Created:** [January 15, 2016, 1:25pm UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940 "2016-01-15T13:25:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Peterson](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@David\_Peterson](https://forum.dynamobim.com/u/David_Peterson)
#### Post date: [January 15, 2016, 1:25pm UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940/1 "2016-01-15T13:25:48Z")

</div>

Dynamo newbie. I some nested, nested curtain walls that didn’t want to play nice with Adjusting to their new Phase Create setting by their host.

I tried to change it within a schedule, but Revit told me it can’t change a read only parameter.

So I thought, hey Dynamo should be able to help with that.

Is it possible to Change the Phase Create Value of an element?

Thanks in advance.

&nbsp;

&nbsp;

![Capture](http://dynamobim.org/wp-content/uploads/forum-assets/dpetersonflad-com/01/15/Capture.png)

---

<div class="post-metadata">

### Author: ![Monkey\_Puppet](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/monkey_puppet/32/8554_2.png) [@Monkey\_Puppet](https://forum.dynamobim.com/u/Monkey_Puppet)
#### Post date: [January 15, 2016, 2:02pm UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940/2 "2016-01-15T14:02:26Z")

</div>

David,

Use List.Firstitem to get the phase you want to change to.

&nbsp;

![David](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/47afc734109dc3c5065010038d9b212737d0e084.jpg)

---

<div class="post-metadata">

### Author: ![David\_Peterson](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@David\_Peterson](https://forum.dynamobim.com/u/David_Peterson)
#### Post date: [January 15, 2016, 2:49pm UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940/3 "2016-01-15T14:49:04Z")

</div>

Hi Tim,

I tried that. I get an error from the Elemenet.SetParameterByName node that says

"The parameter’s storage type is not a string.  
Element.SetParameterByName operation failed. "

Thoughts?

---

<div class="post-metadata">

### Author: ![Monkey\_Puppet](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/monkey_puppet/32/8554_2.png) [@Monkey\_Puppet](https://forum.dynamobim.com/u/Monkey_Puppet)
#### Post date: [January 15, 2016, 3:22pm UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940/4 "2016-01-15T15:22:37Z")

</div>

Hi David,

It works for me. Are you sure your are entering the phase element into the value and not the string.

&nbsp;

![David 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/c/cabfa1e442cf4fad205351940637c174dd45edbc.jpg)

---

<div class="post-metadata">

### Author: ![David\_Peterson](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@David\_Peterson](https://forum.dynamobim.com/u/David_Peterson)
#### Post date: [January 18, 2016, 9:53am UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940/5 "2016-01-18T09:53:35Z")

</div>

I will try again later today.

I can’t change it in the properties box inside of revit because it’s a nested, nested curtainwall objects (mullions and panels).

I figured I’d try to use Dynamo for that. It would appear that this may not be possible. I know that it’s a known issue.

Being that the error I see says, it can’t write to a read only parameter, not sure it’ll work.

&nbsp;

---

<div class="post-metadata">

### Author: ![jmark](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jmark](https://forum.dynamobim.com/u/jmark)
#### Post date: [June 30, 2023, 3:51am UTC](https://forum.dynamobim.com/t/change-phase-created-value/2940/6 "2023-06-30T03:51:13Z")

</div>

![change phase created_2023-06-30_11-46-58](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/a/ba2c7a076fbd98f052fac0d06928bcb83587c3e9.png)

I came across this problem too, for some reason it doesn’t want to take the value of “setparameterbyname” to be string. What worked me is that the phase should be an “element”. See uploaded photo.

(I know the post is 7 yo already, I just want to reply)
