Re: Scripting question

2012-10-20 Thread julien carmagnac
Hi
Correct me if i'm wrong but your pivot position is your object position,
that you can get with kinematics (myObj.Kinematics.Local.posx.Value,
etc.).


2012/10/18 Szabolcs Matefy szabol...@crytek.com

 Thanks, that was I afraid of…thanks anyway!

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *patrick nethercoat
 *Sent:* Thursday, October 18, 2012 2:22 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: Scripting question

 ** **

 AFAIK pivot position is transient, only related to a specific
 transformation. You can set it with scripting but it doesn't get stored.


 

 On 18 October 2012 13:10, Szabolcs Matefy szabol...@crytek.com wrote:***
 *

 Hi

  

 I need to get the position of the pivot…is it possible to get it via
 scripting?

  

  

 Cheers

  

  

 Szabolcs

 ___
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. E-mail transmission cannot be
 guaranteed to be secure or error-free as information could be intercepted,
 corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
 The sender therefore does not accept liability for any errors or omissions
 in the contents of this message, which arise as a result of e-mail
 transmission. If verification is required please request a hard-copy
 version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322
 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.:
 DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli

 ** **



CGSociety coversTriggerfish's Softimage-based CG Animation film Adventures in Zambezia

2012-10-20 Thread Ben Houston
Nice feature article here:

http://www.cgsociety.org/index.php/CGSFeatures/CGSFeatureSpecial/adventures_in_zambezia

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


Re: Scripting question

2012-10-20 Thread Simon Anderson
Hey,
you can get the Local ppos parameter, which should be the pivot parameters

ie.

Object.Kinematics.Local.Parameters('ppos').Value = 2

Try that, hope it helps

On Sat, Oct 20, 2012 at 10:52 PM, julien carmagnac 
carmagnacjul...@gmail.com wrote:

 Hi
 Correct me if i'm wrong but your pivot position is your object position,
 that you can get with kinematics (myObj.Kinematics.Local.posx.Value,
 etc.).



 2012/10/18 Szabolcs Matefy szabol...@crytek.com

 Thanks, that was I afraid of…thanks anyway!

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *patrick
 nethercoat
 *Sent:* Thursday, October 18, 2012 2:22 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: Scripting question

 ** **

 AFAIK pivot position is transient, only related to a specific
 transformation. You can set it with scripting but it doesn't get stored.


 

 On 18 October 2012 13:10, Szabolcs Matefy szabol...@crytek.com wrote:**
 **

 Hi

  

 I need to get the position of the pivot…is it possible to get it via
 scripting?

  

  

 Cheers

  

  

 Szabolcs

 ___
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. E-mail transmission cannot be
 guaranteed to be secure or error-free as information could be intercepted,
 corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
 The sender therefore does not accept liability for any errors or omissions
 in the contents of this message, which arise as a result of e-mail
 transmission. If verification is required please request a hard-copy
 version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322
 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.:
 DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli

 ** **





-- 
---
Simon Ben Anderson
blog: http://vinyldevelopment.wordpress.com/


Re: Scripting question

2012-10-20 Thread Simon Anderson
sorry its pposx, pposy, pposz and so on, use the view  scripting  SDK
Explorer to get the correct one you are after

