TDProject.CreateTDProject (String, TDProjectType, Boolean, EntityID, Boolean, EntityID, TDProjectVersion, 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 parent_id As EntityID, _ 
ByVal parent_is_folder As Boolean, _ 
ByVal user_id As EntityID, _ 
ByVal version As TDProjectVersion, _ 
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 parent_id
bool parent_is_folder
EntityID user_id
TDProjectVersion version
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^ parent_id
bool parent_is_folder
EntityID^ user_id
TDProjectVersion version
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateTDProject( 
name : String
type : TDProjectType
from_existing : boolean
parent_id : EntityID
parent_is_folder : boolean
user_id : EntityID
version : TDProjectVersion
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

parent_id
EntityID

the parent id

parent_is_folder
bool

whether or not the parent is a folder

user_id
EntityID

the user creating the project

version
TDProjectVersion

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