ugh... sorry for the crappy avast logo... the free version does that.

I'd like to write a little command that applies a shared texture support
to all the selected objects. How else would I come by the new support's
name, then?
Thanks,
Eugen



------ Originalnachricht ------
Von: "Stephen Blair" <[email protected]>
An: [email protected]
Gesendet: 15.01.2014 16:29:53
Betreff: Re: CreateProjection() command return values

Hmm, PropertyName returns the right thing, but SupportName returns
nothing.

x = CreateProjection("cylinder", siTxtPlanarXY, siTxtDefaultSpherical,
"asdfasdfasdTexture_Ssdfupport", "Texture_Projection", null,
siRelDefault, null);
LogMessage( x.Value("SupportName") == null ) // TRUE

LogMessage( x.Count ); // 2
LogMessage( x(0) == "" ); // TRUE
LogMessage( x(1) ); // the name of the texture property



On Wed, Jan 15, 2014 at 9:31 AM, Eugen Sares <[email protected]>
wrote:
Hi, short question:
in JScript, how do I get the texture support object that the
CreateProjection() command returns (via ISIVTCollection)?
Just can't figure...

Thanks!
Best,
Eugen



---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz 
ist aktiv.
http://www.avast.com

Reply via email to