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

# Struct Obj

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

This struct implements Obj.

```csharp theme={null}
public struct Obj
```

#### Extension Methods

[GroupAPI.ApplyGroup(Obj, IEnumerable\<Obj>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.GroupAPI.md#VM_API_Pre_GroupAPI_ApplyGroup_VM_API_Pre_Obj_System_Collections_Generic_IEnumerable_VM_API_Pre_Obj__),
[OperationAPI.ChangeEnableState(Obj, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_ChangeEnableState_VM_API_Pre_Obj_System_Boolean_),
[OperationAPI.ChangeInterface(Obj, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_ChangeInterface_VM_API_Pre_Obj_System_Boolean_),
[SolidBodyAPI.ChangeSolidBodyAnalysisSetting(Obj, BodyAnalysisType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.SolidBodyAPI.md#VM_API_Pre_SolidBodyAPI_ChangeSolidBodyAnalysisSetting_VM_API_Pre_Obj_VM_Managed_DAFUL_BodyAnalysisType_),
[OperationAPI.ChangeVisibleState(Obj, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_ChangeVisibleState_VM_API_Pre_Obj_System_Boolean_),
[SolidBodyAPI.CreateMarker(Obj, TMatrix, string, SymmetricType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.SolidBodyAPI.md#VM_API_Pre_SolidBodyAPI_CreateMarker_VM_API_Pre_Obj_VM_TMatrix_System_String_VM_Managed_SymmetricType_),
[SolidBodyAPI.CreateMeshFile(Obj, string, string, bool, bool, bool, string, FacetParameters?)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.SolidBodyAPI.md#VM_API_Pre_SolidBodyAPI_CreateMeshFile_VM_API_Pre_Obj_System_String_System_String_System_Boolean_System_Boolean_System_Boolean_System_String_System_Nullable_VM_API_Pre_FacetParameters__),
[BodyAPI.CreateMeshFileInPart(Obj, string, bool, FacetParameters?)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.BodyAPI.md#VM_API_Pre_BodyAPI_CreateMeshFileInPart_VM_API_Pre_Obj_System_String_System_Boolean_System_Nullable_VM_API_Pre_FacetParameters__),
[MaterialAPI.CreateSplineForMaterial(Obj, IEnumerable\<SplineData.Point>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.MaterialAPI.md#VM_API_Pre_MaterialAPI_CreateSplineForMaterial_VM_API_Pre_Obj_System_Collections_Generic_IEnumerable_VM_Managed_DAFUL_SplineData_Point__),
[OperationAPI.Delete(Obj)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_Delete_VM_API_Pre_Obj_),
[OperationAPI.Duplicate(Obj)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_Duplicate_VM_API_Pre_Obj_),
[OperationAPI.Flip(Obj)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_Flip_VM_API_Pre_Obj_),
[TireAPI.Reload(Obj, string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.TireAPI.md#VM_API_Pre_TireAPI_Reload_VM_API_Pre_Obj_System_String_),
[OperationAPI.SetTransparency(Obj, ExpressionValueVariable)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_SetTransparency_VM_API_Pre_Obj_VM_Models_Pre_ExpressionValueVariable_),
[SolidBodyAPI.UpdateBody(Obj)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.SolidBodyAPI.md#VM_API_Pre_SolidBodyAPI_UpdateBody_VM_API_Pre_Obj_),
[OperationAPI.UpdateCADName(Obj, string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_UpdateCADName_VM_API_Pre_Obj_System_String_),
[OperationAPI.UpdateName(Obj, string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_UpdateName_VM_API_Pre_Obj_System_String_),
[OperationAPI.UpdateSymmetric(Obj, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.OperationAPI.md#VM_API_Pre_OperationAPI_UpdateSymmetric_VM_API_Pre_Obj_System_Boolean_)

## Constructors

### Obj(string)

Initializes a new instance of the [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md) class.

```csharp theme={null}
public Obj(string name)
```

#### Parameters

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

The name of object.

### Obj(string, IContainer)

Initializes a new instance of the [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md) class.

```csharp theme={null}
public Obj(string name, IContainer container)
```

#### Parameters

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

The name of the object.

`container` IContainer

The container of the object.

#### Exceptions

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

Will be thrown if 'name' or 'container' arguments are empty.

### Obj(UIntPtr)

Initializes a new instance of the [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md) class.

```csharp theme={null}
public Obj(UIntPtr key)
```

#### Parameters

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

The key of the object.

### Obj(ConvertKey)

Initializes a new instance of the [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md) class.

```csharp theme={null}
public Obj(ObjectBase.ConvertKey key)
```

#### Parameters

`key` ObjectBase.ConvertKey

The key of the object.

## Properties

### NullObj

The null object.

```csharp theme={null}
public static Obj NullObj { get; }
```

#### Property Value

[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md)

### Object

The object.

```csharp theme={null}
public ObjectBase Object { get; }
```

#### Property Value

ObjectBase

## Methods

### Destroy()

Destroy object and remove from document

```csharp theme={null}
public void Destroy()
```

## Operators

### implicit operator Obj(UIntPtr)

```csharp theme={null}
public static implicit operator Obj(UIntPtr key)
```

#### Parameters

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

#### Returns

[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md)

### implicit operator Obj(ConvertKey)

```csharp theme={null}
public static implicit operator Obj(ObjectBase.ConvertKey key)
```

#### Parameters

`key` ObjectBase.ConvertKey

#### Returns

[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md)

### implicit operator Obj(string)

```csharp theme={null}
public static implicit operator Obj(string name)
```

#### Parameters

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

#### Returns

[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md)
