Python to find an extent

Hi guys,

What is the python to find information in the information tab? My user is specifically looking for the extents or bounds.

Thanks,

Alan

GetActiveSource().GetInformation().bounds will return the bounds of the data. In general:

  • src.GetInformation() returns “global” information about a data object;
  • src.GetCellDataInformation() returns information about a dataset’s cells; and
  • src.GetPointDataInformation() returns information about a dataset’s points.

where src is any pipeline object.