# Member Fireproofing functions | OpenStaad Python

> Fireproofing material and thickness on members — adds to self-weight for fire-rated assemblies; doesn’t change analytical stiffness.

Source: https://www.openstaad.com/docs/member-fireproofing

Every function is a method of the session `s = ops.connect()` (`from openstaad import ops`).

## Create

### CreateMemberFireProofingSpec

**Description**

Creates the member fire proofing spec.

**Parameters**

- `fire_proof_type` (int): fire proof type.
- `thickness_value` (float): thickness value.
- `density` (float): density.

**Returns**

raw: The raw return value from the underlying OpenSTAAD COM call. Refer to the official Bentley OpenSTAAD API reference for this method's exact return semantics.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.CreateMemberFireProofingSpec(1, 1.0, 1.0)
print(result)
```

## Get

### GetFireProofDataForBeam

**Description**

Returns the fire proof data for beam.

**Parameters**

- `beam_id` (int): beam id.

**Returns**

tuple: A tuple of `(int, float, float)`.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofDataForBeam(1)
print(result)
```

### GetFireProofedBeamCount

**Description**

Returns the fire proofed beam count.

**Parameters**

None.

**Returns**

raw: The raw return value from the underlying OpenSTAAD COM call. Refer to the official Bentley OpenSTAAD API reference for this method's exact return semantics.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofedBeamCount()
print(result)
```

### GetFireProofedBeamList

**Description**

Returns the fire proofed beam list.

**Parameters**

None.

**Returns**

list: A list of integers.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofedBeamList()
print(result)
```

### GetFireProofingSpecAssignedBeamCount

**Description**

Returns the fire proofing spec assigned beam count.

**Parameters**

- `index` (int): index.

**Returns**

raw: The raw return value from the underlying OpenSTAAD COM call. Refer to the official Bentley OpenSTAAD API reference for this method's exact return semantics.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofingSpecAssignedBeamCount(1)
print(result)
```

### GetFireProofingSpecAssignedBeamList

**Description**

Returns the fire proofing spec assigned beam list.

**Parameters**

- `index` (int): index.

**Returns**

list: A list of integers.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofingSpecAssignedBeamList(1)
print(result)
```

### GetFireProofingSpecCount

**Description**

Returns the fire proofing spec count.

**Parameters**

None.

**Returns**

raw: The raw return value from the underlying OpenSTAAD COM call. Refer to the official Bentley OpenSTAAD API reference for this method's exact return semantics.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofingSpecCount()
print(result)
```

### GetFireProofingSpecDetails

**Description**

Returns the fire proofing spec details.

**Parameters**

- `index` (int): index.

**Returns**

tuple: A tuple of `(int, float, float, int)`.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.GetFireProofingSpecDetails(1)
print(result)
```

## Remove

### RemoveMemberFireProofingSpecFromBeam

**Description**

Removes the member fire proofing spec from beam.

**Parameters**

- `beam_id` (int): beam id.

**Returns**

raw: The raw return value from the underlying OpenSTAAD COM call. Refer to the official Bentley OpenSTAAD API reference for this method's exact return semantics.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.RemoveMemberFireProofingSpecFromBeam(1)
print(result)
```
