Access Properties editor in template through scripting

We are trying to change the template property through script.
For example , We are trying to access properties editor for a component(Cylindrical Tank) in template through scripting.
Is there any way to do this?