padv.Query
Select set of artifacts from project
Description
A padv.Query
object represents a query that you can use to
select a set of artifacts from a project. Use the input arguments to define the set of
artifacts that the query selects. Queries can either be function-based or class-based. Use
FunctionHandle
to specify a function for a function-based query or use
inheritance for a class-based query. For more information, see Find Artifacts with Queries and Create Custom Queries.
Creation
Description
creates a query object with the name Q
= padv.Query(Name
)Name
.
specifies query properties using one or more name-value arguments. For example,
Q
= padv.Query(___,Name=Value
)DefaultArtifactType = "sl_model_file"
changes the default artifact
type for the query from a generic output file, "padv_output_file"
, to a
model file, "sl_model_file"
.