RE: In house Softimage hair broken?

2012-09-19 Thread Sandy Sutherland
We have a system based off melena that I have mentioned before, we modified it 
mainly because the dynamics side of melena did not really work for us, and we 
wanted to use the strnd dynamics setup as they work quite well - it did not 
stop there - our clever fur lead got hooked and eventually it turned into a 
feather system too!

The nodes we use are available as unsupported download - we can give pointers 
and help if asked, but anyone using them must realise we cannot develop 
anything based on what might be needed outside our scope.

There was a posting about it a while ago - if you cannot find the thread let me 
know and I can email you the link to the zip file.  Please note that the system 
does require melena being installed to work, as we use their hair to curves 
system.  BTW out of interest someone mentioned softimage fur being buggy - we 
have not really found that here - but we are still on 2011.5 so I wonder if 
there are new issues to do with 2012 and 2013 fur/hair.

Cheers

Sandy

_
Sandy Sutherland
Technical Supervisor
sandy.sutherl...@triggerfish.co.za
_





From: softimage-boun...@listproc.autodesk.com 
[softimage-boun...@listproc.autodesk.com] on behalf of Szabolcs Matefy 
[szabol...@crytek.com]
Sent: 19 September 2012 07:39
To: softimage@listproc.autodesk.com
Subject: RE: In house Softimage hair broken?

Both Melena and Kristinka has its strength and weakness…I wish the mixture of 
both :)

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Adam Sale
Sent: Wednesday, September 19, 2012 6:33 AM
To: softimage@listproc.autodesk.com
Subject: Re: In house Softimage hair broken?

I've been using Kristinka, but never tried Melena. I'll dig into it.
Thanks for the heads up..
Adam
On Tue, Sep 18, 2012 at 8:33 PM, Miquel Campos 
miquel.cam...@gmail.commailto:miquel.cam...@gmail.com wrote:

For Melena better check in http://rray.de/xsihttp://rray.de/xsi/  ;)


2012/9/18 Gene Crucean 
emailgeneonthel...@gmail.commailto:emailgeneonthel...@gmail.com
Yeah definitely look into Melena and Kristinka

http://www.matkovic.com/anto/kristinka-hair.html
http://opensource.nestanimation.com/melena.html


On Tue, Sep 18, 2012 at 8:18 PM, Ben Houston 
b...@exocortex.commailto:b...@exocortex.com wrote:
Melena, written by Helge and open sourced, is quite popular I
understand.  Haven't used it myself though.
-ben

On Tue, Sep 18, 2012 at 11:10 PM, Adam Sale 
adamfs...@gmail.commailto:adamfs...@gmail.com wrote:
 Its been a while since I've tried the Softimage hair, but I find it so
 ridiculously buggy, to be almost unusable in 2013.
 My main issue is with the grooming. It seems like if I turn on render hairs
 while styling the guides, after a few moves of tips, or whole strands, that
 other sections of hair I've groome, suddenly pop into a different position,
 or straighten...

 What the?

 Is anyone else experiencing this, and if so I hope its on the radar to
 fix...

 Granted, there are so many other hair solution out there today, but for
 quick jobs like the one I needed today, I tried old school, and it bit me.

 Adam


--
Best regards,
Ben Houston
Voice: 613-762-4113tel:613-762-4113 Skype: ben.exocortex Twitter: 
@exocortexcom
http://Exocortex.com - Passionate CG Software Professionals.



--
Gene Crucean - Emmy winning - Oscar nominated VFX Supervisor / iOS-OSX 
Developer / Filmmaker / Photographer
** Freelance for hire **
www.genecrucean.comhttp://www.genecrucean.com

~~ Please use my website's contact form on 
www.genecrucean.comhttp://www.genecrucean.com/ for any personal emails. 
Thanks. I may not get them at this address. ~~





RE: In house Softimage hair broken?

2012-09-19 Thread Szabolcs Matefy
Sandy, where your version is available for download? If it is...J

 

I'd give it a try in the near future...

 

 

Cheers

 

 

Szabolcs

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Sandy
Sutherland
Sent: Wednesday, September 19, 2012 8:55 AM
To: softimage@listproc.autodesk.com
Subject: RE: In house Softimage hair broken?

 

We have a system based off melena that I have mentioned before, we
modified it mainly because the dynamics side of melena did not really
work for us, and we wanted to use the strnd dynamics setup as they work
quite well - it did not stop there - our clever fur lead got hooked and
eventually it turned into a feather system too!

The nodes we use are available as unsupported download - we can give
pointers and help if asked, but anyone using them must realise we cannot
develop anything based on what might be needed outside our scope.

There was a posting about it a while ago - if you cannot find the thread
let me know and I can email you the link to the zip file.  Please note
that the system does require melena being installed to work, as we use
their hair to curves system.  BTW out of interest someone mentioned
softimage fur being buggy - we have not really found that here - but we
are still on 2011.5 so I wonder if there are new issues to do with 2012
and 2013 fur/hair.

Cheers

Sandy

 

_
Sandy Sutherland
Technical Supervisor
sandy.sutherl...@triggerfish.co.za
_







From: softimage-boun...@listproc.autodesk.com
[softimage-boun...@listproc.autodesk.com] on behalf of Szabolcs Matefy
[szabol...@crytek.com]
Sent: 19 September 2012 07:39
To: softimage@listproc.autodesk.com
Subject: RE: In house Softimage hair broken?

Both Melena and Kristinka has its strength and weakness...I wish the
mixture of both J

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Adam Sale
Sent: Wednesday, September 19, 2012 6:33 AM
To: softimage@listproc.autodesk.com
Subject: Re: In house Softimage hair broken?

 

