Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shopmill 840D Subprogramm call in PP

1 REPLY 1
Reply
Message 1 of 2
siekmann.dennis
103 Views, 1 Reply

Shopmill 840D Subprogramm call in PP

Hey Guys,

 

i need a bit help right now, i want to work with subprogramms and its working well. But i need to get this " before and after the programm name. Like: "roughing" and not : roughing.

 

This line: writeBlock("EXTCALL " + subprogram + " ;", callType); // call subprogram

 

I need to get "subprogram" how do i do that? So he writes "programname"

 

sorry for my bad english

 

and thanks for the help! 😄

 

1 REPLY 1
Message 2 of 2

Hello @siekmann.dennis 

 

Ah, dealing with the subtlety of quote and double quote in javascript.

Try that code :

writeBlock("EXTCALL \"" + subprogram + "\" ;", callType); // call subprogram

 

Use the escape version for the desired double quote. (i.e \" )

 

Regards


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!

 



Serge.Q
Technical Consultant
cam.autodesk.com

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

Post to forums  

Autodesk Design & Make Report