Run just before a 12d model project is created - a non ok response should be returned if the event is to fail
Namespace:
SynergyServerScripting
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
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.
Parameters
- name
-
Type: string
- parent_id
-
Type: EntityID
- parent_is_folder
-
Type: bool
- version
-
Type: TDProjectVersion
- attribs
-
Type: List<AttributeInfo>
- database
-
Type: IDatabase
the database
- user_id
-
Type: EntityID
the user id
- client
-
Type: IClient
the connection to the client
- client_event_id
-
Type: long
the event id