Jump to content

Recommended Posts

In some situations it is required to have access to the current project or design directory (e.g. when connecting other software tools and you need to know where the exchanged files are located). These paths can be received by the following global commands:
 


env()

resolveEnv($PROJECTDIR)

resolveEnv($DESIGNDIR)

Alternatively, the following is also allowed:
 


resolveEnv("$PROJECTDIR")

resolveEnv("$DESIGNDIR")

The first command env() can be simply typed into the console in order to see all environment variables.
The two other command examples return a string of the corresponding path. Such a string can be used e.g. as argument string for a computation (see the attached screenshot) or at any other place where a string (type FString) is expected.

 

post-8-0-07266500-1368688904_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...