I've been using Kristinka, but never tried Melena. I'll dig into it.

Thanks for the heads up..

Adam

On Tue, Sep 18, 2012 at 8:33 PM, Miquel Campos miquel.cam...@gmail.com
wrote:




For Melena better check in http://rray.de/xsi http://rray.de/xsi/   ;)

 

2012/9/18 Gene Crucean emailgeneonthel...@gmail.com

Yeah definitely look into Melena and Kristinka

 

http://www.matkovic.com/anto/kristinka-hair.html

http://opensource.nestanimation.com/melena.html

 

 

On Tue, Sep 18, 2012 at 8:18 PM, Ben Houston b...@exocortex.com wrote:

Melena, written by Helge and open sourced, is quite popular I
understand.  Haven't used it myself though.
-ben


On Tue, Sep 18, 2012 at 11:10 PM, Adam Sale adamfs...@gmail.com wrote:
 Its been a while since I've tried the Softimage hair, but I find it so
 ridiculously buggy, to be almost unusable in 2013.
 My main issue is with the grooming. It seems like if I turn on render
hairs
 while styling the guides, after a few moves of tips, or whole strands,
that
 other sections of hair I've groome, suddenly pop into a different
position,
 or straighten...

 What the?

 Is anyone else experiencing this, and if so I hope its on the radar to
 fix...

 Granted, there are so many other hair solution out there today, but
for
 quick jobs like the one I needed today, I tried old school, and it bit
me.

 Adam



--
Best regards,
Ben Houston
Voice: 613-762-4113 Skype: ben.exocortex Twitter: @exocortexcom
http://Exocortex.com - Passionate CG Software Professionals.





 

-- 
Gene Crucean - Emmy winning - Oscar nominated VFX Supervisor / iOS-OSX
Developer / Filmmaker / Photographer

** Freelance for hire **
www.genecrucean.com


~~ Please use my website's contact form on www.genecrucean.com
http://www.genecrucean.com/  for any personal emails. Thanks. I may
not get them at this address. ~~

 

 

 



My scene now thinks it was created with the student version...

2012-09-19 Thread Dan Yargici
Hi all.

