# Custom Concrete material \[SOLVED\]

**URL:** <https://femdesign.discourse.group/t/custom-concrete-material-solved/394>\
**Category:** Grasshopper\
**Tags:** solved\
**Created:** [31 October 2024 10:09 UTC](https://femdesign.discourse.group/t/custom-concrete-material-solved/394 "2024-10-31T10:09:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)\
**Post date:** [31 October 2024 11:05 UTC](https://femdesign.discourse.group/t/custom-concrete-material-solved/394/2 "2024-10-31T11:05:37Z")

</div>

The easies and quick way to modify properties of an object is using a simple python script component.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/95ae09ed7ec3bc0b126caeab47eb17dd81859ff4.png)

If you open a .struxml file format, the following code will look familiar as the material object follow what you see in the .struxml.

```python
import System.Guid
import copy

newConcrete = copy.deepcopy(x)
newConcrete.Concrete.Mass = mass
newConcrete.Guid = System.Guid("{53635D15-5696-47F2-9084-B63C7A00F970}")

```

[concreteMaterial.gh](https://femdesign.discourse.group/uploads/short-url/asvtvOjqbN5iRT3hgQutK9mq1Iu.gh) (52.5 KB)

---

_[View the full topic](https://femdesign.discourse.group/t/custom-concrete-material-solved/394)._
