
# IEDM_ScriptAtomicGroupResult interface

*No description yet.*

```csharp
public interface IEDM_ScriptAtomicGroupResult : IEDM_Result
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

**Inherits:** [IEDM_Object](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Object.md) → [IEDM_Result](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Result.md)

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Command](#command) | [IEDM_ScriptCommandResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_ScriptCommandResult.md) | get; set |  |
| [HRID](#hrid) | `string` | get; set |  |

### Command

*No description yet.*

```csharp
IEDM_ScriptCommandResult GetCommand(int argIndex);
void SetCommand(int argIndex, IEDM_ScriptCommandResult argRecord);
```

**Type:** [IEDM_ScriptCommandResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_ScriptCommandResult.md) · **Access:** read/write · **Index:** `argIndex` (`int`)

The accessors are extension methods of `IEDM_ScriptAtomicGroupResultHelper` (`using DXP;`).

### HRID

*No description yet.*

```csharp
string GetHRID();
void SetHRID(string argValue);
```

**Type:** `string` · **Access:** read/write

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddCommand](#addcommand) | `void` |  |
| [ClearCommands](#clearcommands) | `void` |  |
| [DeleteCommand](#deletecommand) | `void` |  |
| [GetCommandCount](#getcommandcount) | `int` |  |

### AddCommand

*No description yet.*

```csharp
void AddCommand(IEDM_ScriptCommandResult argRecord);
void AddCommand(object argRecord);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argRecord` | [IEDM_ScriptCommandResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_ScriptCommandResult.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IEDM_ScriptAtomicGroupResultHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### ClearCommands

*No description yet.*

```csharp
void ClearCommands();
```

**Returns:** nothing (`void`)

### DeleteCommand

*No description yet.*

```csharp
void DeleteCommand(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

**Returns:** nothing (`void`)

### GetCommandCount

*No description yet.*

```csharp
int GetCommandCount();
```

**Returns:** `int`

## Inherited members

- From [IEDM_Result](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Result.md): [FaultCode](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Result.md#faultcode), [Message](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Result.md#message), [SetError](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Result.md#seterror), [Success](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Result.md#success)
- From [IEDM_Object](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Object.md): [CopyTo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Object.md#copyto), [Replicate](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_Object.md#replicate)

## Returned by

[IEDM_ScriptResult.AtomicGroup](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_ScriptResult.md#atomicgroup), [IEDM_ScriptResult.GetAtomicGroupByHRID](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_ScriptResult.md#getatomicgroupbyhrid)

## Accepted by

[IEDM_ScriptResult.AddAtomicGroup](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDM_ScriptResult.md#addatomicgroup)
