IProject.GetModelByPath(string) method
Namespace: NextDesign.Core
Description
Gets the model for the specified model hierarchy path from this project.
Returns null if the model for the specified model hierarchy path does not exist.
Note that if there are multiple matching model hierarchy paths, the first model found will be returned.
Also, the specified model hierarchy path can use the character string specified by ModelPath of IModel.
argument
Name | Type | Description |
---|---|---|
path | string | Model hierarchy path You cannot specify null or an empty string. |
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or an empty string is specified for path |