padv.builtin.query.FindRefModels Class
Namespace: padv.builtin.query
Superclasses: padv.Query
Query for finding referenced models
Description
This class requires CI/CD Automation for Simulink Check.
The padv.builtin.query.FindRefModels
class provides a query that can return
the referenced models in your project. A referenced model is a model that another model
references. You can automatically include or exclude certain models by using the optional
name-value arguments.
You can use this query in your process model to find referenced models for your tasks to
iterate over. To find the top models in your project, you can use padv.builtin.query.FindTopModels
instead.
The padv.builtin.query.FindRefModels
class is a handle
class.
Creation
Description
creates a query for finding the referenced models in your project.query
= padv.builtin.query.FindRefModels()
sets certain properties using one or more name-value arguments. For example to find
referenced models that include query
= padv.builtin.query.FindRefModels(Name=Value
)Control
in the full file path, you can
create and run the query
padv.builtin.query.FindRefModels(IncludePath="Control")
.
You can use this syntax to set property values for Name
,
IncludeLabel
, ExcludeLabel
,
IncludePath
, and ExcludePath
.
The padv.builtin.query.FindRefModels
class also has other properties, but you cannot set
those properties during query creation.
Properties
Methods
Examples
Capabilities and Limitations
This table identifies functionality that is supported by the query.
Functionality | Supported? |
---|---|
Input query for task | No. |
Iteration query for task | Yes. See IterationQuery. |