> ## 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/lib/VM.Managed.DAFUL.Operation)\
Assembly: VMOpCore.dll

Create marker class

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

#### Inheritance

object ←
[CreateMarker](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/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/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

The name

`isPrefix` bool

#### Returns

[Marker](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/Marker.cs)

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

The pre-fix name

#### Returns

[Marker](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/Marker.cs)
