Hi!
compound attributes like this are basically coded shape nodes which have a to of different attributes and math in them so getAttr doesn't give any results because they would not be understandable to a human. But what you can do is look for the outgoing connections of your sweepMeshCreator node and filter them by object type "mesh" and you will get all the objects created by the sweepMeshCreator node.
Here is an example of how you can get and print the shapes created by all the sweepMeshCreator nodes in the scene:
string $sMC[] = `ls -type "sweepMeshCreator"`;
for ($s in $sMC){
string $conn[] = `listConnections -t "mesh" -sh true $s`;
print $conn;
}
If you want to do it for just a specific sweepMeshCreator node, you can change the first line. Also if you want the transforms of the sweepmeshes instead of the shapes, just change the -sh flag in line 3 to false.
I hope it helps!