the Japanese thing is because pywin isn't compiled Unicode, unlike xsi.
it's not proper Japanese, just garbage. I thought we had done something
about that. .
well there is this IDE that you can use right out of Softimage,
# This loads the debugger module...
import pywin.debugger as dbg
# This launches the GUI:
dbg.brk()
but there are two problems:
On Thu, Jan 31, 2013 at 12:10 PM, jo benayoun jobenay...@gmail.com wrote:
IDEs provide code
wow...hot key to send mail...must find and delete lol
okay the two problems:
1) it is not awesome like Sublime ;)
2) it autocompletes/intellisenses in Japanese (which is fine if you can
read Japanese ;P )
On Fri, Feb 1, 2013 at 6:37 PM, Eric Turman i.anima...@gmail.com wrote:
well there is
oh the code snippet is in Python (of course ;) )
On Fri, Feb 1, 2013 at 6:39 PM, Eric Turman i.anima...@gmail.com wrote:
wow...hot key to send mail...must find and delete lol
okay the two problems:
1) it is not awesome like Sublime ;)
2) it autocompletes/intellisenses in Japanese (which is
IDEs provide code completion and code analysis by actually having a backend
specific to the language the editor is set to. Thats actually one of the
main difference between a text editor (sublime) and an IDE (eclipse). The
editor does not just consider the text as a suite of words but as a
Also something else to look at: http://www.dannywynne.com/blog/?p=66
Justin and Danny have PyQt and Maya working in Sublime. Would be amazing if
someone that actually has spare time could dig into this technique a bit.
On Fri, Jan 4, 2013 at 3:15 AM, Andy Nicholas a...@andynicholas.com wrote:
Maya has the command port that is always running which you can send calls
to. In Softimage you'd have to roll your own via a port, event loop, and a
few threads which has been discussed many times previously, to receive the
calls. Then you'd have to have some sort of handler to interpret the info
You guys should check this out. It might give you a good start...
http://xsisupport.com/2012/10/06/saturday-snippet-getting-a-list-of-properties-and-methods-with-python-introspection/
On 04 January 2013 at 00:54 jo benayoun jobenay...@gmail.com wrote:
The Softimage API (object model) is
I use SublimeCodeIntel too but it's not aware of XSI globals like
Application, XSIUtils and so on, so it won't introspect them.
How would one hack it to be more aware of such?
On Wed, Jan 2, 2013 at 9:19 PM, César Sáez cesa...@gmail.com wrote:
SublimeCodeIntel does a great job autocompleting
Hehe I was trying to figure out the same thing.
On Thu, Jan 3, 2013 at 8:09 AM, Alan Fregtman alan.fregt...@gmail.comwrote:
I use SublimeCodeIntel too but it's not aware of XSI globals like
Application, XSIUtils and so on, so it won't introspect them.
How would one hack it to be more aware
You have to add your environment paths to the 'env' tag in your
python.sublime-build config file, this way if you have a shortcuts module
it will instrospect it.
El 03/01/2013 17:34, Gene Crucean emailgeneonthel...@gmail.com escribió:
Hehe I was trying to figure out the same thing.
On Thu,
But it won't be able to find global XSI objects just like that, right?
Application is defined by the axscript module, but I feel like SI
internally dispatches it in a way I don't think Sublime could see it.
On Thu, Jan 3, 2013 at 1:40 PM, César Sáez cesa...@gmail.com wrote:
You have to add
You're right, sublime/any-other-editor can't see that softimage variables.
If you're using 'Application' (or any 'implicit variable' like that) your
script will fail on import, sipyutils module (or your own version of it) is
the way to go IMHO.
On Thu, Jan 3, 2013 at 9:18 PM, Alan Fregtman
The Softimage API (object model) is not visible because its all about
dynamic dispatching at runtime. This is like thinking your editor will be
natively enough smart to detect attributes you would add dynamically when
overriding the __getattr__ method of a class.
Happily for us the dispatching is
If there were enough we can submit them as a package for the Package
Control repo.
On Wed, Jan 2, 2013 at 3:59 PM, Eric Turman i.anima...@gmail.com wrote:
I'm bumping this video that Alan made 'cause Sublime is really nice and he
does a good job showing off some of its cool capabilities.
I've used Sublime for a while now but have never once used the definitions.
Would someone mind explaining how they are used? Benefits?
On Wed, Jan 2, 2013 at 1:19 PM, Alan Fregtman alan.fregt...@gmail.comwrote:
If there were enough we can submit them as a package for the Package
Control
I assume he probably meant autocompletion templates... like when you type
class and press Tab and it puts the Python code for a new class.
You could have xsi ones that produce valid xsi Python code, like type
xsicommand and Tab and it puts in a default command definition.
On Wed, Jan 2, 2013
that would be sooo nice ;)
On 2 January 2013 21:47, Alan Fregtman alan.fregt...@gmail.com wrote:
I assume he probably meant autocompletion templates... like when you type
class and press Tab and it puts the Python code for a new class.
You could have xsi ones that produce valid xsi Python
Yeah, basically to that properties of objects and commands
autocomplete...the available variables and functions after each .. Kind
of like the python autocomplete in the following link, but extended to
handle everything Softimage.
It would be completely bitchin if it autocompleted the entire sdk... and
not just simple commonly used snippets.
On Wed, Jan 2, 2013 at 3:12 PM, Eric Turman i.anima...@gmail.com wrote:
Yeah, basically to that properties of objects and commands
autocomplete...the available variables and
You actually can introspect recursively almost the entirety of the
scripting API and generate a dummy set of libraries from there. That will
offer autocompletion in most IDEs.
We've had that running here in AL for a while thanks to Aloys' efforts a
long time ago and it's worked without a hitch
SublimeCodeIntel does a great job autocompleting python modules and import
statements (via introspoction, works with your own modules too), it's not
softimage specific but helps alot.
Another cool package is the SublimeLinter, it highlight potential errors in
your code (IDE-like). I have no idea
22 matches
Mail list logo