On Sun, Oct 21, 2012 at 12:26 AM, Simon Anderson 
simonbenandersonl...@gmail.com wrote:

 Hey,
 you can get the Local ppos parameter, which should be the pivot parameters

 ie.

 Object.Kinematics.Local.Parameters('ppos').Value = 2

 Try that, hope it helps


 On Sat, Oct 20, 2012 at 10:52 PM, julien carmagnac 
 carmagnacjul...@gmail.com wrote:

 Hi
 Correct me if i'm wrong but your pivot position is your object position,
 that you can get with kinematics (myObj.Kinematics.Local.posx.Value,
 etc.).



 2012/10/18 Szabolcs Matefy szabol...@crytek.com

 Thanks, that was I afraid of…thanks anyway!

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *patrick
 nethercoat
 *Sent:* Thursday, October 18, 2012 2:22 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: Scripting question

 ** **

 AFAIK pivot position is transient, only related to a specific
 transformation. You can set it with scripting but it doesn't get stored.


 

 On 18 October 2012 13:10, Szabolcs Matefy szabol...@crytek.com wrote:*
 ***

 Hi

  

 I need to get the position of the pivot…is it possible to get it via
 scripting?

  

  

 Cheers

  

  

 Szabolcs

 ___
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. E-mail transmission cannot be
 guaranteed to be secure or error-free as information could be intercepted,
 corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
 The sender therefore does not accept liability for any errors or omissions
 in the contents of this message, which arise as a result of e-mail
 transmission. If verification is required please request a hard-copy
 version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18,
 60322 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.:
 DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli

 ** **





 --
 ---
 Simon Ben Anderson
 blog: http://vinyldevelopment.wordpress.com/




-- 
---
Simon Ben Anderson
blog: http://vinyldevelopment.wordpress.com/


Re: PyQtForSoftimage: QFileDialog

2012-10-20 Thread César Sáez
This is a work for a decorator, much simpler and clean ;-)


On Fri, Oct 19, 2012 at 11:45 PM, Eric Thivierge ethivie...@gmail.comwrote:

 As a note I would recommend putting it in a try / finally statement to
 ensure it gets set back even if part of it fails unless it does this
 automatically:

 #Python
 def launchFileBrowser(self):
 try:
 # suspend control hooks so our filedialog looks normal
 desktop = Application.Desktop
 desktop.SuspendWin32ControlsHook()

 # call the filedialog
 self.fileDialog = QFileDialog(self)
 sourceDir = self.fileDialog.getExistingDirectory(None,'Choose a
 directory')
 finally:
 # restore control hooks
 desktop.RestoreWin32ControlsHook()


 
 Eric Thivierge
 http://www.ethivierge.com



 On Sat, Oct 20, 2012 at 1:12 AM, Tim Crowson 
 tim.crow...@magneticdreams.com wrote:

  Had that same problem. Here's what your Python code might look like
 using the method Jo describes. This works for me.

 *def launchFileBrowser(self):
 # suspend control hooks so our filedialog looks normal
 desktop = Application.Desktop
 desktop.SuspendWin32ControlsHook()

 # call the filedialog
 self.fileDialog = QFileDialog(self)
 sourceDir = self.fileDialog.getExistingDirectory(None,'Choose a
 directory')

 # restore control hooks
 desktop.RestoreWin32ControlsHook()*


 *Tim Crowson
 **Lead CG Artist*

 *Magnetic Dreams Animation Studio, Inc.
 *2525 Lebanon Pike, Building C. Nashville, TN 37214
 *Ph*  615.885.6801 | *Fax*  615.889.4768 | www.magneticdreams.com
 tim.crow...@magneticdreams.com




Re: Softimage crash when loading a 2gb scene

2012-10-20 Thread Sylvain Lebeau
Hi Chris, 

We are on Soft2013 SP1 x64 and Jseb got 12 Gb of Ram in the machine
He started playing around with Arnold Stand-Inswich is so far pretty
 pretty positive..

thnks

sly


   	   
   	Chris Chia  
  Friday, October 
19, 2012 9:47 PM
  It might be nice to know 
what version of XSI, whether it's a x64 or 32, and the amount of ram 
your machine has?Chris
   	   
   	Jean-Sebastien Guillemette  
  Thursday, October
 18, 2012 12:05 PM
  Hey guys,

I have an heavy scene with alot of objects. The scene opens fine up 
until a point where I load one more object and once saved the file goes 
above 2gb in size (at 1.9gb it was openning fine). It doesn't seems to 
be the object itself since I made some test with different props. It 
always happen when the file size is above 2gb. When it does, it just 
doesn't load, Softimage crash while loading. I'll keep doing more test 
to make sure it's not one of my objects that's causing the problem..but 
well...

Anyone else had this problem?




-- 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