Create a new 12d model project

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function CreateTDProject( _ 
ByVal name As String, _ 
ByVal type As TDProjectType, _ 
ByVal from_existing As Boolean, _ 
ByVal project_id As EntityID, _ 
ByVal folder_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal version As TDProjectVersion, _ 
ByVal customisation_mode As TDCustomisationMode, _ 
ByVal db As IDatabase _ 
) As TDProjectInfo
This language is not supported or no code example is available.
public static TDProjectInfo CreateTDProject( 
string name, 
TDProjectType type, 
bool from_existing, 
EntityID project_id, 
EntityID folder_id, 
EntityID user_id, 
TDProjectVersion version, 
TDCustomisationMode customisation_mode, 
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static TDProjectInfo^ CreateTDProject( 
String^ name, 
TDProjectType type, 
bool from_existing, 
EntityID^ project_id, 
EntityID^ folder_id, 
EntityID^ user_id, 
TDProjectVersion version, 
TDCustomisationMode customisation_mode, 
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateTDProject( 
name : String, 
type : TDProjectType, 
from_existing : boolean, 
project_id : EntityID, 
folder_id : EntityID, 
user_id : EntityID, 
version : TDProjectVersion, 
customisation_mode : TDCustomisationMode, 
db : IDatabase 
) : TDProjectInfo;
This language is not supported or no code example is available.

Parameters

name
Type: string

the name of the 12d project

type
Type: TDProjectType

the type of 12d project

from_existing
Type: bool

are we creating a project from existing files? if we are, we don't need to create the project header etc

project_id
Type: EntityID

folder_id
Type: EntityID

user_id
Type: EntityID

the user creating the project

version
Type: TDProjectVersion

customisation_mode
Type: TDCustomisationMode

db
Type: IDatabase

the db db to use

Return Value

Type: TDProjectInfo

the created info

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1