Classes

Method XbpPartHandler():childFromName() Foundation

Returns an Xbase Part from the child list based on a numeric ID.

Syntax
:childFromName( <nNameID> ) --> oXbp | NIL
Parameters
<nNameID>
<nNameID> is a numeric value defined for an Xbase Part using the method :setName().
Return

This method returns the Xbase Part in the child list of self(the Xbase Part executing the method) that has the numeric ID <nNamID>. If no matching XBP is found, the return value is NIL.

Description

The method :childFromName() "finds" the Xbase Part that was associated with a unique, numeric value using the method :setName(). This method searches the child list of the parent (self) and continues the search in the child lists of the children if the matching XBP is not found in the child list of the parent.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.