Load a state file which has many cutting planes (with user specified name). User wants to have a session file which can recognize the cutting planes' name and loop over them, e.g. get value, etc.


Something like this should work:

! $planes = getChildren("", "PLANE");
! @planeList = split(/,/, $planes );

! foreach $plane ( @planeList ) {
! @typeName = split(/:/, $plane );
! $name = @typeName[1];
! ($value, $units) = evaluate( "areaAve( p )@$name" );
! print"$value [$units]n";
! }





Show Form
No comments yet. Be the first to add a comment!