Hmmmm... right.
(Like most people) You're using the python that comes with Softimage, the one that's not patched for dynamic dispatch.
I didn't think of that. I'll have to dive deep and fix this then.
Oh well, to be continued.

On 14-Jul-14 17:01, Tim Crowson wrote:
Thanks Francois, but perhaps I've installed it incorrectly... I get the camera primitive, but I get the following errors... I installed it via 'Install Addon...' and restarted Soft 2014 SP2, and I just get this:

/# ERROR : Traceback (most recent call last)://
//#   File "<Script Block 2>", line 97, in RealLens2Prop_DefineLayout//
//#     oLayout.clear()//
//# File "C:\Program Files\Autodesk\Softimage 2014 SP2\Application\python\Lib\site-packages\win32com\client\__init__.py", line 465, in __getattr__// //# raise AttributeError("'%s' object has no attribute '%s'" % (repr(self), attr))// //# AttributeError: '<win32com.gen_py.Softimage|XSI Object Model Library v1.5.PPGLayout instance at 0x545390152>' object has no attribute 'clear'// //# - [line 96 in \\fs1\g\_WORKGROUPS\softimage\2014\Addons\RealLens2\Application\Plugins\RealLens2.py]//
//# ERROR : Traceback (most recent call last)://
//#   File "<Script Block 2>", line 97, in RealLens2Prop_DefineLayout//
//#     oLayout.clear()//
//# File "C:\Program Files\Autodesk\Softimage 2014 SP2\Application\python\Lib\site-packages\win32com\client\__init__.py", line 465, in __getattr__// //# raise AttributeError("'%s' object has no attribute '%s'" % (repr(self), attr))// //# AttributeError: '<win32com.gen_py.Softimage|XSI Object Model Library v1.5.PPGLayout instance at 0x544332680>' object has no attribute 'clear'// //# - [line 96 in \\fs1\g\_WORKGROUPS\softimage\2014\Addons\RealLens2\Application\Plugins\RealLens2.py]//
//# ERROR : Traceback (most recent call last)://
//#   File "<Script Block 2>", line 284, in ApplyRealLens2_Execute//
//# oCProp = oCamera.AddProperty( "RealLens2Prop", False, "RealLens" )//
//#   File "<COMObject <unknown>>", line 3, in AddProperty//
//# File "C:\Program Files\Autodesk\Softimage 2014 SP2\Application\python\Lib\site-packages\win32com\client\dynamic.py", line 276, in _ApplyTypes_// //# result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args)// //# COM Error: OLE error 0x80020101 - [line 283 in \\fs1\g\_WORKGROUPS\softimage\2014\Addons\RealLens2\Application\Plugins\RealLens2.py]//
//# ERROR : OLE error 0x80020101//
//Application.ApplyRealLens2()/


-Tim

On 7/14/2014 3:41 PM, Francois Lord wrote:
Hi List.

I finally updated my old plugin RealLens, 9 years later (!).

It now creates a camera rig, applies the plugin on the camera and stays live on the camera.
https://s3.amazonaws.com/public.francoislord.com/RealLens2.1.xsiaddon

Get -> Primitive -> Camera -> RealLens2

We've been using it in production here at Oblique since Febuary. It seems to work fine. If you find any bugs or have any comments, feel free to ping me.

Cheers.

Francois

--
Signature



Reply via email to