    

 ## On this page

  

 

 # get\_layup\_from\_csv\_file

 Last update: 16.07.2026 

<a id="compolyx.Model.get_layup_from_csv_file"></a>

## Model.get\_layup\_from\_csv\_file(path, objects=None, mode='update\_entities', modeling\_group=None)

Function that reads the layup data from a .csv file and adds the data to the graph.

### Parameters

- objects: List of objects to be synced.
- path: The path to the file.
- mode: Valid options: : update\_properties\_only: Definitions are updated with properties given. update\_entities: Definitions are updated, additional plies are generated and deleted. recreate: Existing layup is deleted generated from scratch.
- modeling\_group: Key of the mpg\_collection dict equals the ID of the mpg. Only plies of this modeling\_group will be imported from the file if none is specified all mpgs are read.