Create an analysis instance from a specification
model— Handle to the model
The instance is generated from the model specified in this argument.
properties— Stereotype properties which require values in the instance model
Each value for an instance in an instance model can be drawn from any stereotype in
any profile on the path. The structure of the property definition parameter accommodates
this approach. The definition is a structure with a field for each profile of interest.
The name of the field is the name of the profile. Each profile field is itself a
structure, which has a field per stereotype whose name is the name of the stereotype.
Each stereotype in turn is another structure that contains two fields, one called
properties, which specifies properties of interest and another
elementKinds which indicates the kinds of instance to which
the values corresponding to the properties are added. The
field is a structure that lists the required properties as Boolean fields; the name of
the field is the name of the property and the value indicates whether the field can be
set via the API. The
elementKinds field is a list of strings whose
value must be one of:
'Connector' to indicate the applicable elements.
name— Name of the instance
This is the name given to the instance generated from the model.
instance— The element instance
This function is part of the instance API that you can use to analyze the model
iteratively, element by element.
instance refers to the element
instance on which the iteration is being performed.