NamedViews.itemByName Method
Parent Object:
NamedViewsDefined in namespace "adsk::core" and the header file is <Core/Application/NamedViews.h>
Description
Returns the specified named view using the name of the named view. The four standard named views ("TOP", "FRONT", "RIGHT", and "HOME") are not accessible through this method. For the predefined view use the properties on this collection that provide direct access to the specific named view.
Syntax
"namedViews_var" is a variable referencing a NamedViews object.returnValue = namedViews_var.itemByName(name)
|
"namedViews_var" is a variable referencing a NamedViews object.
#include <Core/Application/NamedViews.h>
returnValue = namedViews_var->itemByName(name);
|
Return Value
NamedView |
Returns null if the specified name was not found. |
Parameters
name |
string |
The name of the named view within the collection to return. |
Version
Introduced in version September 2023