Comparison table of 2.4x vs 2.5x scripting?

Hey guys, just wondering if there is a comparison table between old methods and new methods so when migrating a script from 2.4x I can just scan down a table rather than search the new api…

If not, is anyone interested in helping me make one?
I want to try and move blendedcities to 2.5 :slight_smile:

i don’t think there is a table but tips, yes
here is some:

  1. as migrating from python 2.6->3.1 there is a script in python to convert that from python
  2. as migrating from 2.4->2.5 i think you need blender heads :slight_smile:

Well the blendedcities script is about 12,000 lines :s

It probably is better to just learn the new API. After all 2.49 is dead. There is no going back unless you just want to live in the past. Also I have found other possibilities open up when you start to realize that you really can animate a lot more parameters in 2.5 than in the previous 2.49 series. This can alter script development, for the better, IMHO.

Blendercities, while very cool, has it’s own work-flow. I liked the immediate results but really could not leverage it for project work. Because you still have to build all the building/house etc… to make a unique cite/project. Otherwise they all look the same.

This is probably a good idea… but would have to wait until 2.5’s API is frozen… right now it seems very fluid.

When did you last have a play with it? I added city zoning on and a few other building libraries. You are right about having to make buildings but making a procedural building generator is really hard.

I do understand that 2.5 scripting is better. This thread is here because it would help me and other script developers update scripts.

Also is there any 2.50 python documentation in javadoc format like 2.49 http://www.blender.org/documentation/249PythonDoc/
Its very annoying searching for something at the moment in 2.50