    

 ## On this page

  

 

 # asset\_preparation::v2::material::MaterialPreparation Class Reference

 Last update: 16.07.2025 

Material Preparation Service. [More...](a00519.xhtml#details)

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

[CreateMaterialResponse](a00527.xhtml) [CreateMaterial](a00519.xhtml#a32e32744719dbd7284a6dac7e67d963f) ([CreateMaterialRequest](a00523.xhtml)) [GetMaterialResponse](a00535.xhtml) [GetMaterial](a00519.xhtml#a26a9aec2e59065876e780dec46eb3b26) ([GetMaterialRequest](a00531.xhtml)) [ListMaterialsResponse](a00539.xhtml) [ListMaterials](a00519.xhtml#adb26213ceb3dcac649863c195e9c055e) (google::protobuf::Empty) [UpdateMaterialResponse](a00547.xhtml) [UpdateMaterial](a00519.xhtml#ab7ef2d7aba7aedcc927e67da39f12446) ([UpdateMaterialRequest](a00543.xhtml)) [DeleteMaterialResponse](a00555.xhtml) [DeleteMaterial](a00519.xhtml#a5f333649bf99fd1d0cf2ab1b5bb3ea90) ([DeleteMaterialRequest](a00551.xhtml)) <a id="details" name="details"></a>## Detailed Description

Material Preparation Service.

This service is used to create, edit and manage materials.



## Member Function Documentation

<a id="a32e32744719dbd7284a6dac7e67d963f"></a>## [◆ ](#a32e32744719dbd7284a6dac7e67d963f)CreateMaterial()

 [CreateMaterialResponse](a00527.xhtml) asset\_preparation::v2::material::MaterialPreparation::CreateMaterial  ( [CreateMaterialRequest](a00523.xhtml)  ) 

Creates a new material with optional properties.

NoteNames must be unique amongst sibling materials.If some properties are not specified, default values are used and no dielectric properties are defined.Returns the information about the created material.





<a id="a5f333649bf99fd1d0cf2ab1b5bb3ea90"></a>## [◆ ](#a5f333649bf99fd1d0cf2ab1b5bb3ea90)DeleteMaterial()

 [DeleteMaterialResponse](a00555.xhtml) asset\_preparation::v2::material::MaterialPreparation::DeleteMaterial  ( [DeleteMaterialRequest](a00551.xhtml)  ) 

Deletes a material, given its identifier.





<a id="a26a9aec2e59065876e780dec46eb3b26"></a>## [◆ ](#a26a9aec2e59065876e780dec46eb3b26)GetMaterial()

 [GetMaterialResponse](a00535.xhtml) asset\_preparation::v2::material::MaterialPreparation::GetMaterial  ( [GetMaterialRequest](a00531.xhtml)  ) 

Gets the properties of a material, given its identifier.

Returns the material properties.





<a id="adb26213ceb3dcac649863c195e9c055e"></a>## [◆ ](#adb26213ceb3dcac649863c195e9c055e)ListMaterials()

 [ListMaterialsResponse](a00539.xhtml) asset\_preparation::v2::material::MaterialPreparation::ListMaterials  ( google::protobuf::Empty  ) 

Lists all the stored materials.

Returns the identifiers and names of the stored materials.





<a id="ab7ef2d7aba7aedcc927e67da39f12446"></a>## [◆ ](#ab7ef2d7aba7aedcc927e67da39f12446)UpdateMaterial()

 [UpdateMaterialResponse](a00547.xhtml) asset\_preparation::v2::material::MaterialPreparation::UpdateMaterial  ( [UpdateMaterialRequest](a00543.xhtml)  ) 

Edits the properties of a material, given its identifier.

NoteNames must be unique amongst materials. 



---

The documentation for this class was generated from the following file:- material.proto