hello,
when I use jlink to visit all the components in assembly, I only can visit the first level components. if one component is also assembly, how to visit it's child? Thanks!!!!!
the code is as follows:
try {
komponenty = assembly.ListFeaturesByType(Boolean.TRUE, FeatureType.FEATTYPE_COMPONENT);
for (int i = 0; i < komponenty.getarraysize(); i++){
String komponent = komponenty.get(i).GetName().toString();
}
}
catch (jxthrowable x){
}
when I use jlink to visit all the components in assembly, I only can visit the first level components. if one component is also assembly, how to visit it's child? Thanks!!!!!
the code is as follows:
try {
komponenty = assembly.ListFeaturesByType(Boolean.TRUE, FeatureType.FEATTYPE_COMPONENT);
for (int i = 0; i < komponenty.getarraysize(); i++){
String komponent = komponenty.get(i).GetName().toString();
}
}
catch (jxthrowable x){
}