Re: Some more questions about PyQt in Softimage
SignatureThanks Tim, good learning resource btw srcDir = '' for plugin in Application.Plugins: # Isn't there an easier way to get this path? if plugin.Name == 'MultiImporter_Qt': srcDir = os.path.dirname(plugin.Filename) like this: srcDir = '' srcDir = os.path.dirname( Application.Plugins( 'MultiImporter_Qt' ).Filename ) From: Tim Crowson Sent: Tuesday, August 28, 2012 12:10 AM To: softimage@listproc.autodesk.com Subject: Re: Some more questions about PyQt in Softimage I've also added a page about it on my site: http://dynamiclens.com/wordpress/?page_id=750 -Tim On 8/27/2012 5:04 PM, Steven Caron wrote: great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder s On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson tim.crow...@magneticdreams.com wrote: Yes, that seems to do the trick! New version (v1.13) is attached. Thanks Luc-Eric! Now, any Qt experts who can tell me about button sizes for standard buttons on a QMessageBox? ;-) -Tim On 8/27/2012 3:34 PM, Steven Caron wrote: oh nice... thanks luc-eric! @tim, give this a shot? On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau luceri...@gmail.com wrote: On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron car...@gmail.com wrote: these are only exposed to the cpp api right? so i need to expose this to scripting in the QtSoftimage plugin... it's there in scripting desktop = Application.Desktop desktop.SuspendWin32ControlsHook() desktop.RestoreWin32ControlsHook() -- --
Re: Some more questions about PyQt in Softimage
Right!! And you can also get the path directly: Application.Plugins( 'MultiImporter_Qt' ).OriginPath On Fri, Sep 7, 2012 at 11:36 AM, piotrek marczak piotrek.marc...@gmail.comwrote: SignatureThanks Tim, good learning resource btw srcDir = '' for plugin in Application.Plugins: # Isn't there an easier way to get this path? if plugin.Name == 'MultiImporter_Qt': srcDir = os.path.dirname(plugin.**Filename) like this: srcDir = '' srcDir = os.path.dirname( Application.Plugins( 'MultiImporter_Qt' ).Filename ) From: Tim Crowson Sent: Tuesday, August 28, 2012 12:10 AM To: softimage@listproc.autodesk.**com softimage@listproc.autodesk.com Subject: Re: Some more questions about PyQt in Softimage I've also added a page about it on my site: http://dynamiclens.com/**wordpress/?page_id=750http://dynamiclens.com/wordpress/?page_id=750 -Tim On 8/27/2012 5:04 PM, Steven Caron wrote: great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder s On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson tim.crowson@magneticdreams.* *com tim.crow...@magneticdreams.com wrote: Yes, that seems to do the trick! New version (v1.13) is attached. Thanks Luc-Eric! Now, any Qt experts who can tell me about button sizes for standard buttons on a QMessageBox? ;-) -Tim On 8/27/2012 3:34 PM, Steven Caron wrote: oh nice... thanks luc-eric! @tim, give this a shot? On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau luceri...@gmail.com wrote: On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron car...@gmail.com wrote: these are only exposed to the cpp api right? so i need to expose this to scripting in the QtSoftimage plugin... it's there in scripting desktop = Application.Desktop desktop.**SuspendWin32ControlsHook() desktop.**RestoreWin32ControlsHook() -- --
Re: Friday Flashback
#Softimage Friday Flashback #86 Daniel Langlois - Cdn Entrepeneur of the Yr in 94 the Wizard of AWE http://wp.me/powV4-25i This week's flashback is much better than last week's, I promise! On Fri, Aug 31, 2012 at 6:54 AM, Stephen Blair stephenrbl...@gmail.comwrote: Friday Flashback #85 The end part II http://wp.me/powV4-24o On Fri, Aug 24, 2012 at 3:42 PM, Chris Chia chris.c...@autodesk.comwrote: My memories working with Softimage 3D on a SGI... Sent from my iPhone On 24 Aug, 2012, at 10:47 PM, Stephen Blair stephen.bl...@autodesk.com mailto:stephen.bl...@autodesk.com wrote: Friday Flashback #84 Japanese brochure for good ol' #SOFTIMAGE 3D http://wp.me/powV4-23R From: softimage-boun...@listproc.autodesk.commailto: softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] On Behalf Of Stephen Blair Sent: August-17-12 10:21 AM To: softimage@listproc.autodesk.commailto: softimage@listproc.autodesk.com Subject: RE: Friday Flashback Friday Flashback 83 2000 - Softimage hit the ground running with XSI a beautifully constructed environment to work in http://wp.me/powV4-232 From: softimage-boun...@listproc.autodesk.commailto: softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] On Behalf Of Alan Fregtman Sent: August-10-12 10:52 AM To: softimage@listproc.autodesk.commailto: softimage@listproc.autodesk.com Subject: Re: Friday Flashback Oh my Darwin, SO much red! My yeess On Fri, Aug 10, 2012 at 8:08 AM, Stephen Blair stephen.bl...@autodesk.commailto:stephen.bl...@autodesk.com wrote: Friday Flashback #82 XSI's first SIGGRAPH http://wp.me/powV4-22f 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 Stephen Blair Sent: August-03-12 10:44 AM To: softimage@listproc.autodesk.commailto: softimage@listproc.autodesk.com Subject: RE: Friday Flashback Friday Flashback 81 From 2004, Softimage XSI the perfect fit: - Everything you need - Everything you want - Everything there is http://wp.me/powV4-21j From: softimage-boun...@listproc.autodesk.commailto: softimage-boun...@listproc.autodesk.commailto: softimage-boun...@listproc.autodesk.commailto: softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.commailto: softimage-boun...@listproc.autodesk.com] On Behalf Of Raffaele Fragapane Sent: July-30-12 4:00 AM To: softimage@listproc.autodesk.commailto: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com mailto:softimage@listproc.autodesk.com Subject: Re: Friday Flashback I think Olivier can still be seen shuddering when Batchserve is mentioned in his vicinity :) On Sat, Jul 28, 2012 at 4:58 AM, Stephen Blair stephen.bl...@autodesk.commailto:stephen.bl...@autodesk.commailto: stephen.bl...@autodesk.commailto:stephen.bl...@autodesk.com wrote: Friday Flashback #80 BatchServe 1.5 the Experience http://wp.me/powV4-1YW
Re: Some more questions about PyQt in Softimage
Ah! It's so simple, of course!I swear I tried something like that at one point and came up with nothing. Thanks for posting this! -Tim On 9/7/2012 7:04 AM, Ana Gomez wrote: Right!! And you can also get the path directly: Application.Plugins( 'MultiImporter_Qt' ).OriginPath On Fri, Sep 7, 2012 at 11:36 AM, piotrek marczak piotrek.marc...@gmail.com mailto:piotrek.marc...@gmail.com wrote: SignatureThanks Tim, good learning resource btw srcDir = '' for plugin in Application.Plugins: # Isn't there an easier way to get this path? if plugin.Name == 'MultiImporter_Qt': srcDir = os.path.dirname(plugin.Filename) like this: srcDir = '' srcDir = os.path.dirname( Application.Plugins( 'MultiImporter_Qt' ).Filename ) From: Tim Crowson Sent: Tuesday, August 28, 2012 12:10 AM To: softimage@listproc.autodesk.com mailto:softimage@listproc.autodesk.com Subject: Re: Some more questions about PyQt in Softimage I've also added a page about it on my site: http://dynamiclens.com/wordpress/?page_id=750 -Tim On 8/27/2012 5:04 PM, Steven Caron wrote: great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder s On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson tim.crow...@magneticdreams.com mailto:tim.crow...@magneticdreams.com wrote: Yes, that seems to do the trick! New version (v1.13) is attached. Thanks Luc-Eric! Now, any Qt experts who can tell me about button sizes for standard buttons on a QMessageBox? ;-) -Tim On 8/27/2012 3:34 PM, Steven Caron wrote: oh nice... thanks luc-eric! @tim, give this a shot? On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau luceri...@gmail.com mailto:luceri...@gmail.com wrote: On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron car...@gmail.com mailto:car...@gmail.com wrote: these are only exposed to the cpp api right? so i need to expose this to scripting in the QtSoftimage plugin... it's there in scripting desktop = Application.Desktop desktop.SuspendWin32ControlsHook() desktop.RestoreWin32ControlsHook() -- -- -- Signature
Re: Some more questions about PyQt in Softimage
That style is my own, created via the Stylesheets in QtDesigner. Here's a primer on how that works: http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html -Tim On 9/7/2012 7:58 AM, Cristobal Infante wrote: Hi Tim, sorry for the unrelated question, but where did you get that grey stylesheet from? I am using QT designer to generate my UIs and it only offers a handfull of styles.. On 7 September 2012 13:04, Ana Gomez agomezalca...@gmail.com mailto:agomezalca...@gmail.com wrote: Right!! And you can also get the path directly: Application.Plugins( 'MultiImporter_Qt' ).OriginPath On Fri, Sep 7, 2012 at 11:36 AM, piotrek marczak piotrek.marc...@gmail.com mailto:piotrek.marc...@gmail.com wrote: SignatureThanks Tim, good learning resource btw srcDir = '' for plugin in Application.Plugins: # Isn't there an easier way to get this path? if plugin.Name == 'MultiImporter_Qt': srcDir = os.path.dirname(plugin.Filename) like this: srcDir = '' srcDir = os.path.dirname( Application.Plugins( 'MultiImporter_Qt' ).Filename ) From: Tim Crowson Sent: Tuesday, August 28, 2012 12:10 AM To: softimage@listproc.autodesk.com mailto:softimage@listproc.autodesk.com Subject: Re: Some more questions about PyQt in Softimage I've also added a page about it on my site: http://dynamiclens.com/wordpress/?page_id=750 -Tim On 8/27/2012 5:04 PM, Steven Caron wrote: great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder s On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson tim.crow...@magneticdreams.com mailto:tim.crow...@magneticdreams.com wrote: Yes, that seems to do the trick! New version (v1.13) is attached. Thanks Luc-Eric! Now, any Qt experts who can tell me about button sizes for standard buttons on a QMessageBox? ;-) -Tim On 8/27/2012 3:34 PM, Steven Caron wrote: oh nice... thanks luc-eric! @tim, give this a shot? On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau luceri...@gmail.com mailto:luceri...@gmail.com wrote: On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron car...@gmail.com mailto:car...@gmail.com wrote: these are only exposed to the cpp api right? so i need to expose this to scripting in the QtSoftimage plugin... it's there in scripting desktop = Application.Desktop desktop.SuspendWin32ControlsHook() desktop.RestoreWin32ControlsHook() -- -- -- Signature *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 /Confidentiality Notice: This email, including attachments, is confidential and should not be used by anyone who is not the original intended recipient(s). If you have received this e-mail in error please inform the sender and delete it from your mailbox or any other storage mechanism. Magnetic Dreams, Inc cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of Magnetic Dreams, Inc or one of its agents./
Re: nulls2mesh
Hey Rob, You're linking to a private url for your Gmail pointing to an attachment. Can't do that. It's unusable for everyone else. Can you get the image and attach it to your email or put it on http://imgur.com or some other image upload site for us to see? Cheeers, -- Alan On Wed, Sep 5, 2012 at 7:09 AM, Rob Chapman tekano@gmail.com wrote: ah yeah - there you go, well remembered Ciaran 'convex hull' was the search term, from the same thread Grahame fuller did that in ICE only - won't take you long to rebuild from the image description Lawrence ;) https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2ik=3bf826a559view=attth=12f698c5d63caa9dattid=0.1.0disp=inlinesafe=1zwsaduie=AG9B_P-vyaBOEqzPxsaMIRCb2anDsadet=1346842977331sads=6GL42IzMUakN2KC52Ld4_NbnUKMsadssc=1 as you can see the gift wrapping algorithm is not so easy ! On 5 September 2012 11:55, Ciaran Moloney moloney.cia...@gmail.comwrote: Sounds like you want a convex hull of the null's points. Pretty sure there was a compound once, if not you might try Mr. LaForge's Convex Hullhttp://frenchdog.wordpress.com/2012/01/05/happy-2012/ICE node. On Wed, Sep 5, 2012 at 11:13 AM, Rob Chapman tekano@gmail.comwrote: yeah I dont think there was ever a nulls2mesh - nulls2points easy and vertex2nulls yes :) for a clean topo the point position array is easy as you have that, its just the description of each polygon, or the order of each vertex in every polygon - how is this to be made? if the desired mesh is pretty simple shape you could try starting with a simple surrounding geometry and in ICE moving points to the nearest null On 5 September 2012 10:56, Lawrence Pankhurst lp3ds...@gmail.comwrote: Nice clean mesh would be good, it's a one off so I might just do it by hand, just thought it would be a useful tool to have and it would exist already (sure there used to be a script)!! Polygoniser takes the nulls but gives blobs rather then a single mesh! Thanks for looking though! Cheers Lawrence On Wed, Sep 5, 2012 at 9:42 AM, Rob Chapman tekano@gmail.comwrote: oh! ICE topo should be able to do this, :) but not sure how you are to build the polygon description from a set of random positions!? not so easy what kind of mesh are you after? if its not just a regular clean topology then you could simply put all nulls into a group and use the global.kini.pointpositions to feed into a polygoniser mesh. hth On 5 September 2012 09:17, Lawrence Pankhurst lp3ds...@gmail.comwrote: Hi guys, I thought I remembered a nulls2mesh script knocking about, can't find it anywhere! I've got a set of nulls and want to turn them into a mesh, ie position of each null becomes a vertex in said mesh! So anyone now where the script is or is there an ICE tool? Had a look on http://rray.de/xsi/ but couldn't see what I was after! Any help appreciated. Cheers Lawrence -- - Ciaran
Re: [BUG] Softimage crashing on workgroup unload containing a custom renderer and at least on .xsirtcompound file
Hi everyone! Just a small note on this (maybe this helps debugging further..): - having just a .xsirtcompound in a workgroup plus an open/once opened rendertree when unloading is a sure crasher (you dont even need a custom renderer in that workgroup) - the PluginManager[Tree Workgroup tabs] doesnt update when you switch between workgroups with .xsirtcompound in them using python - when using events and python to Add/Remove workgroups the only ones that _never_ crash for me are workgroups containing only python plugins. Everything that has a DLL/SO in it crashes eventually in my tests. Still havent figured out what exactly triggers this. I was testing this with a script that switches between different workgroups on siOnEndSceneOpen. The exact same setup could crash on first switch, could crash only after multiple switches, could crash during the event, could crash after the event when saving the scene, could crash after the event when hitting the Connect... button in the PluginManager[Workgroups tab]. hope this helps Philipp
Re: nulls2mesh
This image reminds me that ice needs dot node From: Rob Chapman Sent: Friday, September 07, 2012 5:56 PM To: softimage@listproc.autodesk.com Subject: Re: nulls2mesh Hi Alan Apologies for that- I thought if I could see it ok anyways here it is reattached. impressive spaghetti but no information can be ascertained as its too small detail but its from this original thread https://groups.google.com/forum/?fromgroups=#!searchin/xsi_list/convex$20hull/xsi_list/HcwOCOr2b_c/azmTxe3zlK8J hope that works Best Rob On 7 September 2012 16:47, Alan Fregtman alan.fregt...@gmail.com wrote: Hey Rob, You're linking to a private url for your Gmail pointing to an attachment. Can't do that. It's unusable for everyone else. Can you get the image and attach it to your email or put it on http://imgur.com or some other image upload site for us to see? Cheeers, -- Alan On Wed, Sep 5, 2012 at 7:09 AM, Rob Chapman tekano@gmail.com wrote: ah yeah - there you go, well remembered Ciaran 'convex hull' was the search term, from the same thread Grahame fuller did that in ICE only - won't take you long to rebuild from the image description Lawrence ;) https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2ik=3bf826a559view=attth=12f698c5d63caa9dattid=0.1.0disp=inlinesafe=1zwsaduie=AG9B_P-vyaBOEqzPxsaMIRCb2anDsadet=1346842977331sads=6GL42IzMUakN2KC52Ld4_NbnUKMsadssc=1 as you can see the gift wrapping algorithm is not so easy ! On 5 September 2012 11:55, Ciaran Moloney moloney.cia...@gmail.com wrote: Sounds like you want a convex hull of the null's points. Pretty sure there was a compound once, if not you might try Mr. LaForge's Convex Hull ICE node. On Wed, Sep 5, 2012 at 11:13 AM, Rob Chapman tekano@gmail.com wrote: yeah I dont think there was ever a nulls2mesh - nulls2points easy and vertex2nulls yes :) for a clean topo the point position array is easy as you have that, its just the description of each polygon, or the order of each vertex in every polygon - how is this to be made? if the desired mesh is pretty simple shape you could try starting with a simple surrounding geometry and in ICE moving points to the nearest null On 5 September 2012 10:56, Lawrence Pankhurst lp3ds...@gmail.com wrote: Nice clean mesh would be good, it's a one off so I might just do it by hand, just thought it would be a useful tool to have and it would exist already (sure there used to be a script)!! Polygoniser takes the nulls but gives blobs rather then a single mesh! Thanks for looking though! Cheers Lawrence On Wed, Sep 5, 2012 at 9:42 AM, Rob Chapman tekano@gmail.com wrote: oh! ICE topo should be able to do this, :) but not sure how you are to build the polygon description from a set of random positions!? not so easy what kind of mesh are you after? if its not just a regular clean topology then you could simply put all nulls into a group and use the global.kini.pointpositions to feed into a polygoniser mesh. hth On 5 September 2012 09:17, Lawrence Pankhurst lp3ds...@gmail.com wrote: Hi guys, I thought I remembered a nulls2mesh script knocking about, can't find it anywhere! I've got a set of nulls and want to turn them into a mesh, ie position of each null becomes a vertex in said mesh! So anyone now where the script is or is there an ICE tool? Had a look on http://rray.de/xsi/ but couldn't see what I was after! Any help appreciated. Cheers Lawrence -- - Ciaran
Re: nulls2mesh
true - is 'pass through' not the similar as a dot node? On 7 September 2012 17:12, piotrek marczak piotrek.marc...@gmail.comwrote: This image reminds me that ice needs dot node *From:* Rob Chapman tekano@gmail.com *Sent:* Friday, September 07, 2012 5:56 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: nulls2mesh Hi Alan Apologies for that- I thought if I could see it ok anyways here it is reattached. impressive spaghetti but no information can be ascertained as its too small detail but its from this original thread https://groups.google.com/forum/?fromgroups=#!searchin/xsi_list/convex$20hull/xsi_list/HcwOCOr2b_c/azmTxe3zlK8J hope that works Best Rob On 7 September 2012 16:47, Alan Fregtman alan.fregt...@gmail.com wrote: Hey Rob, You're linking to a private url for your Gmail pointing to an attachment. Can't do that. It's unusable for everyone else. Can you get the image and attach it to your email or put it on http://imgur.com or some other image upload site for us to see? Cheeers, -- Alan On Wed, Sep 5, 2012 at 7:09 AM, Rob Chapman tekano@gmail.com wrote: ah yeah - there you go, well remembered Ciaran 'convex hull' was the search term, from the same thread Grahame fuller did that in ICE only - won't take you long to rebuild from the image description Lawrence ;) https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2ik=3bf826a559view=attth=12f698c5d63caa9dattid=0.1.0disp=inlinesafe=1zwsaduie=AG9B_P-vyaBOEqzPxsaMIRCb2anDsadet=1346842977331sads=6GL42IzMUakN2KC52Ld4_NbnUKMsadssc=1 as you can see the gift wrapping algorithm is not so easy ! On 5 September 2012 11:55, Ciaran Moloney moloney.cia...@gmail.comwrote: Sounds like you want a convex hull of the null's points. Pretty sure there was a compound once, if not you might try Mr. LaForge's Convex Hull http://frenchdog.wordpress.com/2012/01/05/happy-2012/ ICE node. On Wed, Sep 5, 2012 at 11:13 AM, Rob Chapman tekano@gmail.comwrote: yeah I dont think there was ever a nulls2mesh - nulls2points easy and vertex2nulls yes :) for a clean topo the point position array is easy as you have that, its just the description of each polygon, or the order of each vertex in every polygon - how is this to be made? if the desired mesh is pretty simple shape you could try starting with a simple surrounding geometry and in ICE moving points to the nearest null On 5 September 2012 10:56, Lawrence Pankhurst lp3ds...@gmail.comwrote: Nice clean mesh would be good, it's a one off so I might just do it by hand, just thought it would be a useful tool to have and it would exist already (sure there used to be a script)!! Polygoniser takes the nulls but gives blobs rather then a single mesh! Thanks for looking though! Cheers Lawrence On Wed, Sep 5, 2012 at 9:42 AM, Rob Chapman tekano@gmail.comwrote: oh! ICE topo should be able to do this, :) but not sure how you are to build the polygon description from a set of random positions!? not so easy what kind of mesh are you after? if its not just a regular clean topology then you could simply put all nulls into a group and use the global.kini.pointpositions to feed into a polygoniser mesh. hth On 5 September 2012 09:17, Lawrence Pankhurst lp3ds...@gmail.comwrote: Hi guys, I thought I remembered a nulls2mesh script knocking about, can't find it anywhere! I've got a set of nulls and want to turn them into a mesh, ie position of each null becomes a vertex in said mesh! So anyone now where the script is or is there an ICE tool? Had a look on http://rray.de/xsi/ but couldn't see what I was after! Any help appreciated. Cheers Lawrence -- - Ciaran
Re: setting undo level via script
it does work, but the pref is restored after the script exits. You can change it permantely through c++ On Sep 7, 2012 6:30 PM, Matt Lind ml...@carbinestudios.com wrote: I’ve looked through my email archives and have seen plenty of discussion about the undo history level not being permanently set by script. What I do not see is a solution to temporarily setting the undo history via script. ** ** In 2013_SP1 I can read the undo history value via scripting just fine, but I cannot set the undo history level as all of these techniques fail silently: ** ** var HistoryLevel = 0; ** ** Application.Preferences.SetPreferenceValue( “General.undo”, HistoryLevel ); SetValue( “preferences.General.undo”, HistoryLevel ); SetUserPref( “General.undo”, HistoryLevel ); ** ** While I never rely on setting undo history for tools, I have one rare exception where it’s required to work around a problem – animation import. We have many very large animation files which must be imported into the scene, and by necessity we’re still running 32-bit Softimage. When we import these large animation files the undo history buffer overflows and causes Softimage to crash from running out of memory. The only available workaround has been to set undo history to zero, import the files, then restore undo history to it’s previous value. ** ** Any ideas how to set undo history from script? ** ** ** ** Matt ** ** ** **
Re: Forcing Order of firing of events in soft
On 9/6/2012 8:58 PM, Alok wrote: Nothing is stopping me but the events are all scattered in various plugins, libraries. As our in house python libraries are humongous (thousands of lines of code) it will create huge maintenance issues to put everything into one event. I have used the awesome SetGlobal() and GetGlobal() for other purposes before and it works beautifully but for this case it is a bit of an overkill. Never mind, it is not absolutely needed now, I can think of something later. Anyways thanks for your insights Alan ! Create your own system of registration for all sub-events. Then make a small proprietary API where all your consumers register themselves, with any extra data needed (priority perhaps? prerequisites?). Build a single event handler in your main module (I assume there is one) that processes and dispatches notifications based on what's been registered through the API. Do NOT try to put everything in that single event. Get a callback system in place, running on top of your custom 'metadata' that knows what should be invoked and when. It's a lot of work, yes, but if long-term stability and ease of maintenance are super important to you, the investment in effort will pay off. K.
Re: Small Annoying Things
I guess the render region saves in buffer, and logically it should only be accessible within a session... Isn't it? Chris On 8 Sep, 2012, at 8:49 AM, Steven Caron car...@gmail.commailto:car...@gmail.com wrote: saving the scene destroys hidden render regions, actually even opening the dialog does it. example, draw a region, looks beautiful. now hide it, and go to file save as, save the scene, try to middle click and bring back the region. all gone! s On Fri, Sep 7, 2012 at 2:29 AM, Rob Chapman tekano@gmail.commailto:tekano@gmail.com wrote: oh ! My mistake, this is a new feature I have barely touched - Strings - and yes Chris you are correct , I can use in 2012 the fairly new 'file path' node. So this small annoying request is hereby officially withdrawn ! thanks! :D On 7 September 2012 09:59, Chris Chia chris.c...@autodesk.commailto:chris.c...@autodesk.com wrote: You could have a “file path” node and attach it to the exposed port of the File Full Name of the “Cache on File” node? Chris 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 Rob Chapman Sent: Friday, August 31, 2012 5:46 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: Re: Small Annoying Things having a path input for compounds that contain 'cache on file' nodes attachment: winmail.dat
Re: Small Annoying Things
when a region is set to use pass render options, and you choose the 'options' from the drop down, could we inspect the pass render options and not just a property page that says 'Use Current Pass Options'!? s On Fri, Sep 7, 2012 at 6:59 PM, Steven Caron car...@gmail.com wrote: but my sessions isn't over... render, hide region, file save as, unhide region. doesn't work... but if i leave the region open when saving it works as expected. s On Fri, Sep 7, 2012 at 6:55 PM, Chris Chia chris.c...@autodesk.comwrote: I guess the render region saves in buffer, and logically it should only be accessible within a session... Isn't it? Chris