Monday, January 20, 2014

Difference between pyt and tbx

Difference between pyt and tbx

.Pyt and .Tbx are the two types of ArcGIS tool box developed in python.


Difference of Both is written below. 
.tbx


  • It is the old version of toolbox.
  • There is a graphical interface for defining parameters 
  • Have to Manually Generate text file, i.e. manually have to write code in a text file and save it as .py format. Well I used NotePadd++ for this.
  • Have to write stand alone script.
.pyt
  • It is the new version of toolbox.
  • Even Parameters are defined by coding. there is a positive and negative side of this, positive side is that for the programmers Control is in your hand Define parameters the way you want. where as for newbies this might be difficult, as this is new version of toolbox so not much resources are there on web.
  • Less limitations are there.
  • Interface coding is done in the same file as part of the whole program.


Note: The upper description is not mentioned by any official website, I have learned this by working with both. 

2 comments:

  1. I really love your blog, its really something written in easy words which is very helpful for new people in programming and GIS field.

    Thanku Muhammad Ali

    ReplyDelete