Công suất vĩ mô

Công suất vĩ mô

BANDONGHANHTV
Community Visitor Community Visitor
306 Views
1 Reply
Message 1 of 2

Công suất vĩ mô

BANDONGHANHTV
Community Visitor
Community Visitor

I have a piece of code like the following, but when I try running it in debug mode line by line, it works, but when I run it, it says it doesn't work. Does anyone know what's wrong with it?

 

//my code

string path0 = replace($project_pathname(0), “/“, “\”)

string pathimage = $path0 + “test.png”

form tool;

form raise toolasspreviewform ;

export toolassemblypreview $pathsave

Yes\n

form cancle toolasspreviewform

tool accept

0 Likes
307 Views
1 Reply
Reply (1)
Message 2 of 2

nguyenthinhvt95
Advocate
Advocate

Khúc export đang sử dụng sai biến, bro thử test lại đoạn code bên dưới coi sao:

string path0 = replace($project_pathname(0), "/", "\")
string pathimage = $path0 + "test.png"
form tool;
WAIT FORM
form raise toolasspreviewform ;
WAIT FORM
//export toolassemblypreview $pathsave
EXPORT TOOLASSEMBLYPREVIEW $pathimage YES
FORM CANCEL TOOLASSPREVIEWFORM
tool accept
0 Likes