I recently downloaded a scene (
http://wiki.brianmeanley.com/wiki/StrandsTools) that someone had made using
the student version of Soft and opened it by dragging it into the program.
 I then re-opened the scene I was working on and subsequently saved.  Now
every time I open my scene it warns be that it was created with the student
version, which it was not.

Bug?  Any way to clean out the rotten metadata?

Luckily I noticed quickly so I can go back a version or two but still...
not an ideal behavior!

Thanks,

Dan.


Re: My scene now thinks it was created with the student version...

2012-09-19 Thread Dan Yargici
Windows 7 -  Soft 2013 SP1 64bit

On Wed, Sep 19, 2012 at 1:57 PM, Dan Yargici danyarg...@gmail.com wrote:

 Hi all.

 I recently downloaded a scene (
 http://wiki.brianmeanley.com/wiki/StrandsTools) that someone had made
 using the student version of Soft and opened it by dragging it into the
 program.  I then re-opened the scene I was working on and subsequently
 saved.  Now every time I open my scene it warns be that it was created with
 the student version, which it was not.

 Bug?  Any way to clean out the rotten metadata?

 Luckily I noticed quickly so I can go back a version or two but still...
 not an ideal behavior!

 Thanks,

 Dan.



Re: Python: Getting a list of properties on any object..

2012-09-19 Thread Eric Thivierge
To my knowledge you can't print the OM methods or OM properties of the
objects through Python. Would be interested if you could by some crazy
voodoo.

Your question could be a bit confusing as well since certain objects do
have properties on them but those are properties like visibility, geo
approx, etc.


Eric Thivierge
http://www.ethivierge.com


Re: My scene now thinks it was created with the student version...

2012-09-19 Thread Rob Wuijster

will merging the scene help?


Rob

\/-\/\/

On 19-9-2012 14:58, Dan Yargici wrote:

Windows 7 -  Soft 2013 SP1 64bit

On Wed, Sep 19, 2012 at 1:57 PM, Dan Yargici danyarg...@gmail.com 
mailto:danyarg...@gmail.com wrote:


Hi all.

I recently downloaded a
scene (http://wiki.brianmeanley.com/wiki/StrandsTools) that
someone had made using the student version of Soft and opened it
by dragging it into the program.  I then re-opened the scene I was
working on and subsequently saved.  Now every time I open my scene
it warns be that it was created with the student version, which it
was not.

Bug?  Any way to clean out the rotten metadata?

Luckily I noticed quickly so I can go back a version or two but
still... not an ideal behavior!

Thanks,

Dan.


No virus found in this message.
Checked by AVG - www.avg.com http://www.avg.com
Version: 2012.0.2221 / Virus Database: 2441/5276 - Release Date: 09/18/12






Re: Python: Getting a list of properties on any object..

2012-09-19 Thread Stephen Blair
You could try this
http://softimage.wiki.softimage.com/index.php?title=Python_%28XSISDK%29#Python_Introspection


On Wed, Sep 19, 2012 at 9:10 AM, Eric Thivierge ethivie...@gmail.comwrote:

 To my knowledge you can't print the OM methods or OM properties of the
 objects through Python. Would be interested if you could by some crazy
 voodoo.

 Your question could be a bit confusing as well since certain objects do
 have properties on them but those are properties like visibility, geo
 approx, etc.

 
 Eric Thivierge
 http://www.ethivierge.com



Re: My scene now thinks it was created with the student version...

2012-09-19 Thread Stephen Blair
Nope.
I think you'll have to export out a model, and then import that.
I'd restart Softimage, just to make sure you don't have the student lic
flag set. It looks like you may have found a bug...the Softimage session
kept the student license flag even though you were running with a
commercial license.

On Wed, Sep 19, 2012 at 9:12 AM, Rob Wuijster r...@casema.nl wrote:

  will merging the scene help?

 Rob

 \/-\/\/

 On 19-9-2012 14:58, Dan Yargici wrote:

 Windows 7 -  Soft 2013 SP1 64bit

 On Wed, Sep 19, 2012 at 1:57 PM, Dan Yargici danyarg...@gmail.com wrote:

 Hi all.

  I recently downloaded a scene (
 http://wiki.brianmeanley.com/wiki/StrandsTools) that someone had made
 using the student version of Soft and opened it by dragging it into the
 program.  I then re-opened the scene I was working on and subsequently
 saved.  Now every time I open my scene it warns be that it was created with
 the student version, which it was not.

  Bug?  Any way to clean out the rotten metadata?

  Luckily I noticed quickly so I can go back a version or two but
 still... not an ideal behavior!

  Thanks,

  Dan.


 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2012.0.2221 / Virus Database: 2441/5276 - Release Date: 09/18/12






Re: My scene now thinks it was created with the student version...

2012-09-19 Thread Dan Yargici
OK, thanks Stephen (I should set this as my signature!)

Like I said, not a biggie this time, I just went back to a clean version.
 Good to know for the future though!

DAN


On Wed, Sep 19, 2012 at 2:18 PM, Stephen Blair stephenrbl...@gmail.comwrote:

 Nope.
 I think you'll have to export out a model, and then import that.
 I'd restart Softimage, just to make sure you don't have the student lic
 flag set. It looks like you may have found a bug...the Softimage session
 kept the student license flag even though you were running with a
 commercial license.


 On Wed, Sep 19, 2012 at 9:12 AM, Rob Wuijster r...@casema.nl wrote:

  will merging the scene help?

 Rob

 \/-\/\/

 On 19-9-2012 14:58, Dan Yargici wrote:

 Windows 7 -  Soft 2013 SP1 64bit

 On Wed, Sep 19, 2012 at 1:57 PM, Dan Yargici danyarg...@gmail.comwrote:

 Hi all.

  I recently downloaded a scene (
 http://wiki.brianmeanley.com/wiki/StrandsTools) that someone had made
 using the student version of Soft and opened it by dragging it into the
 program.  I then re-opened the scene I was working on and subsequently
 saved.  Now every time I open my scene it warns be that it was created with
 the student version, which it was not.

  Bug?  Any way to clean out the rotten metadata?

  Luckily I noticed quickly so I can go back a version or two but
 still... not an ideal behavior!

  Thanks,

  Dan.


 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2012.0.2221 / Virus Database: 2441/5276 - Release Date: 09/18/12







Re: Python: Getting a list of properties on any object..

2012-09-19 Thread Jules Stevenson
Cheers Stephen, that is frikking awesome. Don't go :(

On Wed, Sep 19, 2012 at 2:13 PM, Stephen Blair stephenrbl...@gmail.comwrote:

 You could try this

 http://softimage.wiki.softimage.com/index.php?title=Python_%28XSISDK%29#Python_Introspection



 On Wed, Sep 19, 2012 at 9:10 AM, Eric Thivierge ethivie...@gmail.comwrote:

 To my knowledge you can't print the OM methods or OM properties of the
 objects through Python. Would be interested if you could by some crazy
 voodoo.

 Your question could be a bit confusing as well since certain objects do
 have properties on them but those are properties like visibility, geo
 approx, etc.

 
 Eric Thivierge
 http://www.ethivierge.com





Re: Polygon Island orientation

2012-09-19 Thread Eric Lampi
Thanks for the suggestions, as these things often do, that request changed,
but I'll make it happen anyway. Otherwise it'll probably come back to haunt
me later.

Eric

On Tue, Sep 18, 2012 at 4:47 PM, Matt Lind ml...@carbinestudios.com wrote:

 If you’re using polygon islands, then you’re essentially doing
 deformations on a single mesh.  In which case the centers will not maintain
 alignment with each island because what you’re seeing are not the centers
 of the islands, but temporary manipulators.  This is normal and expected
 behavior.

 ** **

 Your best option is to split each polygon island into it’s own object so
 you can control them independently as objects.

 ** **

 If you insist on keeping them as polygon islands, a simple solution would
 be to create nulls to act as the centers of the polygon islands and assign
 the polygon islands to the nulls via an envelope.  You can then weight each
 vertex of each island 100% to it’s assigned null.  Your ICE Tree would then
 push the nulls around and the islands would simply tag along for the ride.
 

 ** **

 ** **

 Matt

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi
 *Sent:* Tuesday, September 18, 2012 12:03 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Polygon Island orientation

 ** **

 Is there any way to change a polygon island's center axis without moving
 the points on the attached instances?

 In the original geo, the points are oriented properly as are the original
 center points are pointing where I needed them, but since I am now using
 ICE to push them around, the particle points that are generated from the
 merged geo that the poly islands come from all orient global 0,0,0. Which
 was fine up until I was asked to constrain their orientation so that they Y
 axis is always pointed at the surface underneath.

 So they need to orient flat along the surface, like how they start out in
 example 1, example 2 shows what's happening as they fly away from the
 surface, their orientation does not stay flat. In example 3 you can see
 what happens when I orient the axis towards the globe's surface, they all
 flip.

 So I am a little stuck. After digging into the nodes I haven't found a
 place where I can make any changes to the orientation of the axis without
 the instances also flipping.

 Thoughts?

 Thanks,

 Eric


 --
 Freelance 3D and VFX animator




-- 
Freelance 3D and VFX animator


Particle rotation offset on deforming meshes

2012-09-19 Thread Fabricio Chamon
Hi,

I'm setting up a feather system for a bird based on particles.
The basic workflow has 2 stages:

1) grooming/styling
2) follow mesh deformations

step 1 generates an icecache file containing particle rotation and
polygon ref frame on the closest location on emitter at grooming
stage.
step 2 should load attributes from the cache and make particles follow
the deforming mesh (emitter).

how to I calculate the rotation offset that should be applied to the
feathers, so that it smoothly follows envelop deformations on th
eemitter ? It seemed easy to me at first, but I'm stuck...

from my basic math knowledge I tought subtracting poly ref frame at
gromming stage from poly ref frame at deforming stage should give me
the offsetted matrix, then just add this matrix rotation back to the
original feather rotation. but that doesn't look good on the viewport.

my particles are oriented in the Y axis (root to tip), pointing to the
X axis (upVector)

any ideas ?

thanks


Re: Particle rotation offset on deforming meshes

2012-09-19 Thread Fabricio Chamon
problem solved:

I had to multiply the original particle rotation by the inverse of the
rotation of the closest point on the emitter, then multiply the result
back again to the actual (deformed) rotation of the closest point on
the emitter.


Re: Particle rotation offset on deforming meshes

2012-09-19 Thread daniel sweeney
when trying to setup a feather system a while ago (which by the way i never
finished, i hope to soon if i ever get any free time to my self) i think
you can use stick to particle location? maybe. on a simulated tree.

well if i remember correctly that worked for me.

hope this helps.

cheers


Daniel Sweeney
3D Creative Director

*Tel:* +44 (0)1422 300066
*Mobile:* +44 (0)7743429771
*Email:* dan...@northforge.co.uk
*Web:* http://northforge.co.uk

Northforge Ltd

Registered in England and Wales |  07757507**

Office Suite D105, Dean Clough Mills, Halifax, HX3 5AX





On Wed, Sep 19, 2012 at 3:47 PM, Fabricio Chamon xsiml...@gmail.com wrote:

 Hi,

 I'm setting up a feather system for a bird based on particles.
 The basic workflow has 2 stages:

 1) grooming/styling
 2) follow mesh deformations

 step 1 generates an icecache file containing particle rotation and
 polygon ref frame on the closest location on emitter at grooming
 stage.
 step 2 should load attributes from the cache and make particles follow
 the deforming mesh (emitter).

 how to I calculate the rotation offset that should be applied to the
 feathers, so that it smoothly follows envelop deformations on th
 eemitter ? It seemed easy to me at first, but I'm stuck...

 from my basic math knowledge I tought subtracting poly ref frame at
 gromming stage from poly ref frame at deforming stage should give me
 the offsetted matrix, then just add this matrix rotation back to the
 original feather rotation. but that doesn't look good on the viewport.

 my particles are oriented in the Y axis (root to tip), pointing to the
 X axis (upVector)

 any ideas ?

 thanks



Enabling CIP in Softimage

2012-09-19 Thread Jeffrey Dates
I just saw this article posted on the Soft Facebook page, but I'm posting
it here because I know most of you are hard at work, and don't have time to
check pages like Facebook.  ;-)

