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

# Interface IAppHandle

Namespace: [VM.NX.Dialog](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.NX.Dialog)\
Assembly: VMDIDef.dll

```csharp theme={null}
public interface IAppHandle
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### Activate(UIntPtr, bool)

```csharp theme={null}
void Activate(UIntPtr obj, bool isActive)
```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Activate(List\<UIntPtr>, bool)

```csharp theme={null}
void Activate(List<UIntPtr> lstObj, bool isActive)
```

#### Parameters

`lstObj` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)>

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateFromExtern(UIntPtr, bool)

```csharp theme={null}
void ActivateFromExtern(UIntPtr obj, bool isActive)
```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateFromExternWithoutReset(UIntPtr, bool)

```csharp theme={null}
void ActivateFromExternWithoutReset(UIntPtr obj, bool isActive)
```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateWithoutReset(UIntPtr, bool)

```csharp theme={null}
void ActivateWithoutReset(UIntPtr obj, bool isActive)
```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ActivateWithoutReset(List\<UIntPtr>, bool)

```csharp theme={null}
void ActivateWithoutReset(List<UIntPtr> lstObj, bool isActive)
```

#### Parameters

`lstObj` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)>

`isActive` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### CalcCoordSys(string, XmlNode, XmlNode)

```csharp theme={null}
bool CalcCoordSys(string strPickResult, XmlNode nodeBaseCoordSys, XmlNode nodeActionCoordSys)
```

#### Parameters

`strPickResult` [string](https://learn.microsoft.com/dotnet/api/system.string)

`nodeBaseCoordSys` [XmlNode](https://learn.microsoft.com/dotnet/api/system.xml.xmlnode)

`nodeActionCoordSys` [XmlNode](https://learn.microsoft.com/dotnet/api/system.xml.xmlnode)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### DeleteObject(UIntPtr, bool)

```csharp theme={null}
bool DeleteObject(UIntPtr obj, bool isFirst)
```

#### Parameters

`obj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`isFirst` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### DistanceBetween2Points(UIntPtr, UIntPtr)

```csharp theme={null}
double DistanceBetween2Points(UIntPtr tagFrom, UIntPtr tagTo)
```

#### Parameters

`tagFrom` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`tagTo` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### FindInActiveModel(string)

```csharp theme={null}
UIntPtr FindInActiveModel(string strObjName)
```

#### Parameters

`strObjName` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

### GetDefaultName(string)

```csharp theme={null}
string GetDefaultName(string strHead)
```

#### Parameters

`strHead` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

### IsValidName(string, UIntPtr, UIntPtr)

```csharp theme={null}
bool IsValidName(string strName, UIntPtr tagContainer, UIntPtr tagObject)
```

#### Parameters

`strName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`tagContainer` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`tagObject` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RegisterStrDialogResult(int, XmlDocument)

```csharp theme={null}
void RegisterStrDialogResult(int nIDDialog, XmlDocument domResult)
```

#### Parameters

`nIDDialog` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`domResult` [XmlDocument](https://learn.microsoft.com/dotnet/api/system.xml.xmldocument)

### SetMultiDeleteObject(bool)

```csharp theme={null}
void SetMultiDeleteObject(bool bMulti)
```

#### Parameters

`bMulti` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### StartOperation(string)

```csharp theme={null}
void StartOperation(string strOpName)
```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

### StartOperation(string, string)

```csharp theme={null}
void StartOperation(string strOpName, string strOpInfo)
```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`strOpInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

### StartOperation(string, string, bool)

```csharp theme={null}
void StartOperation(string strOpName, string strOpInfo, bool bHistoryMerge)
```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`strOpInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

`bHistoryMerge` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### StartOperation(string, UIntPtr, string)

```csharp theme={null}
void StartOperation(string strOpName, UIntPtr ptrDoc, string strOpInfo)
```

#### Parameters

`strOpName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`ptrDoc` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

`strOpInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

### UpdateDisplay()

```csharp theme={null}
void UpdateDisplay()
```
