Actually, the Geometry property is not marked as safe to use in scripted
ops.
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of Bernard Lebel
Sent: Tuesday, July 03, 2007 3:22 PM
To: XSI(at)Softimage.COM
Subject: Re: Scripted operator documentation
As soon as I use the Geometry property, I get the error. The object is
frozen and I can see the four stacks, is that correct? (I get the error
anyway with non-frozen mesh)
Bernard
On 7/3/07, Stephen Blair <Stephen_Blair(at)softimage.com> wrote:
> Works for me in 5.11.
>
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> Behalf Of Bernard Lebel
> Sent: Tuesday, July 03, 2007 2:59 PM
> To: XSI(at)Softimage.COM
> Subject: Re: Scripted operator documentation
>
> I keep getting this damn error, no matter if tried on polygon mesh or
> nurbs! Wtf??
>
> A 5.11 thing, maybe? Duh!
>
>
>
>
>
> On 7/3/07, Robert Moodie <rmoodie(at)buzzimage.com> wrote:
> > Yep!
> > I just tried exactly what you wrote and it works.
> >
> >
> >
> > > -----Original Message-----
> > > From: Bernard Lebel [mailto:3dbernard(at)gmail.com]
> > > Sent: Tuesday, July 03, 2007 2:24 PM
> > > To: XSI(at)Softimage.COM
> > > Subject: Re: Scripted operator documentation
> > >
> > > Ok let me see if I got this right:
> > >
> > >
> > > I select the object's primitive
> > > Right click > Set Scripted Opetator.
> > > I get the Outsurfmsh and Insurfmsh connections already created,
> > > both
>
> > > having sphere.surfmsh as the value.
> > > In the main pane, I put
> > >
> > > dim aPnts
> > > aPnts = Insurfmsh.Value.Geometry.Points.PositionArray
> > >
> > > Yet when I click Apply, I always get this error:
> > > 'ERROR : Object required: 'Insurfmsh.Value' - [line 2 in update
> > > code] 'ERROR : 2190 - The scripted operator connected to
> > > sphere.surfmsh produced a runtime error during its evaluation and
> > > will no longer be evaluated.
> > >
> > > Surely I'm missing something?
> > >
> > >
> > > Thanks!
> > > Bernard
> > >
> > >
> > >
> > >
> > > On 7/3/07, Martin Matzeder <xsi(at)booyabase.de> wrote:
> > > > If You have a inputport of the scop set to the activeprimitive:
> > > >
> > > > Inpolymsh.Value.Geometry.Points.PositionArray
> > > >
> > > > Martin
> > > >
> > > > Bernard Lebel schrieb:
> > > >
> > > > > [5.11]
> > > > >
> > > > > Hello,
> > > > >
> > > > > Is there an area of the SDK doc dedicated to scripted
> > > operators? It
> > > > > is my very first attempt at scops and I'm already lost.
> > > > >
> > > > > For instance, let say you apply a scop to a the shape
> > > animation stack.
> > > > > How do you get the mesh's PositionArray?
> > > > >
> > > > >
> > > > > Thanks
> > > > > Bernard
> > > > > ---
> > > > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the
> > > following text in
> > > > > body:
> > > > > unsubscribe xsi
> > > > >
> > > >
> > > > ---
> > > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the
> > > following text in body:
> > > > unsubscribe xsi
> > > >
> > > ---
> > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text
> > > in
>
> > > body:
> > > unsubscribe xsi
> > >
> >
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> body:
> > unsubscribe xsi
> >
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> body:
> unsubscribe xsi
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi