=== modified file 'pcbnew/scripting/examples/createPcb.py'
--- pcbnew/scripting/examples/createPcb.py	2012-04-22 11:14:58 +0000
+++ pcbnew/scripting/examples/createPcb.py	2013-04-08 19:25:37 +0000
@@ -12,7 +12,7 @@
 # create a new module, it's parent is our previously created pcb
 module = MODULE(pcb)
 module.SetReference("M1")   # give it a reference name
-module.m_Reference.SetPos0(wxPointMM(-10,-10))
+module.GetReferenceObj().SetPos0(wxPointMM(-10,-10))
 pcb.Add(module)             # add it to our pcb
 m_pos = wxPointMM(50,50)
 module.SetPosition(m_pos)

=== modified file 'pcbnew/scripting/module.i'
--- pcbnew/scripting/module.i	2012-05-16 09:35:18 +0000
+++ pcbnew/scripting/module.i	2013-04-08 19:27:00 +0000
@@ -33,10 +33,10 @@
   %pythoncode
   {
      
-    def GetPads(self):		      return self.m_Pads
-    def GetDrawings(self):            return self.m_Drawings
-    def GetReferenceObj(self):	      return self.m_Reference
-    def GetValueObj(self):	      return self.m_Value
+    def GetPads(self):                return self.Pads()
+    def GetDrawings(self):            return self.GraphicalItems()
+    def GetReferenceObj(self):        return self.Reference()
+    def GetValueObj(self):            return self.Value()
      
     #def SaveToLibrary(self,filename):
     #  return SaveModuleToLibrary(filename,self)
@@ -52,10 +52,10 @@
     	
     	if type(itemC) is D_PAD:
     		item.thisown=0
-    		self.m_Pads.PushBack(itemC)
+    		self.GetPads().PushBack(itemC)
     	elif type(itemC) in [ TEXTE_PCB, DIMENSION, TEXTE_MODULE, DRAWSEGMENT,EDGE_MODULE]:
     		item.thisown = 0
-    		self.m_Drawings.PushBack(item)
+    		self.GetDrawings().PushBack(item)
   }
   
 }

=== modified file 'pcbnew/scripting/examples/createFPC40.py'
--- pcbnew/scripting/examples/createFPC40.py	2012-05-01 15:13:36 +0000
+++ pcbnew/scripting/examples/createFPC40.py	2013-04-08 19:35:22 +0000
@@ -13,7 +13,7 @@
 # create a new module, it's parent is our previously created pcb
 module = MODULE(pcb)
 module.SetReference("FPC"+str(pads))   # give it a reference name
-module.m_Reference.SetPos0(wxPointMM(-1,-1))
+module.GetReferenceObj().SetPos0(wxPointMM(-1,-1))
 pcb.Add(module)             # add it to our pcb
 m_pos = wxPointMM(50,50)
 module.SetPosition(m_pos)

