Finds an object that is either a child
or a parent, that is of a given type, and that fulfills a condition. It
stops when it finds the first object.
Signature
When going up, the scan stops at the document border:
- Starting from a mechanical feature, it stops at the
PartFeature.
- Starting from an product instance, it does not go upper
than the product that owns it.
- Starting from a product reference, it means
nothing.
When going down, all the children in the tree are scanned and in
the case of a product, it crosses the instance/reference
border.
ObjectPath.FindObject(iSearchedType: String, iFromTop: Boolean]) : Feature
Arguments
Name | Input / Output | Required? | Type | Comment |
iSearchedType | In | Yes | String | - |
iFromTop | In | Yes | Boolean | - |