Hello all,
I've written a plugin that can be ran on a buildlist, which output all ground devices and their properties in a csv file.
For some reason not all of the grounds are being captured. When I open the csv file, I notice that there are several grounds missing.
Can someone take a look at my code below to see if I've done something wrong?
for(IXBuildList buildlist : ixac.getSelectedObjects(IXBuildList.class)){
for(IXDesign des : buildlist.getDesigns()){
for(IXGround gnd : des.getConnectivity().getGrounds()){
String gndName = gnd.getAttribute("name");
for(IXValue prop : gnd.getProperties()){
String pName = prop.getName();
String pValue = prop.getValue();
cons.println("Ground: "+gndName+" Proterty: "+pName+" Value: "+pValue);
writeData(out, gndName, pName, pValue);
}
}
}
}
Thank you!