Maya 3d text
![maya 3d text maya 3d text](http://www.john-player.com/wp-content/uploads/2019/03/maya-text-6.png)
#MAYA 3D TEXT CODE#
Here you can see the number 120 is missing after running my chart code twice, the selection of 600 is from it going over each text object after they were created. The good news is the text doesn't seem to mess up when maya has been restarted, only after running the script multiple times. Only seems to pause maya entirely and the text errors happen and so does the missing text objects. I'm not sure if having the program wait would help but the command Delete all objects and run the script again and look at each object and there ought to be some text missing from one of them. Run the code once and it should spawn 10 text objects with different numbers. To give an idea here is some example code to spawn 10 text objects and set their numbers. I'm not sure what maya is doing when it goes over each text object but it seems the timing of this can conflict with my setting the text values and if maya is not freshly restarted it can interfere and cause text objects to be missing in the final graph. However, the process seems to be CreatePolygonType >Creates Text Object>Errors occur while the program selects each text object again. I'm not entirely sure how the font object creation works but I use the mel command CreatePolygonType to create the type and then a python command to edit the type of each type object. However, there are two questions I have:ġ) When creating these text objects they create multiple errors and I'm assuming it has something to do with python. It's convoluted but I was able to write procedures to convert the numbers to hex and then use them to alter the text objects. I'm writing a program that takes in data from a file and displays it as a graph in maya and I'm using the text to display the numbers for the hash marks along the side and bottom of the graph.
![maya 3d text maya 3d text](https://i.all3dp.com/cdn-cgi/image/fit=cover,w=1284,h=722,gravity=0.5x0.5,format=auto/wp-content/uploads/2019/11/13111218/using-the-quad-view-in-maya-mediumcom-191112.png)
#MAYA 3D TEXT HOW TO#
Hello, I was also wondering how to go about setting dynamic text and this thread helped me get started.