---
title: "setProjectSettings"
slug: "api/session/operations/setprojectsettings"
sidebar:
  order: 155
---

<a id="ref-4655396946ce"></a>
<a id="ref-d48e6f63bc54"></a>
<a id="ref-38cfe8d96dce"></a>

## Synopsis

```text
void setProjectSettings(SessionId sessionId, ProjectSettings settings)
throws SessionServiceFault;
```

See also: [SessionId](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [ProjectSettings](/pCon/configuratorOnline/specs/api/session/types/projectsettings#ref-eb04257954c6), [SessionServiceFault](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault#ref-30a5c7817f4a)

The `setProjectSettings` operation is used to set individual project settings that will eventually be returned by an invocation of the [`getProjectSettings`](/pCon/configuratorOnline/specs/api/session/operations/getprojectsettings) operation or be written to the project file by the [`saveSession`](/pCon/configuratorOnline/specs/api/session/operations/savesession) operation.

All fields of the `ProjectSettings` structure (§[ProjectSettings](/pCon/configuratorOnline/specs/api/session/types/projectsettings#ref-eb04257954c6)) and the referenced structures may be null (§[Constructed Types](/pCon/configuratorOnline/specs/guide/web-service-interfaces/web-service-definition-syntax/types/constructed-types#ref-5ca483b6c31d)). Each field of the referenced structures ([`ProjectData`](/pCon/configuratorOnline/specs/api/session/types/projectdata) and [`CustomerData`](/pCon/configuratorOnline/specs/api/session/types/customerdata)) corresponds to one project settings property.

The client should set only those fields whose corresponding properties it wants to change. If a field is null, the operation keeps the current value for the property.

A [`SessionServiceFault`](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault) is returned if one of the following conditions occurs:

- The `sessionId` parameter is not a valid string representation of an UUID or does not represent an open session.
