larry wrote:
> Paul,
> 
> If an object's show value evaluates to False, is there a way to exclude it 
> from the bandheight calculation, so as not to reserve the space when band 
> height's value is set to None for auto calculation? 

Please try this patch and let me know if it does it for you:

{{{
Index: reportWriter.py
===================================================================
--- reportWriter.py     (revision 5231)
+++ reportWriter.py     (working copy)
@@ -1776,7 +1776,7 @@
                for obj in objects:
                        obj_y = self.getPt(obj.getProp("y"))
                        obj_ht = obj.getProp("Height")
-                       if obj_ht is None:
+                       if obj_ht is None or obj.getProp("Show") == False:
                                continue
                        # object height is fixed.
                        obj_ht = self.getPt(obj_ht)

}}}

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to