> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SourceGroupBuilder Class Reference

Represents a Source Group Builder.

Inheritance diagram for SourceGroupBuilder:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_source_group_builder.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=c15bae152fef5739894da1adfe1fd4f0)

## Public Member Functions

| Type | Name |
| - | - |
| 'None' | [AddSources](#ac46b654bd2f52fe74f58eb1a703e7db2) (self, vSources) Adds sources into the simulation. |
| 'None' | [RemoveSources](#a4d6030ef50affd799fe288378141b988) (self, vSources) Deletes sources from the simulation. |

> [accordion] Public Member Functions inherited from FeatureBuilder
>
> Public Member Functions inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | 'None' | [Commit](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a77581800008ea3179049e650e9d1787b) (self) Commits any edits that have been applied to the builder. |
> | 'None' | **ShowResult** (self) Updates the feature to reflect the result of an edit to the feature for all builders that support showing results. |

## Static Public Attributes

| Type | Name |
| - | - |
| str | [Sources](#ab92ca9039d7a8b5a994638c850715e8a) = property(fget=\_\_GetSources) Gets source features. |

> [accordion] Static Public Attributes inherited from FeatureBuilder
>
> Static Public Attributes inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | str | [Feature](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#af5dac7005c95ef44c2b66d7270709d0b) = property(fget=\_\_GetFeature) Returns the feature being edited, or the created feature if the builder is being used in creation mode. |
> | str | [FullName](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a6aac8aea55e1f962045d07a12b6569ea) = property(fget=\_\_GetFullName) Gets the full name of the feature being edited. |
> | str | [Name](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a19218d0239b929ca8aecfa629d0185d0) = property(fget=\_\_GetName, fset=\_\_SetName) Gets or sets the name of the feature being edited. |
> | str | [NameWithContext](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a89ee075a30b71ff6e3192d6bd6dd5515) = property(fget=\_\_GetNameWithContext) Gets the name with context of the feature being edited. |

## Detailed Description

Represents a Source Group Builder.

The Source Group Builder is used to group several sources in the same group.

To create a new instance of this class, use FeatureCollection::CreateSourceGroupBuilder

## Member Function Documentation

### AddSources()

```python theme={null}
'None' AddSources(
    self,
    vSources
)
```

Adds sources into the simulation.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | sources | : List of Feature object |

**Returns**

void.

### RemoveSources()

```python theme={null}
'None' RemoveSources(
    self,
    vSources
)
```

Deletes sources from the simulation.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | sources | : List of Feature object |

**Returns**

void.

## Member Data Documentation

### Sources

```python theme={null}
str Sources = property(fget=__GetSources)
```

`static`

Gets source features.

Gets the current source features that are in the simulation.\


**Value type**: List of Feature object.

The documentation for this class was generated from the following file:

* **SpeosNX.py**
