For some reason it stopped working. And I couldn't get it back to work. I did upgrade to Maya 2024.01, but i doubts that that is the problem. I tried all you tips and some more, but still no luck. So I abandoned the Maya part in the script and only use the Blender part, what doesn't give me any headaches.
Still thank you for your time. And have a great day!
Found 7 posts.
Search results Show results as topic list.
Technical Discussion » Open Maya in Houdini using Python
-
- karelkiers
- 7 posts
- Offline
Technical Discussion » Open Maya in Houdini using Python
-
- karelkiers
- 7 posts
- Offline
Thank you mate,
The code below worked! It probably can be written better, but I'm happy it worked!
import subprocess, os
# set the necessary environment variables for Maya
os.environ = "C:/Program Files/Autodesk/Maya2024/"
# set the maya executable + file to open
cmd = "maya.exe -file c:/temp/temp_mb_scene.mb"
# open maya
subprocess.Popen(cmd, env=os.environ)
The code below worked! It probably can be written better, but I'm happy it worked!
import subprocess, os
# set the necessary environment variables for Maya
os.environ = "C:/Program Files/Autodesk/Maya2024/"
# set the maya executable + file to open
cmd = "maya.exe -file c:/temp/temp_mb_scene.mb"
# open maya
subprocess.Popen(cmd, env=os.environ)
Technical Discussion » Open Maya in Houdini using Python
-
- karelkiers
- 7 posts
- Offline
Hello smarter people!
To start, I'm not the best python scripter out there, so I'm a bit stuck with a problem.
import subprocess
cmd = "maya.exe -file c:/temp/temp_mb_scene.mb"
subprocess.Popen(cmd)
If I run the code above in "VS Code" or "Windows PowerShell" it works fine. It opens Maya and the Maya scene. But if I try to run the code above in Houdini, Maya starts, but crashes right away. Maya also crashes if I leave out the Maya scene file. Does anyone have a clue how to solve this? Or how to open Maya in Houdini with Python?
To start, I'm not the best python scripter out there, so I'm a bit stuck with a problem.
import subprocess
cmd = "maya.exe -file c:/temp/temp_mb_scene.mb"
subprocess.Popen(cmd)
If I run the code above in "VS Code" or "Windows PowerShell" it works fine. It opens Maya and the Maya scene. But if I try to run the code above in Houdini, Maya starts, but crashes right away. Maya also crashes if I leave out the Maya scene file. Does anyone have a clue how to solve this? Or how to open Maya in Houdini with Python?
Technical Discussion » Subnet references Error while editing HDA parameters
-
- karelkiers
- 7 posts
- Offline
Hello Azeroc,
I don't know if you found the solution jet. But I had the same problem. And I found out what I did wrong. I made some mistakes creating the “Blend Constraints”. So Some of my “_ctrl” nodes had a bad constraint on them. When I checked off the “Enable Constraints” check box, the error was gone.
I hope this helps or that you already found the solution.
Karel
I don't know if you found the solution jet. But I had the same problem. And I found out what I did wrong. I made some mistakes creating the “Blend Constraints”. So Some of my “_ctrl” nodes had a bad constraint on them. When I checked off the “Enable Constraints” check box, the error was gone.
I hope this helps or that you already found the solution.
Karel
Technical Discussion » Flickering in flip fluid rendering
-
- karelkiers
- 7 posts
- Offline
I turned off the “Diffuse Contribution” and set the “Anti-Alias” to zero. But It still got back spots in the flip fluids. I tried teh water only to, but that was the same.
I'm going to make a new flip fluid, ocean animation. And check if that one does work.
Again, thank you for the reply/tips.
I'm going to make a new flip fluid, ocean animation. And check if that one does work.
Again, thank you for the reply/tips.
Technical Discussion » Flickering in flip fluid rendering
-
- karelkiers
- 7 posts
- Offline
Thank you for the reply!
I will check if that's the problem. I'll come back on that on Monday.
I will check if that's the problem. I'll come back on that on Monday.
Technical Discussion » Flickering in flip fluid rendering
-
- karelkiers
- 7 posts
- Offline
Hello Houdini friends,
I got a problem with rendering flip fluids in Mantra. I keep getting (black) flickering in my renders. I tried all kinds of settings and upped my samples etc. But without any good results. I hope someone here can tell me what to do to fix this.
Pixel Samples: 6 | 6
Min Ray Samples: 1
Max Ray Samples: 8
I changed these settings
- I turned on “sample lock”
- At Ray Limit: Use Direct Lighting as Background
- Raytracing Bias from 0.001 to 0.01
I got a problem with rendering flip fluids in Mantra. I keep getting (black) flickering in my renders. I tried all kinds of settings and upped my samples etc. But without any good results. I hope someone here can tell me what to do to fix this.
Pixel Samples: 6 | 6
Min Ray Samples: 1
Max Ray Samples: 8
I changed these settings
- I turned on “sample lock”
- At Ray Limit: Use Direct Lighting as Background
- Raytracing Bias from 0.001 to 0.01
-
- Quick Links