Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the first child element in the specified layer and retrieves the model ID for the model to which that element belongs.
Syntax
server public static ModelId getFirstModelIdFromSubElements(
IdentifierName _name,
UtilElementType _type,
[UtilEntryLevel _layer])
Run On
Server
Parameters
- _name
Type: IdentifierName Extended Data Type
The name of the element for which the model information is required.
- _type
Type: UtilElementType Enumeration
The type of element for which the model information is required.
- _layer
Type: UtilEntryLevel Enumeration
The layer to query.
Return Value
Type: ModelId Extended Data Type
A model ID for the child element; otherwise, the #ModelId_Undefined value.