    

 ## On this page

  

 

 # create\_scene

 Last update: 16.07.2026 

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

## Model.create\_scene(name, id=None, title='', active\_set=None, projection='perspective', lighting\_mode='dark', scale\_factor=1.0, show\_draped\_fiber\_directions=False, show\_draped\_transverse\_directions=False, show\_edges=False, show\_fiber\_directions=False, show\_global\_coordinate\_system=True, show\_legend=True, show\_normals=False, show\_orientations=False, show\_ref\_directions=False, show\_selected\_mesh=False, show\_section\_cut\_plots=False, show\_element\_type=ObjectSectionElementTypes.automatic, show\_surface=True, show\_minmax=False, show\_transverse\_directions=False, continuous\_pick\_enabled=False, show\_material\_1\_directions=False, show\_mesh\_silhouette=False, show\_silhouette=True)

Create a new scene.

### Parameter

- name: Name of the scene.
- show\_deformed\_mesh: Whether to show the deformed mesh.
- show\_undeformed\_mesh: Whether to show the undeformed mesh.
- scale\_factor: Scale factor of the deformed mesh.

### Returns

New scene.