TDProject.CreateTDProject (String, TDProjectType, Boolean, EntityID, EntityID, EntityID, TDProjectVersion, TDCustomisationMode, IDatabase) Method

Create a new 12d model project
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
string

the name of the 12d project

type
TDProjectType

the type of 12d project

from_existing
bool

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

project_id
EntityID

folder_id
EntityID

user_id
EntityID

the user creating the project

version
TDProjectVersion

customisation_mode
TDCustomisationMode

db
IDatabase

the db db to use

Return Value

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

In this article

Definition