http://area.autodesk.com/blogs/cory/enabling-cip-in-softimage

It doesn't seem to be an option in my Linux build, but with all the recent
discussions surrounding how we can contribute to Soft's future.. this might
be a consideration.

cheers...


Getting consistent path to property in scene

2012-09-19 Thread Matt Lind
I am trying to write an export/importer toolset.  One of the tasks is to dump 
the full path to animated parameters regardless of where they live in the scene 
so they can be found/modified directly upon importing the data.

Example:

If an object called George has an animated texture projection, the paths (via 
Parameter.FullName) to it's translation parameters may look something like this:

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw

The problem is, if I use those strings with Dictionary.GetObject(),  
Selection.SetAsText(), or any other method, Softimage throws an error claiming 
the path is invalid.  If I select the texture parameters directly in the 
explorer, the script log records the following as the paths:

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw

Notice the extra 'sample.clslist' inserted in the middle.

Using these paths, I can get a reference to the parameters using 
Dictionary.GetObject(), Selection.SetAsText() and so on.


The question is - how can I get those paths without requiring the user to 
select the parameters in the scene?


Matt




RE: Getting consistent path to property in scene

2012-09-19 Thread Eric Cosky
 

I'm not sure if this is helpful but it sounds like you may be able to do
what you need by their unique names (SIObject.GetUniqueName()) instead of
the standard full path. 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:12 PM
To: softimage@listproc.autodesk.com
Subject: Getting consistent path to property in scene

 

I am trying to write an export/importer toolset.  One of the tasks is to
dump the full path to animated parameters regardless of where they live in
the scene so they can be found/modified directly upon importing the data.

 

Example:

 

If an object called George has an animated texture projection, the paths
(via Parameter.FullName) to it's translation parameters may look something
like this:

 

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsu

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsv

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsw

 

The problem is, if I use those strings with Dictionary.GetObject(),
Selection.SetAsText(), or any other method, Softimage throws an error
claiming the path is invalid.  If I select the texture parameters directly
in the explorer, the script log records the following as the paths:

 

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsu

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsv

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsw

 

Notice the extra 'sample.clslist' inserted in the middle.

 

Using these paths, I can get a reference to the parameters using
Dictionary.GetObject(), Selection.SetAsText() and so on.  

 

 

