EyeonTips:Script/Reference/Applications/Fusion/Classes/Composition/MapPath

From VFXPedia

Jump to: navigation, search
  • Fusion 6.2 build 897 added MapPathSegments to work with strings that contain multiple directories. The return value is a table with all expanded paths while MapPath only expands the first segment and discards the rest.
==comp:MapPath("AllDocs:Settings;Fusion:Settings")
C:\Users\Public\Documents\eyeon\Fusion\Settings\
 
==comp:MapPathSegments("AllDocs:Settings;Fusion:Settings")
table: 0000000007889D40
	1 = C:\Users\Public\Documents\eyeon\Fusion\Settings
	2 = C:\Program Files\eyeon\Fusion 6.2\Settings