# Plate Thickness & Specifications functions | OpenStaad Python

> Plate thickness, material, and behavior specs (plane-stress, in-plane rotation, offsets) for shell elements.

Source: https://www.openstaad.com/docs/plate-thickness-specifications

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

## Create

### CreateElementIgnoreInplaneRotnSpec

**Description**

Creates the element ignore inplane rotn spec.

**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.CreateElementIgnoreInplaneRotnSpec()
print(result)
```

### CreateElementLocalZOffsetSpec

**Description**

Creates the element local z offset spec.

**Parameters**

- `node1_localz_offset` (float): node 1 localz offset.
- `node2_localz_offset` (float): node 2 localz offset.
- `node3_localz_offset` (float): node 3 localz offset.
- `node4_localz_offset` (float): node 4 localz offset.

**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.CreateElementLocalZOffsetSpec(1.0, 1.0, 1.0, 1.0)
print(result)
```

### CreateElementOffsetSpec

**Description**

Creates the element offset spec.

**Parameters**

- `offset_direction` (int): offset direction.
- `plate_node_index` (int): plate node index.
- `x_offset` (float): x offset.
- `y_offset` (float): y offset.
- `z_offset` (float): z offset.

**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.CreateElementOffsetSpec(1, 1, 1.0, 1.0, 1.0)
print(result)
```

### CreateElementPlaneStressSpec

**Description**

Creates the element plane stress spec.

**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.CreateElementPlaneStressSpec()
print(result)
```

### CreatePlateThicknessProperty

**Description**

Creates the plate thickness property.

**Parameters**

- `thickness_list` (list): thickness list.

**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.CreatePlateThicknessProperty([1, 2])
print(result)
```

## Get

### GetElementLocalOffset

**Description**

Returns the element local offset.

**Parameters**

- `plate_id` (int): plate id.
- `plate_node_index` (int): plate node index.

**Returns**

tuple: A tuple of `float` values, one per output slot.

**Example**

```python
from openstaad import ops

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

### GetElementOffSetSpec

**Description**

Returns the element off set spec.

**Parameters**

- `plate_id` (int): plate id.
- `plate_node_index` (int): plate node index.

**Returns**

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

**Example**

```python
from openstaad import ops

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

### GetElementOffsetSpecCount

**Description**

Returns the element offset 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.GetElementOffsetSpecCount()
print(result)
```

### GetPlateSectionPropertyRefNo

**Description**

Returns the plate section property ref no.

**Parameters**

- `PlateNo` (int): plate no.

**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.GetPlateSectionPropertyRefNo(1)
print(result)
```

### GetPlateThickness

**Description**

Returns the plate thickness.

**Parameters**

- `plate_no` (int): plate no.

**Returns**

list: A list of numbers (floats).

**Example**

```python
from openstaad import ops

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

### GetThicknessPropertyAssignedPlateCount

**Description**

Returns the thickness property assigned plate count.

**Parameters**

- `property_reference_id` (int): property reference 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.GetThicknessPropertyAssignedPlateCount(1)
print(result)
```

### GetThicknessPropertyAssignedPlateList

**Description**

Returns the thickness property assigned plate list.

**Parameters**

- `property_reference_id` (int): property reference id.

**Returns**

list: A list of integers.

**Example**

```python
from openstaad import ops

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

## Set/Assign

### AssignElementSpecToPlate

**Description**

Assigns the element spec to plate.

**Parameters**

- `plate_ids` (list): plate ids.
- `spec_no` (int): spec no.

**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.AssignElementSpecToPlate([1, 2], 1)
print(result)
```

### AssignPlateThickness

**Description**

Assigns the plate thickness.

**Parameters**

- `plate_ids` (list): plate ids.
- `thickness_property_id` (int): thickness property id.

**Returns**

bool: `True` if the call succeeded, `False` otherwise.

**Example**

```python
from openstaad import ops

s = ops.connect()
result = s.AssignPlateThickness([1, 2], 1)
print(result)
```

## Remove

### RemoveAllElementOffsetSpec

**Description**

Removes the all element offset spec.

**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.RemoveAllElementOffsetSpec()
print(result)
```

### RemoveElementIgnoreInplaneRotnSpecFromPlate

**Description**

Removes the element ignore inplane rotn spec from plate.

**Parameters**

- `plate_id` (int): plate id.

**Returns**

bool: `True` if the call succeeded, `False` otherwise.

**Example**

```python
from openstaad import ops

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

### RemoveElementPlaneStressSpecFromPlate

**Description**

Removes the element plane stress spec from plate.

**Parameters**

- `plate_id` (int): plate id.

**Returns**

bool: `True` if the call succeeded, `False` otherwise.

**Example**

```python
from openstaad import ops

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