The question is - how can I get those paths without requiring the user to
select the parameters in the scene?

 

 

Matt

 

 



RE: Getting consistent path to property in scene

2012-09-19 Thread Matt Lind
I don't see SIObject.GetUniqueName() in the scripting API.


Matt




From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 4:28 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene


I'm not sure if this is helpful but it sounds like you may be able to do what 
you need by their unique names (SIObject.GetUniqueName()) instead of the 
standard full path.


From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:12 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: Getting consistent path to property in scene

I am trying to write an export/importer toolset.  One of the tasks is to dump 
the full path to animated parameters regardless of where they live in the scene 
so they can be found/modified directly upon importing the data.

Example:

If an object called George has an animated texture projection, the paths (via 
Parameter.FullName) to it's translation parameters may look something like this:

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw

The problem is, if I use those strings with Dictionary.GetObject(),  
Selection.SetAsText(), or any other method, Softimage throws an error claiming 
the path is invalid.  If I select the texture parameters directly in the 
explorer, the script log records the following as the paths:

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw

Notice the extra 'sample.clslist' inserted in the middle.

Using these paths, I can get a reference to the parameters using 
Dictionary.GetObject(), Selection.SetAsText() and so on.


The question is - how can I get those paths without requiring the user to 
select the parameters in the scene?


Matt




RE: Getting consistent path to property in scene

2012-09-19 Thread Eric Cosky
I assumed you were doing C++, which is what I was referring to. Sorry for
not making that clear.

 

I don't know if it's available to scripting.

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:44 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

I don't see SIObject.GetUniqueName() in the scripting API.

 

 

Matt

 

 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 4:28 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

 

I'm not sure if this is helpful but it sounds like you may be able to do
what you need by their unique names (SIObject.GetUniqueName()) instead of
the standard full path. 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:12 PM
To: softimage@listproc.autodesk.com
Subject: Getting consistent path to property in scene

 

I am trying to write an export/importer toolset.  One of the tasks is to
dump the full path to animated parameters regardless of where they live in
the scene so they can be found/modified directly upon importing the data.

 

Example:

 

If an object called George has an animated texture projection, the paths
(via Parameter.FullName) to it's translation parameters may look something
like this:

 

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsu

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsv

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsw

 

The problem is, if I use those strings with Dictionary.GetObject(),
Selection.SetAsText(), or any other method, Softimage throws an error
claiming the path is invalid.  If I select the texture parameters directly
in the explorer, the script log records the following as the paths:

 

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsu

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsv

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsw

 

Notice the extra 'sample.clslist' inserted in the middle.

 

Using these paths, I can get a reference to the parameters using
Dictionary.GetObject(), Selection.SetAsText() and so on.  

 

 

The question is - how can I get those paths without requiring the user to
select the parameters in the scene?

 

 

Matt

 

 



portal light doesn't allow additional lights

2012-09-19 Thread Kris Rivel
Any reason why I can't seem to see any results from added lights to a room
with a portal light?  I have a portal light, physical sun and enviro and a
camera photographic exposure.  But if I add a point light, no effect..no
matter how intense I make it.  Any reason for this?

Kris


Re: Getting consistent path to property in scene

2012-09-19 Thread Alok Gandhi
Not sure if this is the case, but the other day I had an issue where I was
not able to get path for cls uv properties. It was odd becuase it worked
for a single object in a loop but not for others. The only solutions I
found to use dynamic dispatch for the objects created. It totally solved
the issue for me. But that is the case for python.


On Wed, Sep 19, 2012 at 7:50 PM, Eric Cosky e...@cosky.com wrote:

 I assumed you were doing C++, which is what I was referring to. Sorry for
 not making that clear.

 ** **

 I don’t know if it’s available to scripting.

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Matt Lind
 *Sent:* Wednesday, September 19, 2012 4:44 PM

 *To:* softimage@listproc.autodesk.com
 *Subject:* RE: Getting consistent path to property in scene

 ** **

 I don’t see SIObject.GetUniqueName() in the scripting API.

 ** **

 ** **

 Matt

 ** **

 ** **

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [
 mailto:softimage-boun...@listproc.autodesk.comsoftimage-boun...@listproc.autodesk.com]
 *On Behalf Of *Eric Cosky
 *Sent:* Wednesday, September 19, 2012 4:28 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* RE: Getting consistent path to property in scene

 ** **

 ** **

 I’m not sure if this is helpful but it sounds like you may be able to do
 what you need by their unique names (SIObject.GetUniqueName()) instead of
 the standard full path. 

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [
 mailto:softimage-boun...@listproc.autodesk.comsoftimage-boun...@listproc.autodesk.com]
 *On Behalf Of *Matt Lind
 *Sent:* Wednesday, September 19, 2012 4:12 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Getting consistent path to property in scene

 ** **

 I am trying to write an export/importer toolset.  One of the tasks is to
 dump the full path to animated parameters regardless of where they live in
 the scene so they can be found/modified directly upon importing the data.*
 ***

 ** **

 Example:

 ** **

 If an object called “George” has an animated texture projection, the paths
 (via Parameter.FullName) to it’s translation parameters may look something
 like this:

 ** **


 George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
 


 George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
 


 George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw
 

 ** **

 The problem is, if I use those strings with Dictionary.GetObject(),
  Selection.SetAsText(), or any other method, Softimage throws an error
 claiming the path is invalid.  If I select the texture parameters directly
 in the explorer, the script log records the following as the paths:

 ** **


 George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
 


 George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
 


 George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw
 

 ** **

 Notice the extra ‘sample.clslist’ inserted in the middle.

 ** **

 Using these paths, I can get a reference to the parameters using
 Dictionary.GetObject(), Selection.SetAsText() and so on.  

 ** **

 ** **

 The question is - how can I get those paths without requiring the user to
 select the parameters in the scene?

 ** **

 ** **

 Matt

 ** **

 ** **




