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

parent_id
Type: EntityID

the parent id

parent_is_folder
Type: bool

whether or not the parent is a folder

user_id
Type: EntityID

the user creating the project

version
Type: TDProjectVersion

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