# Construction Script | Can't set new Cable Width from Cable Component

**URL:** <https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707>\
**Category:** Blueprint\
**Tags:** cablecomponent, unreal-engine, construction-script, Blueprint, question\
**Created:** [May 16, 2017, 1:16am UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707 "2017-05-16T01:16:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lemorange](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lemorange](https://forums.unrealengine.com/u/Lemorange)\
**Post date:** [May 16, 2017, 1:16am UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/1 "2017-05-16T01:16:09Z")

</div>

When a Cable Component is created within the construction script and then the Cable Width is changed in the blueprint with the “set cable width” node everything works. Though if the new value comes from a variable which is set to “editable” the width of the cable in the viewport wont change. I am moving the object in the viewport to update the construction script.

This setup works and changes the cable width to 3:

 ![138059-unbenannt2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/7/857519d8decc9b937845317062794b984ab569ae.jpeg)

While in this setup changing the variables value doesnt affect the cable width:

 ![138060-unbenannt.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/f/6efae49612c9eee08e0c5c57b6cfbac9b6ba8fd7.jpeg)

I noticed the visible cable width was correctly displayed in the viewport after compiling but after moving the actor it jumped back to the wrong default width. Also I think the variable doesn’t have to be set to editable to cause this problem.

---

<div class="post-metadata">

**Author:** ![Qygon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Qygon](https://forums.unrealengine.com/u/Qygon)\
**Post date:** [May 16, 2017, 10:49am UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/2 "2017-05-16T10:49:06Z")

</div>

I would really like to know that too. Can you tell me if you find a solution.

---

<div class="post-metadata">

**Author:** ![Lemorange](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lemorange](https://forums.unrealengine.com/u/Lemorange)\
**Post date:** [May 16, 2017, 11:49am UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/3 "2017-05-16T11:49:52Z")

</div>

I will post it here if I find a workaround 🙂

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [May 18, 2017, 7:15pm UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/4 "2017-05-18T19:15:38Z")

</div>

Hi Lemorange,

Thank you for the report. I was able to reproduce this so I created [JIRA UE-45203](https://issues.unrealengine.com/issue/UE-45203) and our devs will be investigating further. Follow that link to monitor the status of the report.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![guitarguy109](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@guitarguy109](https://forums.unrealengine.com/u/guitarguy109)\
**Post date:** [November 12, 2017, 6:57am UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/5 "2017-11-12T06:57:23Z")

</div>

It says that this is by design. Is there any sort of plan to make it editable at runtime eventually? I don’t understand why Epic would deliberately make it so that you can’t edit the properties in blueprint after spawning the cable component. It seems like adding a cable component dynamically would be a common situation for many game devs and not being able to edit the properties makes it incredibly cumbersome to use.

---

<div class="post-metadata">

**Author:** ![kosenhitatchi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kosenhitatchi/32/88708_2.png) [@kosenhitatchi](https://forums.unrealengine.com/u/kosenhitatchi)\
**Post date:** [September 13, 2021, 3:30pm UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/6 "2021-09-13T15:30:54Z")

</div>

Good afternoon,  
I hope you are all doing well.

I might be digging up an old topic, but I have the exact same problem with UE 4.26+.

In my test I spwan three _BP\_cableActor_ with a Blueprint script (_StartScript\_BP_) who’s giving me some debug log.

 ![348582-mycableactor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/1/fc1dbbd1f7b34bc4e933ecc22d00263a80471950.png)

 ![348583-startscriptbp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/7/777e2ae128413d1fde9fa168a7b12101d6be8ce3.png)

 ![348570-scene.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/e/64edd52d9ca4ae481ce2ccdff7fc614fd7bb09b6.jpeg)

In my test, the cables width variables values seem to be correctly set for each cable (cf debug).  
Both with the inner SET operation or the outside SET operation as well (for cable 1).

Strangely the mesh don’t seems to be updated, even if the value is correctly set.  
If I manually change the value while being in simulation (who is useless as the value is set correctly with the script) the rendering is then updated.

 ![348584-simulation.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/5/bb5b2e2a1678720c16ea2dc70e1da4c3b68d6188.jpeg)

This is very strange because this mean we cannot procedurally generate cable with specific width value. Do you know a work around (maybe to force the rendering pass), or at least a hack before this issue is solved ?  
@ **TJ V ♦♦ STAFF** any idea ?

I’m sharing my basic test code in the next comment.

Sincerely

Kosen

---

<div class="post-metadata">

**Author:** ![kosenhitatchi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kosenhitatchi/32/88708_2.png) [@kosenhitatchi](https://forums.unrealengine.com/u/kosenhitatchi)\
**Post date:** [September 13, 2021, 3:32pm UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/7 "2021-09-13T15:32:25Z")

</div>

Here is my basic test code :  
link text

---

<div class="post-metadata">

**Author:** ![Matte\_P](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matte\_P](https://forums.unrealengine.com/u/Matte_P)\
**Post date:** [February 6, 2025, 6:06pm UTC](https://forums.unrealengine.com/t/construction-script-cant-set-new-cable-width-from-cable-component/393707/8 "2025-02-06T18:06:58Z")

</div>

I’m able to set the cable width at runtime: after your Set Cable Width just put a set visibility off followed by set visibility on. Its hacky but I suppose the cable needs to redraw/rerender by force.
