ServerEventScript.OnBeforeTDProjectCreated Method

Run just before a 12d model project is created - a non ok response should be returned if the event is to fail
Public Overridable Function OnBeforeTDProjectCreated( _ 
ByVal name As String, _ 
ByVal parent_id As EntityID, _ 
ByVal parent_is_folder As Boolean, _ 
ByVal version As TDProjectVersion, _ 
ByVal attribs As List(Of AttributeInfo), _ 
ByVal database As IDatabase, _ 
ByVal user_id As EntityID, _ 
ByVal client As IClient, _ 
ByVal client_event_id As Long
) As OperationResponse
This language is not supported or no code example is available.
public virtual OperationResponse OnBeforeTDProjectCreated( 
string name
EntityID parent_id
bool parent_is_folder
TDProjectVersion version
List<AttributeInfo> attribs
IDatabase database
EntityID user_id
IClient client
long client_event_id 
)
This language is not supported or no code example is available.
public:  
virtual OperationResponse^ OnBeforeTDProjectCreated( 
String^ name
EntityID^ parent_id
bool parent_is_folder
TDProjectVersion version
List<AttributeInfo^>^ attribs
IDatabase^ database
EntityID^ user_id
IClient^ client
long client_event_id 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

name
string

parent_id
EntityID

parent_is_folder
bool

version
TDProjectVersion

attribs
List<AttributeInfo>

database
IDatabase

the database

user_id
EntityID

the user id

client
IClient

the connection to the client

client_event_id
long

the event id

Return Value

OperationResponse

.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