flatredball-glue-exportedinterfaces-iprojectcommands-makeabsolute
Introduction
Code Example
var currentElement = GlueState.Self.CurrentElement;
if(currentElement != null)
{
var elementNode = GlueState.Self.Find.ScreenTreeNode(screen);
var folderNode = elementNode.FilesTreeNode;
string relativePath = folderNode.GetRelativePath();
bool isContent = true;
string absolutePath = GlueCommands.Self.ProjectCommands.MakeAbsolute(
relativePath, isContent);
// do something with absolutePath here:
}Last updated
Was this helpful?