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: 

Export to fusion

1 REPLY 1
Reply
Message 1 of 2
n_brandao
140 Views, 1 Reply

Export to fusion

Hi guys, im having some dificult here.

 

i want run this macro,

 

but i want to input a name do export model in .smt extension and open in fusion.

 

if i dont strings it run, but i would like to put a name in C:\temp folder

 

DIALOGS MESSAGE OFF
DIALOGS ERROR OFF
GRAPHICS LOCK
STRING $nome = INPUT "Nome"
STRING $abrir = "C:\Temp" + $nome + ".smt"

FORM RIBBON TAB "Model"
EDIT MODEL ALL SELECT ALL
TRANSFORM RESET TRANSFORM TYPE WORLD TRANSFORM MODEL ALL SELECTED
EXPORT MODEL ALL FILESAVE
$abrir
PLUGIN CLEANUP
PLUGIN CLEANUP
PLUGIN CLEANUP
PLUGIN CLEANUP
TEXTINFO ACCEPT
TRANSFORM RESET TRANSFORM TYPE WORKPLANE TRANSFORM MODEL ALL SELECTED
FORM RIBBON TAB "Home"
OLE FILEACTION 'open' "$abrir"

 

 

what im missing here?

1 REPLY 1
Message 2 of 2
icse
in reply to: n_brandao

maybe you missing a \

 

STRING $abrir = "C:\Temp\" + $nome + ".smt"

 

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

Post to forums  

Autodesk Design & Make Report