## Pass.CreatePartition

### Introduced

v7.0

### Description

Creates a new Partition object for the pass with a given name and partition type.

### C# Syntax

    Partition Pass.CreatePartition( String in_name, siPartitionType in_Type );

### Scripting Syntax

    oReturn = Pass.CreatePartition( Name, Type );

### Return Value

Partition

### Parameters

Parameter | Type | Description
--- | --- | ---
Name | String | The name of the partition to create. The name is automatically adjusted to avoid name conflicts with existing partitions of the same name.
Type | siPartitionType | The type of partition to create.