ConvertPathToRelative


Makes the path relative to inBasePath

Syntax

C++
Python
 
def ConvertPathToRelative(
	inPath: str,
	/,
	*,
	inBasePath: str | None = None
)
-> outPath: str

Parameters

Name Type Default Description
Input value inPath str absolute path
Input value inBasePath str | None None base path, by default the path of the project or where the program was executed in case of AVL
Output value outPath str the resulting relative path