Given a path, work out the id of the entity it finds - project, folder, file, or 12d model project

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetEntityFromPath( _ 
ByVal path As String, _ 
ByVal performer_id As EntityID, _ 
ByVal details As IWorkflowInstanceDetails, _ 
ByVal engine As PropertyExpressionEngine, _ 
ByVal db As IDatabase, _ 
ByRef found_id As EntityID, _ 
ByRef found_type As EntityType _ 
) As Boolean
This language is not supported or no code example is available.
public static bool GetEntityFromPath( 
string path, 
EntityID performer_id, 
IWorkflowInstanceDetails details, 
PropertyExpressionEngine engine, 
IDatabase db, 
out EntityID found_id, 
out EntityType found_type 
)
This language is not supported or no code example is available.
public:  
static bool GetEntityFromPath( 
String^ path, 
EntityID^ performer_id, 
IWorkflowInstanceDetails^ details, 
PropertyExpressionEngine^ engine, 
IDatabase^ db, 
EntityID^& found_id, 
EntityType& found_type 
)
This language is not supported or no code example is available.
public static function GetEntityFromPath( 
path : String, 
performer_id : EntityID, 
details : IWorkflowInstanceDetails, 
engine : PropertyExpressionEngine, 
db : IDatabase, 
found_id : EntityID, 
found_type : EntityType 
) : boolean;
This language is not supported or no code example is available.

Parameters

path
Type: string

<default>

performer_id
Type: EntityID

who is performing the operation

details
Type: IWorkflowInstanceDetails

the details of our workflow

engine
Type: PropertyExpressionEngine

the engine to resolve properties

db
Type: IDatabase

<default>

found_id
Type: EntityID

the id of what we found

found_type
Type: EntityType

the type thing we found

Return Value

Type: bool

whether or not we found something

.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