--


Re: portal light doesn't allow additional lights

2012-09-19 Thread Kris Rivel
I got it working but need a super high intensity value on the new point
light like 10,000...strange.  Any recommended relationship here?  Seems to
have a lot to with the cd/m2 factor.

Kris

On Wed, Sep 19, 2012 at 8:43 PM, Kris Rivel krisri...@gmail.com wrote:

 Any reason why I can't seem to see any results from added lights to a room
 with a portal light?  I have a portal light, physical sun and enviro and a
 camera photographic exposure.  But if I add a point light, no effect..no
 matter how intense I make it.  Any reason for this?

 Kris



RE: Getting consistent path to property in scene

2012-09-19 Thread Matt Lind
I am having the issue with clusters and anything inside of them.  So, yes, it 
is related.

I reported a similar issue with paths for parameters used in ICE trees a few 
years back as the paths would be different depending how you obtained them, but 
that was eventually fixed.

The specific items I'm having problems with the most are properties of type 
'uvprojdef' which is the _Def property that resides directly under a texture 
projection (property of type 'uvspace').  If I select the _Def in the scene 
explorer, I get the correct paths.  If I obtain the _Def through any means in 
scripting, I get the wrong path.



Matt



From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Alok Gandhi
Sent: Wednesday, September 19, 2012 5:55 PM
To: softimage@listproc.autodesk.com
Subject: Re: Getting consistent path to property in scene

Not sure if this is the case, but the other day I had an issue where I was not 
able to get path for cls uv properties. It was odd becuase it worked for a 
single object in a loop but not for others. The only solutions I found to use 
dynamic dispatch for the objects created. It totally solved the issue for me. 
But that is the case for python.

On Wed, Sep 19, 2012 at 7:50 PM, Eric Cosky 
e...@cosky.commailto:e...@cosky.com wrote:
I assumed you were doing C++, which is what I was referring to. Sorry for not 
making that clear.

I don't know if it's available to scripting.


From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:44 PM

To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

I don't see SIObject.GetUniqueName() in the scripting API.


Matt




From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 4:28 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene


I'm not sure if this is helpful but it sounds like you may be able to do what 
you need by their unique names (SIObject.GetUniqueName()) instead of the 
standard full path.


From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:12 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: Getting consistent path to property in scene

I am trying to write an export/importer toolset.  One of the tasks is to dump 
the full path to animated parameters regardless of where they live in the scene 
so they can be found/modified directly upon importing the data.

Example:

If an object called George has an animated texture projection, the paths (via 
Parameter.FullName) to it's translation parameters may look something like this:

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw

The problem is, if I use those strings with Dictionary.GetObject(),  
Selection.SetAsText(), or any other method, Softimage throws an error claiming 
the path is invalid.  If I select the texture parameters directly in the 
explorer, the script log records the following as the paths:

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsu
George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsv
George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_Projection_Def.projtrsw

Notice the extra 'sample.clslist' inserted in the middle.

Using these paths, I can get a reference to the parameters using 
Dictionary.GetObject(), Selection.SetAsText() and so on.


The question is - how can I get those paths without requiring the user to 
select the parameters in the scene?


Matt





--


RE: Getting consistent path to property in scene

2012-09-19 Thread Eric Cosky
I just did a quick test and as it turns out, UniqueName is exposed to script
despite not being mentioned on the doc page
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.
html?url=si_om/SIObject.html,topicNumber=si_om_SIObject_html . 

 

I made a cube with a projection, ran this VBScript:

 

SelectObj cube.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection

logmessage selection(0).UniqueName

 

It produced this output, which matches the unique name shown in the SDK
explorer.

 

' INFO : Texture_Projection338

 

I was able to select the object using this name in vbscript, 

 

SelectObj Texture_Projection338

 

Again I don't know if that will help you but I figured I'd mention it since
the docs don't show UniqueName as being available.

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 6:00 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

I am having the issue with clusters and anything inside of them.  So, yes,
it is related.

 

I reported a similar issue with paths for parameters used in ICE trees a few
years back as the paths would be different depending how you obtained them,
but that was eventually fixed.

 

The specific items I'm having problems with the most are properties of type
'uvprojdef' which is the _Def property that resides directly under a texture
projection (property of type 'uvspace').  If I select the _Def in the scene
explorer, I get the correct paths.  If I obtain the _Def through any means
in scripting, I get the wrong path.

 

 

 

Matt

 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Alok Gandhi
Sent: Wednesday, September 19, 2012 5:55 PM
To: softimage@listproc.autodesk.com
Subject: Re: Getting consistent path to property in scene

 

Not sure if this is the case, but the other day I had an issue where I was
not able to get path for cls uv properties. It was odd becuase it worked for
a single object in a loop but not for others. The only solutions I found to
use dynamic dispatch for the objects created. It totally solved the issue
for me. But that is the case for python.

 

On Wed, Sep 19, 2012 at 7:50 PM, Eric Cosky e...@cosky.com wrote:

I assumed you were doing C++, which is what I was referring to. Sorry for
not making that clear.

 

I don't know if it's available to scripting.

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:44 PM


To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

I don't see SIObject.GetUniqueName() in the scripting API.

 

 

Matt

 

 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 4:28 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

 

I'm not sure if this is helpful but it sounds like you may be able to do
what you need by their unique names (SIObject.GetUniqueName()) instead of
the standard full path. 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:12 PM
To: softimage@listproc.autodesk.com
Subject: Getting consistent path to property in scene

 

