Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
393 Views, 3 Replies

Get Component in subassembly without iteration

Inside my assembly I have a subassembly called "MySubAssembly", which contains a component called "MyComponent".

I want to get a reference to MyComponent WITHOUT iterating through all components in MySubAssembly and trying to match names.

 

I'm sure that there is a function along the lines of CreatePathToComponent("MySubAssembly", "MyComponent") (the syntax is obviously incorrect) and that I have even used it at some point, but I'm unable to find it in my code or anything about it online.

 

Thanks in advance