User Tools

Site Tools


DzCategoryAssetContainer

A container type for assets that are assigned a particular classification.

More...

Inherits :

Properties

DAZ Script
BooleanisVendor

Methods

DAZ Script
ArraygetAssetsInCategory ( Boolean userFacing=true, Boolean installed=true )
StringgetPath ()
voidupdateRow ()

Detailed Description

The “Category” container type serves to provide a means of working with assets that share qualities or characteristics without moving the actual files on disk; moving or renaming files on disk breaks the correlation between the file and the asset that represents it.

See Also:

Properties


Boolean : isVendor

Holds whether this category is owned by a vendor or by the user. (Read Only)

Since:

  • 4.9.3.110

Methods


Array : getAssetsInCategory( Boolean userFacing=true, Boolean installed=true )

Parameter(s):

  • userFacing - Whether or not to limit the list to user-facing assets.
  • installed - Whether or not to limit the list to installed assets.

Return Value:

  • A list of assets associated with the path of this container, matching the criteria specified.

See Also:

Since:

  • 4.9.3.56

String : getPath()

Return Value:

  • The full path of the category that this container represents.

Since:

  • 4.9.2.48

void : updateRow()

Updates the container using the data that is currently stored in the database.