DAZ Script | |
---|---|
Boolean | deleteFile () |
DzContentFolder | getFolder () |
DzContentFile | getNext () |
void | reloadIcon () |
Boolean | rename ( String newName ) |
Represents a file in the content library that can be loaded/imported. Also provides functionality for moving the file to a new location, renaming the file, and deleting the file from the library.
See Also:
Holds whether or not the file can be deleted. (Read Only)
Holds whether or not the file can be renamed. (Read Only)
Holds whether or not a companion file is a script file. (Read Only)
Holds the path of the companion script for non-native files. (Read Only)
Holds the full path of the file. (Read Only)
Holds whether or not a non-native file has a native companion file. (Read Only)
Holds whether or not a non-native file has a companion script file. (Read Only)
Holds the icon for the file. (Read Only)
Holds whether or not the file is a native content file . (Read Only)
Holds whether or not the file is a script file . (Read Only)
Holds the label of the file, as displayed to the user. (Read Only)
Holds the name of the file. (Read Only)
Holds the small icon for the file. (Read Only)
Boolean : deleteFile()
Removes this file from its content folder. The default implementation of this function deletes the content file and any associated thumbnail image from the disk, so use with care!
Return Value:
true
if the file was removed successfully, otherwise false
.Return Value:
DzContentFile : getNext()
Return Value:
void : reloadIcon()
Force the file to reload its icon.
Boolean : rename( String newName )
Rename the file to the given name.
Parameter(s):
Return Value:
true
if the file was successfully renamed, otherwise false
.