This page contains reference documentation for the ResolveRelativePath function. This function converts a relative file path to an absolute file path based on the current file open in Scenome.
string ResolveRelativePath( string RelativeFilePath )
Function parameters are as follows:
Examples are as follows:
NodeLink link = (NodeLink)Model.EditNode( node );
string temp = Application.ResolveRelativePath( link.PathToFile );
if( temp != "" )
{
link.PathToFile = temp;
}
For sample code: