Community
PowerMill Forum
Welcome to Autodesk’s PowerMill Forums. Share your knowledge, ask questions, and explore popular PowerMill topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Công suất vĩ mô

1 REPLY 1
Reply
Message 1 of 2
BANDONGHANHTV
176 Views, 1 Reply

Công suất vĩ mô

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

1 REPLY 1
Message 2 of 2

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report