Skip to main content
Version: 2023.3

Create a Model Hierarchy

Description: Create the model hierarchy, link the specified model under the list of parent models.

Signature: add_parent_model(model_name, parent_models)

Parameters:

NameDirectionRequiredDescription
model_nameInYesThe name of the model to modify
parent_modelsInYesThe list of models to be added to the list of parents for this model

Sample:

`packageEditor.add_parent_model('Generic Ethernet Port',['Generic Chassis Model', 'Bridge Generic Model'])`