Skip to content

ProjectAssetSearch.Options

ClassAssetInventoryAssetInventory.Editor
public class ProjectAssetSearch.Options

Controls project search text, asset type, extension handling, result limits, tags, metadata, and optional usage calculation.

public string SearchPhrase

Returns

System.String

public string RawSearchType

Returns

System.String

public bool IgnoreExcludedExtensions

Returns

System.Boolean

public int MaxResults

Returns

System.Int32

public int CurrentPage

Returns

System.Int32

public string SearchWidth

Returns

System.String

public bool CheckMaxWidth

Returns

System.Boolean

public string SearchHeight

Returns

System.String

public bool CheckMaxHeight

Returns

System.Boolean

public string SearchLength

Returns

System.String

public bool CheckMaxLength

Returns

System.Boolean

public string SearchSize

Returns

System.String

public bool CheckMaxSize

Returns

System.Boolean

public string SearchVertexCount

Returns

System.String

public bool CheckMaxVertexCount

Returns

System.Boolean

public int SelectedImageType

Returns

System.Int32

public string[] ImageTypeOptions

Returns

System.String[]

public int SortField

Returns

System.Int32

public bool SortDescending

Returns

System.Boolean

public static ProjectAssetSearch.Options CreateDefault()

Creates options populated from the active catalog and current Asset Inventory configuration.

Returns

AssetInventory.ProjectAssetSearch.Options

public static ProjectAssetSearch.Options FromSavedSearch(SavedSearch savedSearch)

Creates executable search options from the supplied saved-search record.

Parameters

Name Type
savedSearch AssetInventory.SavedSearch

Returns

AssetInventory.ProjectAssetSearch.Options

public Options()