I don't know if this is the best way, but I see the TextureOp has a port connection to the texture support, so you could do something like this http://wp.me/powV4-1TF
On Wed, Jan 15, 2014 at 10:44 AM, Eugen Sares <[email protected]> wrote: > 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 >> >> >> > > ------------------------------ > <http://www.avast.com/> > > Diese E-Mail ist frei von Viren und Malware, denn der avast! > Antivirus<http://www.avast.com/>Schutz ist aktiv. > >

