
# ICMP_Primitive interface

*No description yet.*

```csharp
public interface ICMP_Primitive : ICMP_PCBObject
```

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

**Inherits:** [ICMP_Object](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md) → [ICMP_PCBObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_PCBObject.md)

**Derived:** [ICMP_Arc](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Arc.md), [ICMP_Fill](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Fill.md), [ICMP_Group](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Group.md), [ICMP_Region](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Region.md), [ICMP_StackPrimitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_StackPrimitive.md), [ICMP_Text](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Text.md), [ICMP_Track](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Track.md)

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [EndLayer](#endlayer) | [ICMP_Layer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Layer.md) | get; set |  |
| [Location](#location) | [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md) | get; set |  |
| [Net](#net) | [ICMP_Net](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Net.md) | get; set |  |
| [Rotation](#rotation) | `double` | get; set |  |
| [StartLayer](#startlayer) | [ICMP_Layer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Layer.md) | get; set |  |
| [Visible](#visible) | `bool` | get; set |  |

### EndLayer

*No description yet.*

```csharp
ICMP_Layer GetEndLayer();
void SetEndLayer(ICMP_Layer argValue);
```

**Type:** [ICMP_Layer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Layer.md) · **Access:** read/write

The accessors are extension methods of `ICMP_PrimitiveHelper` (`using EDP;`).

### Location

*No description yet.*

```csharp
CMP_Point GetLocation();
void SetLocation(CMP_Point argValue);
```

**Type:** [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md) · **Access:** read/write

The accessors are extension methods of `ICMP_PrimitiveHelper` (`using EDP;`).

### Net

*No description yet.*

```csharp
ICMP_Net GetNet();
void SetNet(ICMP_Net argValue);
```

**Type:** [ICMP_Net](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Net.md) · **Access:** read/write

The accessors are extension methods of `ICMP_PrimitiveHelper` (`using EDP;`).

### Rotation

*No description yet.*

```csharp
double GetRotation();
void SetRotation(double argValue);
```

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

### StartLayer

*No description yet.*

```csharp
ICMP_Layer GetStartLayer();
void SetStartLayer(ICMP_Layer argValue);
```

**Type:** [ICMP_Layer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Layer.md) · **Access:** read/write

The accessors are extension methods of `ICMP_PrimitiveHelper` (`using EDP;`).

### Visible

*No description yet.*

```csharp
bool GetVisible();
void SetVisible(bool argValue);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetBoundingRect](#getboundingrect) | [CMP_Rect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Rect.md) |  |
| [GetDescription](#getdescription) | `string` |  |
| [GetLocalPoint](#getlocalpoint) | [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md) |  |
| [GetLocalRotation](#getlocalrotation) | `double` |  |
| [GetWorldPoint](#getworldpoint) | [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md) |  |
| [GetWorldRotation](#getworldrotation) | `double` |  |

### GetBoundingRect

*No description yet.*

```csharp
CMP_Rect GetBoundingRect();
```

**Returns:** [CMP_Rect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Rect.md)

Extension method of `ICMP_PrimitiveHelper` (`using EDP;`).

### GetDescription

*No description yet.*

```csharp
string GetDescription();
```

**Returns:** `string`

### GetLocalPoint

*No description yet.*

```csharp
CMP_Point GetLocalPoint(CMP_Point argWorldPoint);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argWorldPoint` | [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md) | value |

**Returns:** [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md)

Extension method of `ICMP_PrimitiveHelper` (`using EDP;`).

### GetLocalRotation

*No description yet.*

```csharp
double GetLocalRotation(double argWorldRotation);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argWorldRotation` | `double` | value |

**Returns:** `double`

### GetWorldPoint

*No description yet.*

```csharp
CMP_Point GetWorldPoint(CMP_Point argLocalPoint);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argLocalPoint` | [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md) | value |

**Returns:** [CMP_Point](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/CMP_Point.md)

Extension method of `ICMP_PrimitiveHelper` (`using EDP;`).

### GetWorldRotation

*No description yet.*

```csharp
double GetWorldRotation(double argLocalRotation);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argLocalRotation` | `double` | value |

**Returns:** `double`

## Inherited members

- From [ICMP_Object](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md): [Clone](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#clone), [CopyFrom](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#copyfrom), [GetObjectKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#getobjectkind), [GetTopParent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#gettopparent), [Handle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#handle), [ParentObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#parentobject)

## Returned by

[ICMP_PrimitiveList.Get](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_PrimitiveList.md#get)

## Accepted by

[ICMP_PrimitiveList.Add](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_PrimitiveList.md#add)
