Thread: RE: Screen Grab
View Single Post
  #1  
Old 04-13-2011, 07:14 AM
nige777 nige777 is offline
Member
 
Join Date: Nov 2007
Location: UK
Posts: 78
RE: Screen Grab

I found a very useful sounding screen-grabbing plug-in on the Viz 2.5 forum -

http://forum.worldviz.com/showthread.php?t=710

However if I try and use it with Viz 4 I get
Code:
Loading File: tut_ground.wrl
** Load Time: 0.16 seconds
Traceback (most recent call last):
  File "C:\Program Files\WorldViz\Vizard4\python\vizact.py", line 3315, in _callGroup
    val = e.call(arg)
  File "C:\Program Files\WorldViz\Vizard4\python\vizact.py", line 3132, in _callStatic
    return func(*args,**kwargs)
  File "C:\Users\APD\Documents\Nige_PHD\Vizard_Python Development\VizardScreenCapturePlugin\testCaptureScreen.py", line 15, in captureScreen
    width,height,data = vizcapture.captureScreen()
AttributeError: 'module' object has no attribute 'captureScreen'

I've placed the new VideoCapture.dll in the DLL folder but I'm still having no luck however I've noticed that there is a VizCapture.pyd file in there which wasn't in Viz 3, therefore as I can get it working with Viz 3 I am presuming it needs re-jigging for 4??
Is that correct??

Last edited by nige777; 04-13-2011 at 07:23 AM. Reason: bad grammer!
Reply With Quote