I am trying to write an export/importer toolset.  One of the tasks is to
dump the full path to animated parameters regardless of where they live in
the scene so they can be found/modified directly upon importing the data.

 

Example:

 

If an object called George has an animated texture projection, the paths
(via Parameter.FullName) to it's translation parameters may look something
like this:

 

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsu

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsv

George.polymsh.cls.SampleCluster.Texture_Projection.Texture_Projection_Def.p
rojtrsw

 

The problem is, if I use those strings with Dictionary.GetObject(),
Selection.SetAsText(), or any other method, Softimage throws an error
claiming the path is invalid.  If I select the texture parameters directly
in the explorer, the script log records the following as the paths:

 

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsu

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsv

George.polymsh.cls.sample.clslist.SampleCluster.Texture_Projection.Texture_P
rojection_Def.projtrsw

 

Notice the extra 'sample.clslist' inserted in the middle.

 

Using these paths, I can get a reference to the parameters using
Dictionary.GetObject(), Selection.SetAsText() 

Re: Enabling CIP in Softimage

2012-09-19 Thread Kris Rivel
Thanks...as long as it doesn't suck any more cpu cycles...I'll enable it :-)

On Wed, Sep 19, 2012 at 1:30 PM, Jeffrey Dates jda...@kungfukoi.com wrote:

 I just saw this article posted on the Soft Facebook page, but I'm posting
 it here because I know most of you are hard at work, and don't have time to
 check pages like Facebook.  ;-)

 http://area.autodesk.com/blogs/cory/enabling-cip-in-softimage

 It doesn't seem to be an option in my Linux build, but with all the recent
 discussions surrounding how we can contribute to Soft's future.. this might
 be a consideration.

 cheers...





RE: Getting consistent path to property in scene

2012-09-19 Thread Dave
Hi Matt,

 

What version of XSI are you using? 

 

Using XSI 2013 SP1 on Windows, with a sphere with a default texture, running
the following Python

 

import win32com.client

from win32com.client import constants as c

import types, string, sys, os

 

xsi = win32com.client.Dispatch( 'XSI.Application' ).Application

log = xsi.LogMessage

log(xsi.Dictionary.GetObject(sphere.polymsh.cls.Texture_Coordinates_AUTO.Te
xture_Projection.Texture_Projection_Def.projtrsu).FullName)

 


produces the following

 

# INFO :
sphere.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection.Texture_Proje
ction_Def.projtrsu

 

 

Which seems to work with the path obtained from Parameter.FullName, unless
I'm missing the obvious

 

Dave

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: 20 September 2012 02:26
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

That would be an alternate route to doing this:

var ObjectID = oProjectItem.ObjectID;

 

var oObject = Dictionary.GetObject( Object + ObjectID +
, false );

 

Which in itself is a shortcut to using
XSIUtils.DataRepository.GetIdentifier().   

 

 

Unfortunately it's only valid in the current session.  Can't use that in an
import/export environment.

 

 

Matt

 

 

 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 6:12 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

I just did a quick test and as it turns out, UniqueName is exposed to script
despite not being mentioned on the doc page
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.
html?url=si_om/SIObject.html,topicNumber=si_om_SIObject_html . 

 

I made a cube with a projection, ran this VBScript:

 

SelectObj cube.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection

logmessage selection(0).UniqueName

 

It produced this output, which matches the unique name shown in the SDK
explorer.

 

' INFO : Texture_Projection338

 

I was able to select the object using this name in vbscript, 

 

SelectObj Texture_Projection338

 

Again I don't know if that will help you but I figured I'd mention it since
the docs don't show UniqueName as being available.

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 6:00 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

I am having the issue with clusters and anything inside of them.  So, yes,
it is related.

 

I reported a similar issue with paths for parameters used in ICE trees a few
years back as the paths would be different depending how you obtained them,
but that was eventually fixed.

 

The specific items I'm having problems with the most are properties of type
'uvprojdef' which is the _Def property that resides directly under a texture
projection (property of type 'uvspace').  If I select the _Def in the scene
explorer, I get the correct paths.  If I obtain the _Def through any means
in scripting, I get the wrong path.

 

 

 

Matt

 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Alok Gandhi
Sent: Wednesday, September 19, 2012 5:55 PM
To: softimage@listproc.autodesk.com
Subject: Re: Getting consistent path to property in scene

 

Not sure if this is the case, but the other day I had an issue where I was
not able to get path for cls uv properties. It was odd becuase it worked for
a single object in a loop but not for others. The only solutions I found to
use dynamic dispatch for the objects created. It totally solved the issue
for me. But that is the case for python.

 

On Wed, Sep 19, 2012 at 7:50 PM, Eric Cosky e...@cosky.com wrote:

I assumed you were doing C++, which is what I was referring to. Sorry for
not making that clear.

 

I don't know if it's available to scripting.

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 4:44 PM


To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

I don't see SIObject.GetUniqueName() in the scripting API.

 

 

Matt

 

 

 

 

From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 4:28 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

 

 

I'm not sure if this is helpful but it sounds like you may be able to do
what you need by their unique names (SIObject.GetUniqueName()) instead of
the standard full path. 

 

 

From: 

RE: Getting consistent path to property in scene

2012-09-19 Thread Matt Lind
You are missing the obvious ;-)

The problem is Parameter.FullName is not returning a valid path.  If you use 
Dictionary.GetObject(), Selection.SetAsText(), XSICollection.items, etc 
Softimage throws an error claiming the value returned by Parameter.FullName is 
not valid.

