Nhập mã HOCPXH để được giảm giá từ 40%-60% trên mỗi khóa học tại unica.vn
Click on the orange link below get offer
Sách hướng dẫn Zbrush free toàn tập (370 trang)
Thiết kế mũ bảo hiểm trong zbrush (free)
Khóa học zbrush cơ bản và nâng cao (giảm học phí 5%. Liên hệ điện thoại 0 983 983 895 để lấy mã coupon giảm giá)
Fanpage
- Liên hệ điện thoại và zalo để biết thêm chi tiết: 0 983 983 895
--------------------------------------------------------

Hello there,

I was reading primers on ZBrushCentral for how to create DLLs for ZBrush, and how to get them to run. I know I use [FileExecute] to call the DLL and pass functions to it. But my question is:

How do I get my DLL to ‘communicate’ with ZBrush? Let’s say I want my DLL to execute ZScripts from its side of things. How would I go about doing this? An example is shown in the pseudocode below:

string cmd = "[ZScript CommandA]
                           [ZScript CommandB]";

ZbrushWindow.ExecuteCommand(cmd);
[...]

I have a script that speeds up my pipeline quite a bit. But the problem I face is in its call to UVMaster. Since that is a separate script, my script will terminate the minute it’s called.

I want to find a workaround for the ‘one zscript at a time limitation’. I figure if I can get my script working, I can call THAT, then send it over to the DLL to call the 2nd command in another script, and then return execution back to ZB or something along those lines.

I also know python, so if that has to be a recommended route, I’ll use it. But I also know that not everybody has Python installed on their system. So yeah.

Can anybody help me out? Thank you kindly. :slight_smile:

Đăng ký để nhận tài liệu hướng dẫn chi tiết Zbrush 346 trang

* indicates required


Source link

🔥7

Leave a Reply