parameters: (self, obj)
return_statement: return None
docstring: returns a volume to be subtracted
docstring_summary: returns a volume to be subtracted
docstring_tokens: returns a volume to be subtracted
function: def getSubVolume(self, obj):
          '''returns a volume to be subtracted'''
          if obj.Base:
              if hasattr(obj.Base, "Shape"):
                  if obj.Base.Shape.Solids:
                      return obj.Shape
                  else :
                      if hasattr(self, "sub"):
                          if self.sub:
                              return self.sub
                          else :
                              self.execute(obj)
                              return self.sub
                      else :
                          self.execute(obj)
                          return self.sub
          return None
function_tokens: def getSubVolume ( self , obj ) : if obj . Base : if hasattr ( obj . Base , "Shape" ) : if obj . Base . Shape . Solids : return obj . Shape else : if hasattr ( self , "sub" ) : if self . sub : return self . sub else : self . execute ( obj ) return self . sub else : self . execute ( obj ) return self . sub return None