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

# Class CreateMarker

Namespace: [VM.Managed.DAFUL.Operation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Operation)\
Assembly: VMOpCore.dll

Create marker class

```csharp theme={null}
public class CreateMarker
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[CreateMarker](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Operation.CreateMarker.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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-r1/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-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### CreateMarker()

```csharp theme={null}
public CreateMarker()
```

## Methods

### CreateMarkerOnBody(Document, IConnectable, TransformBase, string, bool)

Create the marker

```csharp theme={null}
public static Marker CreateMarkerOnBody(Document document, IConnectable conParent, TransformBase transform, string name, bool isPrefix = true)
```

#### Parameters

`document` Document

The document

`conParent` IConnectable

The parent body

`transform` TransformBase

The transform

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

The name

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

#### Returns

Marker

### CreatePartMarkerOnBody(Document3D, IPartMarkerParent, TransformBase, string)

Create the marker in part

```csharp theme={null}
public static Marker CreatePartMarkerOnBody(Document3D activeDocument, IPartMarkerParent conParent, TransformBase transform, string strPrefixName)
```

#### Parameters

`activeDocument` Document3D

The document

`conParent` IPartMarkerParent

The parent body

`transform` TransformBase

The transform

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

The pre-fix name

#### Returns

Marker
