Glad I could help ;-)
Matt From: [email protected] [mailto:[email protected]] On Behalf Of Steven Caron Sent: Monday, September 10, 2012 12:22 PM To: [email protected] Subject: Re: SDK : connecting an object to a matrix port on a shader i started using port groups and things are behaving... for now. thanks for you help matt ;) s On Mon, Sep 10, 2012 at 12:06 PM, Steven Caron <[email protected]<mailto:[email protected]>> wrote: i even changed it to ask for the input port by name... # xform = ctxt.GetInputValue("InGlobal").GetTransform2("") # AttributeError: 'float' object has no attribute 'GetTransform2' On Mon, Sep 10, 2012 at 11:53 AM, Steven Caron <[email protected]<mailto:[email protected]>> wrote: hey matt have you had any trouble where when you open a scene with a your custom operator in it, the inputport seems to be missing? it works fine initially. i have code that is failing because i am blindly assuming my first input, my only input, is always present and its failing. it says the input port is a 'float' and it doesn't have an a Transform attribute. I am using a single input of a global transform of an object, which i pull out the index i need based on the output port's name. any ideas why this doesn't persist? s

