IProject.GetModelByPath method

Namespace: NextDesign.Core

Description

Gets the model for the specified model hierarchy path from this project. Returns null if the model of the specified model hierarchy path does not exist.

If there are multiple matching model hierarchy paths, the model found first is returned.

argument

Name Type Description
path string Model hierarchy path

Null or empty string cannot be specified.

Return value

Exception

Name Exception Class Description
Invalid argument ExtensionArgumentException When null or empty string is specified for path