No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
18 Posted Topics
As seen in image, I need a copy of the remove selected ( marked in red ) to be available as a button down. ( it will remove the top item + send mail to next ). How is it possible to have a button point to same code. http://imgur.com/5bFC4dT
Hi, how is it possible to make vertices in maya (3d s/w ) react to wind ( dynamic effects ). Brgds, kNish
Hi, 1) I need to copy images from local to central thru a 3d appl. In doing so i m using threads to ensure that maya does not freeze. Now the case is for each image that is copied there is multiple sizes of this image that has to be …
Hi, I have a question for you, if you would be kind to answer it though i have asked it here. Hey, i had your email id. 1) To apply gravity on an object, do I need to make a rigid body out of the existing object in maya and …
Hi, I have wampserver loaded on one pc. users A, B, C have same login privilege. User A created tables in the database. User A can add data to a table using mysql commands like mysql_real_connect, mysql_real_query .... User B and User C, though, having same privilege as user A …
Hi, Is it possible to change a folder permission using python. Brgds, kNish
Hi, I have written 2 procedures. how best may i put it in class, def form. if i do not have procedures within a class, is it possible to call them where and as they are. Is this the best way to use python's strength. BRgds, kNish [code] import maya.cmds …
i am using glob.glob('') function to get a list of all files from a folder. I need to get only those names which do not contain '_ab' in it. How is it possible. I understand the need for regular expressions here. i tried (?!....) . what should work here. example …
Hi, I am using the following code to send mail from a open window in maya application. This gives me following error. I think it says that A2 is not created. What is a possible way to have this code send a mail. BRgds, kNish # Error: name 'A2' is …
Hi, 1) how do I source a python script thru MEL. 2) Execute a python script thru MEL (python("") Brgds, kNish
Hi, Is it possible to thicken the film gate that appears when the option is put on in maya. At present the line is may be 1 mm thick. I need that it becomes 20 mm thick. How may I use the Maya API to do this. BRdgs, kNish
Hi, scheduler.py has a function weekdaytask. It needs five parameters as stated in the scheduler.py. weekdays and timeonday I figured out. You tell me what is name and action, args=None, kw=None ? BRgds, kNish ===================================================== class WeekdayTask(DayTaskRescheduler, Task): """A task that is called at specific days in a week (1-7), …
Hi, The following works. import maya.cmds as cmds def importImage( fileName, fileType): cmds.file( fileName, i=True ); return 1 cmds.fileBrowserDialog( m=0, fc='python("importImage")', ft='image', an='Import_Image', om='Import' ) However in the following situation it does not work. The error is ================================================== ==== Cannot find procedure "importImage". Start of trace: (command window: line 1). …
Hi, #!/usr/bin/python # panels.py import wx class Panels(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title) hbox = wx.BoxSizer(wx.HORIZONTAL) splitter = wx.SplitterWindow(self, -1) vbox1 = wx.BoxSizer(wx.VERTICAL) panel1 = wx.Panel(splitter, -1) panel11 = wx.Panel(panel1, -1, size=(-1, 40)) panel11.SetBackgroundColour('#53728c') st1 = wx.StaticText(panel11, -1, 'Feeds', (5, 5)) st1.SetForegroundColour('WHITE') panel12 = wx.Panel(panel1, -1, …
Hi, While connecting to a host computer to access its records from another computer using python. I am getting an error [COLOR="Red"]OperationalError: (1130, "Host '2k.vfx.net' is not allowed to connect to this MySQL server")[/COLOR] There is no firewall. I have installed wampserver 5 on the host pc. Is it possible …
Hi, I have two py programs. both have while 1: loops. Lets say File A has one while 1: loop and File B has another while 1: loop. File A has a break statement. File B has no break statement. File B is running. I now run File A. This …
Hi, I am a newbie to PHP. what is the way to hold the selected value from the list. How does the return statement work in this context. Brgds, kNish function enhanced_list_box_05($options){ $sql = "select " . $options; $sql .= " from " . $options; $result = mysql_query($sql)or die("error in …
Hi, After trouble shooting error 10061, 1130, 1045 and 1044. Finally, the following code works in a python shell. import MySQLdb import MySQLdb.cursors conn = MySQLdb.connect(host="ENG-3", user = "Any", passwd = "", db = "daily", cursorclass=MySQLdb.cursors.DictCursor) user='root' also works. I now have a small cgi script, the values from the …
The End.
knish