Thanks,
I was close.
I'm entering text into an Annotation via scripting, do you know how to feed a carriage return?
I've tried using
set oA = ActiveSceneRoot.AddProperty( "Annotation" , , "AnnotationName")
oA.text = "This is a comment" & vbCR & "second line"
But it comes back in one line (without an error mind you)
Thanks,
Adam.
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM
> [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Kim Aldis
> Sent: 24 May 2007 11:14
> To: XSI(at)Softimage.COM
> Subject: RE: Scripting - finding user name
>
> You can tap into the environment using XSIUtils.Environment(
> "<env var>" ).
> So:
>
> logmessage( XSIUtils.Environment( "USERNAME" ) );
>
> > -----Original Message-----
> > From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> > Behalf Of Adam Seeley
> > Sent: 24 May 2007 11:07
> > To: XSI(at)Softimage.COM
> > Subject: Scripting - finding user name
> >
> > Hi again,
> >
> > Also, within a script, how do I find the current user?
> >
> > I'm looking through the docs but "user" is a very vague word search.
> >
> > Cheers,
> >
> > Adam.
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.467 / Virus Database: 269.7.6 - Release Date:
> 20/05/2007
> > 00:00
> >
> >
> > ---
> > 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
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit
> http://www.messagelabs.com/email
> ______________________________________________________________________
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.6 - Release Date:
> 20/05/2007 00:00
>
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.6 - Release Date: 20/05/2007 00:00
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi