Thanks, Stephen, but I just cannot wrap my head around that code snippet
(I don't 'speak' Python too well) to get it to work in JScript.
Any chance you, or anybody, can throw me together those few lines of
code?

given: the name of the texture projection UVproperty (as this is the
only thing CreateProjection() returns).
wanted: the texture support object connected to the TextureOp inside the
projection.

Thanks so much!!
Best,
Eugen



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

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




--------------------------------------------------------------------------------
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus
Schutz ist aktiv.




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

Reply via email to