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 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 thumbnail for this file. (Read Only)
Since:
Holds the small thumbnail for this file. (Read Only)
Since:
Deprecated
Exists only to keep old code working. Do not use in new code. Use thumbnailPixmap instead.
Deprecated
Exists only to keep old code working. Do not use in new code. Use thumbnailSmallPixmap instead.
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
.