Hello,
I try to find parts in a BOM with the finder something like this.
found = scopeFinder.findByType(Metamodel.sysml.SysMLPart).and("definition.user_type", "Capacitor");
or found = scopeFinder.findByType(Metamodel.sysml.SysMLPart).and("theType.user_type", "Capacitor");
But this doesn't work.
A search like scopeFinder.findByType(Metamodel.sysml.SysMLPart).and("partNumber", "45903735");
and the access
found.asArray()[0].definition.label; works fine.
Are there any ideas, how to connect the corresponding library for the finder?
I look forward for the solution.
Happy scripting
Dieter