Is there a way to get a component by name if it is part of a subassembly? I've tried the following:
swAssy.GetComponentByName("RTBot1-3/Chassis-3/front bumper-2")
But GetComponentByName doesn't appear to return a component. The following does work for retrieving the highest level subassembly:
swAssy.GetComponentByName("RTBot1-3")
Is there something obvious I'm doing wrong?
Thanks,
-Jeremy Rand
Norman North High School Robotics Team
SolidworksApi macros