RE: VS2012 Debugg CString CValue

2015-11-23 Thread Marc-Andre Belzile
You should be able to see the content of these CString data members from the debugger wchar_t* m_pWDebugStr; char* m_pDebugStr; -mab From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Andruha Prostrelov Sent:

RE: Softimage Python versus Maya Python

2014-05-06 Thread Marc-Andre Belzile
There is also Maya Python 2.0 which is more pythonic than v1.0. However, the class set in v2.0 is not as exhaustive in v1.0. -mab From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Raffaele Fragapane Sent: Monday, May 05, 2014 8:42 PM

RE: Global Python interpreter?

2013-10-17 Thread Marc-Andre Belzile
Use a command ? From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Sergio Mucino Sent: Thursday, October 17, 2013 2:50 PM To: softimage@listproc.autodesk.com Subject: Re: Global Python interpreter? Thanks Stephen. That would work for

RE: [C++] Store a structure of vector in a UserData

2013-06-09 Thread Marc-Andre Belzile
Alternatively, you could store C++ buffers in your struct instead of std::vector objects. Then if you need to access your data with stl, just assign each buffer to an std::vector out from these buffers. If you can't afford the extra copy performed by std::vector constructor, you'll need to

RE: Free icon libraries?

2013-03-08 Thread Marc-Andre Belzile
There is also the open icon library http://openiconlibrary.sourceforge.net/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Turman Sent: Friday, March 08, 2013 8:16 AM To: softimage@listproc.autodesk.com Subject: Re: Free icon

RE: Calling functions inside SI, from a Python instance outside SI

2012-12-14 Thread Marc-Andre Belzile
Or look at the python TCP server in the XSI sdk examples. -mab From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Tim Crowson Sent: Friday, December 14, 2012 9:12 AM To: softimage@listproc.autodesk.com Subject: Re: Calling functions

RE: SDK: When *exactly* does XSIUnloadPlugin get called

2012-10-26 Thread Marc-Andre Belzile
'; the PluginRegistrar keeps track of those objects and will unregister as necessary. On 10/26/2012 1:49 AM, Marc-Andre Belzile wrote: I think this is already covered somewhere in the doc. XSIUnloadPlugin gets called when the plugin is unloaded by the plugin manager (explicitly or when XSI exits

RE: SDK: When *exactly* does XSIUnloadPlugin get called

2012-10-26 Thread Marc-Andre Belzile
XSIUnloadPlugin get called sounds like if you put some code in the constructor of a global variable, then you'd be called twice per xsi session, since your dll will be loaded and unloaded twice? On Fri, Oct 26, 2012 at 9:34 AM, Marc-Andre Belzile marc-andre.belz...@autodesk.com wrote: Sorry for not being

RE: SDK: When *exactly* does XSIUnloadPlugin get called

2012-10-26 Thread Marc-Andre Belzile
your dll will be loaded and unloaded twice? On Fri, Oct 26, 2012 at 9:34 AM, Marc-Andre Belzile marc-andre.belz...@autodesk.commailto:marc-andre.belz...@autodesk.com wrote: Sorry for not being clear enough. When a plugin is loaded at startup or through LoadPlugin, all plugin items are registered

RE: SDK: When *exactly* does XSIUnloadPlugin get called

2012-10-25 Thread Marc-Andre Belzile
I think this is already covered somewhere in the doc. XSIUnloadPlugin gets called when the plugin is unloaded by the plugin manager (explicitly or when XSI exits). It is also called through the Application.UnloadPlugin API or if XSILoadPlugin fails. XSILoadPlugin is used for registering

RE: [C++] UserDataMap data type

2012-10-02 Thread Marc-Andre Belzile
UserDataMap supports binary data so you can use any data type you want. -mab From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ahmidou Lyazidi Sent: Tuesday, October 02, 2012 4:51 AM To: softimage@listproc.autodesk.com Subject: [C++]

RE: [C++] UserDataMap data type

2012-10-02 Thread Marc-Andre Belzile
...@listproc.autodesk.com] On Behalf Of Marc-Andre Belzile Sent: Tuesday, October 02, 2012 9:21 AM To: softimage@listproc.autodesk.com Subject: RE: [C++] UserDataMap data type UserDataMap supports binary data so you can use any data type you want. -mab From: softimage-boun...@listproc.autodesk.com

RE: ICEDataModifierNode question

2012-07-26 Thread Marc-Andre Belzile
Right, SetData and GetData were initially built-in nodes and were later changed to compound nodes. You could log a bug to update the API to look after compounds as well. -mab From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Vladimir

RE: Scripting Development with an external IDE

2012-05-29 Thread Marc-Andre Belzile
Did anyone try the VS2010 python IDE ? http://ironpython.net/tools/ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Xavier Lapointe Sent: Tuesday, May 29, 2012 1:30 PM To: softimage@listproc.autodesk.com Subject: Re: Scripting

RE: Why is Material::operator private?

2012-05-08 Thread Marc-Andre Belzile
, May 4, 2012 at 4:27 AM, Marc-Andre Belzile marc-andre.belz...@autodesk.commailto:marc-andre.belz...@autodesk.commailto:marc-andre.belz...@autodesk.commailto:marc-andre.belz...@autodesk.com wrote: Do you really need to instantiate ProjectItem objects ? Try using CRef::operator in your predicate

RE: Why is Material::operator private?

2012-05-04 Thread Marc-Andre Belzile
Do you really need to instantiate ProjectItem objects ? Try using CRef::operator in your predicate instead. -mab From: softimage-boun...@listproc.autodesk.com [softimage-boun...@listproc.autodesk.com] on behalf of Steven Caron [car...@gmail.com] Sent:

RE: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Marc-Andre Belzile
Here's another example from the doc in case you missed it win32com.client import constants xsi = Application xsi.CreatePrim(Sphere, MeshSurface, , ) attrs = xsi.Selection(0).ActivePrimitive.Geometry.ICEAttributes for attr in attrs: if attr.StructureType !=

RE: CRefArray doesn't respect C++ copy semantics

2012-05-01 Thread Marc-Andre Belzile
I say CRefArray copy ctor is buggy! thanks for reporting. -mab From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Nicolas Burtnyk Sent: Monday, April 30, 2012 9:05 PM To: softimage@listproc.autodesk.com Subject: Re: CRefArray