> ## 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.

# FolderBuilder Class Reference

Represents a Folder Builder.

Inheritance diagram for FolderBuilder:

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

## Public Member Functions

| Type | Name |
| - | - |
| 'None' | [Remove](#a12f4e2916ea81a1db85709bc53d9d0fe) (self, \*args) Removes the specified feature object from the folder. |
| 'bool' | [Add](#a3edde4a5462dcfe792466658461faea7) (self, feature) Adds the specified feature object into the folder. |
| 'bool' | [Insert](#ac018548ba37f67d204490f4206c6ffe4) (self, feature, after=None) Inserts the specified feature object into the folder after another specified feature. |
| 'bool' | [IsCompatible](#a69d01418cd8ff56cad7fe5412477c828) (self, feature) Checks if the specified feature object is compatible with this folder. |

> [accordion] Public Member Functions inherited from FeatureBuilder
>
> Public Member Functions inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | 'None' | **ShowResult** (self) Updates the feature to reflect the result of an edit to the feature for all builders that support showing results. |

> [accordion] Public Member Functions inherited from Builder
>
> Public Member Functions inherited from [Builder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_builder.md)
>
> | Type | Name |
> | - | - |
> | 'None' | [Commit](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_builder.md#a77581800008ea3179049e650e9d1787b) (self) Commits any edits that have been applied to the builder. |

## Static Public Attributes

| Type | Name |
| - | - |
| str | [Category](#ad118727ac7e398ef5e18f05f5e47adeb) = property(fset=\_\_SetCategory) Gets or sets the category type of the folder. |
| str | [Features](#a55f34dfc86771ae2333c08b4113d26b6) = property(fget=\_\_GetFeatures, fset=\_\_SetFeatures) Gets or sets features belonging to this folder. |

> [accordion] Static Public Attributes inherited from FeatureBuilder
>
> Static Public Attributes inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | str | [Feature](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_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-r2/class_speos_n_x__2412_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-r2/class_speos_n_x__2412_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-r2/class_speos_n_x__2412_1_1_feature_builder.md#a89ee075a30b71ff6e3192d6bd6dd5515) = property(fget=\_\_GetNameWithContext) Gets the name with context of the feature being edited. |
> | str | [Status](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_feature_builder.md#abfd5ba295bea008a0edf2f1a85bc6368) = property(fget=\_\_GetStatus) Returns the status of the feature being edited. |

## Properties

| Type | Name |
| - | - |
| | **thisown** = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |

> [accordion] Properties inherited from FeatureBuilder
>
> Properties inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | | **thisown** = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |

> [accordion] Properties inherited from Builder
>
> Properties inherited from [Builder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_builder.md)
>
> | Type | Name |
> | - | - |
> | | **thisown** = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |

## Detailed Description

Represents a Folder Builder.

The Folder Builder creates or edits Folder features. \


To create a new instance of this class, use FeatureCollection.CreateFolderBuilder.\


## Member Function Documentation

### Add()

```python theme={null}
'bool' Add(
    self,
    feature
)
```

Adds the specified feature object into the folder.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | feature | the feature object. |

**Returns**

True if successfully added into the folder; Otherwise, returns False.

### Insert()

```python theme={null}
'bool' Insert(
    self,
    feature,
    after = None
)
```

Inserts the specified feature object into the folder after another specified feature.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | feature | the feature object to add. |
| \[in] | after | a feature object after which the feature object should be insert. |

**Returns**

True if successfully inserted into the folder; Otherwise, returns False.

### IsCompatible()

```python theme={null}
'bool' IsCompatible(
    self,
    feature
)
```

Checks if the specified feature object is compatible with this folder.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | feature | the feature object. |

**Returns**

True if the specified feature object is compatible with this folder; Otherwise, returns False.

### Remove()

```python theme={null}
'None' Remove(
    self,
    * args
)
```

Removes the specified feature object from the folder.

The specified feature object must be a member of the folder to be removed from it.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | feature | the feature object. |

## Member Data Documentation

### Category

```python theme={null}
str Category = property(fset=__SetCategory)
```

`static`

Gets or sets the category type of the folder.

The values are: \
&#x20;0 - None.\
&#x20;1 - Properties.\
&#x20;2 - Sources.\
&#x20;3 - Sensors.\
&#x20;4 - Simulations.\


**Value type: Integer.\
**

**The default value is None (0). A category type other than None (0) must be defined.**

### Features

```python theme={null}
str Features = property(fget=__GetFeatures, fset=__SetFeatures)
```

`static`

Gets or sets features belonging to this folder.

The Features property takes and returns a list of feature objects.\


**Value type**: List of Feature objects.\


The default value is an empty list.

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

* **SpeosNX\_2412.py**