However, if you manually click to select the parameter (or uvprojdef in this 
case) in the scene explorer or the selection text box on the MCP, the correct 
path will be output to the script log.  The problem is I cannot find a way to 
extract this correct path using the SDK.


Matt




From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Dave
Sent: Wednesday, September 19, 2012 6:55 PM
To: softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

Hi Matt,

What version of XSI are you using?

Using XSI 2013 SP1 on Windows, with a sphere with a default texture, running 
the following Python

import win32com.client
from win32com.client import constants as c
import types, string, sys, os

xsi = win32com.client.Dispatch( 'XSI.Application' ).Application
log = xsi.LogMessage
log(xsi.Dictionary.GetObject(sphere.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection.Texture_Projection_Def.projtrsu).FullName)

produces the following

# INFO : 
sphere.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection.Texture_Projection_Def.projtrsu


Which seems to work with the path obtained from Parameter.FullName, unless I'm 
missing the obvious

Dave


From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: 20 September 2012 02:26
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

That would be an alternate route to doing this:

var ObjectID = oProjectItem.ObjectID;

var oObject = Dictionary.GetObject( Object + ObjectID + , 
false );

Which in itself is a shortcut to using XSIUtils.DataRepository.GetIdentifier().


Unfortunately it's only valid in the current session.  Can't use that in an 
import/export environment.


Matt





From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 
[mailto:softimage-boun...@listproc.autodesk.com]mailto:[mailto:softimage-boun...@listproc.autodesk.com]
 On Behalf Of Eric Cosky
Sent: Wednesday, September 19, 2012 6:12 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

I just did a quick test and as it turns out, UniqueName is exposed to script 
despite not being mentioned on the doc page 
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=si_om/SIObject.html,topicNumber=si_om_SIObject_html
 .

I made a cube with a projection, ran this VBScript:

SelectObj cube.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection
logmessage selection(0).UniqueName

It produced this output, which matches the unique name shown in the SDK 
explorer.

' INFO : Texture_Projection338

I was able to select the object using this name in vbscript,

SelectObj Texture_Projection338

Again I don't know if that will help you but I figured I'd mention it since the 
docs don't show UniqueName as being available.


From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Wednesday, September 19, 2012 6:00 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: RE: Getting consistent path to property in scene

I am having the issue with clusters and anything inside of them.  So, yes, it 
is related.

I reported a similar issue with paths for parameters used in ICE trees a few 
years back as the paths would be different depending how you obtained them, but 
that was eventually fixed.

The specific items I'm having problems with the most are properties of type 
'uvprojdef' which is the _Def property that resides directly under a texture 
projection (property of type 'uvspace').  If I select the _Def in the scene 
explorer, I get the correct paths.  If I obtain the _Def through any means in 
scripting, I get the wrong path.



Matt



From: 
softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Alok Gandhi
Sent: Wednesday, September 19, 2012 5:55 PM
To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com
Subject: Re: Getting consistent path to property in scene

Not sure if this is the case, but the other day I had an issue where I was not 
able to get path for cls uv properties. It was odd becuase it worked for a 
single object in a loop but not for others. The only solutions I found to use 
dynamic dispatch 

Our latest work

2012-09-19 Thread Nick Angus
Johnnie Walker commercial completed by us last week, took around 8 weeks with 
five 3d artists and two compositors. The before and after video is on the right 
side of screen.
Completed entirely in Softimage and rendered in Vray (except sand partices that 
were done in Fury).  It is nice to be able to sleep again after this one!

Thanks to everyone on the list that helps me out from time to time...

http://www.altvfx.com/videos/jw.php


[Description: ALT_signature_NANGUS]

inline: image001.gif

Re: Our latest work

2012-09-19 Thread Sylvain Lebeau
freaking beautifull Nic!!!
great mood 

kudos to all involved!! 




   	   
   	Nick Angus  
  Wednesday, 
September 19, 2012 10:22 PM
  






Johnnie Walker commercial completed by us last 
week, took around 8 weeks with five 3d artists and two compositors. The 
before and after video is on the right side of screen.
Completed entirely in Softimage and rendered in 
Vray (except sand partices that were done in Fury). It is nice to be 
able to sleep again after this one!

Thanks to everyone on the list that helps me out 
from time to time

http://www.altvfx.com/videos/jw.php





  


-- Sylvain
Lebeau // SHED
V-P/Visual

 effects
supervisor
1410, 
RUE STANLEY, 11E
TAGE MONTRAL (QUBEC) H3A 1P8
T 514 849-1555
 F 514 849-5025 WWW.SHEDMTL.COM http://WWW.SHEDMTL.COM 








My scene now thinks it was created with the student

2012-09-19 Thread Nicholas Hong
Defect.

Tracked in SOFT-6990 - Licensing: Scene does not recognise Commercial License 
when Student license scene is re-saved.

Regards
Nick
attachment: winmail.dat

Re: Our latest work

2012-09-19 Thread Andre De Angelis
Gorgeous work Angus,

The making of itself looks like a feat in itself.

On Thu, Sep 20, 2012 at 11:52 AM, Nick Angus n...@altvfx.com wrote:

  Johnnie Walker commercial completed by us last week, took around 8 weeks
 with five 3d artists and two compositors. The before and after video is on
 the right side of screen.

 Completed entirely in Softimage and rendered in Vray (except sand partices
 that were done in Fury).  It is nice to be able to sleep again after this
 one!

 ** **

 Thanks to everyone on the list that helps me out from time to time…

 ** **

 http://www.altvfx.com/videos/jw.php

 ** **

 ** **

 [image: Description: ALT_signature_NANGUS]

 ** **




-- 
Andre De Angelis
image001.gif