Skip to main content

IModel.GetDerivedFromRelationsOf Method

Namespace: NextDesign.Core

Description

If this model is an element derived from the specified model, all derived relations are obtained.
For example, if this model is an element derived from{element A}, you can obtain its derived relations by specifying{element A} as an argument.

This can be used for the following processing.

  • If there is a derived relationship between a requirement object and a specification object, obtain the relationship to the requirement object from the specification object side.

This method evaluates IContextOption.PlModelAccessMode.

If there is no corresponding relationship, it returns an empty collection.

Arguments

NameTypeDescription
oppositeIModelOther model
null cannot be specified.

Return value

  • IRelationshipCollection

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite