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: 

User Defined Settings (NC Program)

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
istan
445 Views, 2 Replies

User Defined Settings (NC Program)

https://knowledge.autodesk.com/support/powermill/learn-explore/caas/CloudHelp/cloudhelp/2021/ENU/PWR... 

 

How is this value passed to the NC program and how can I access it from the Postprocessor ?

2 REPLIES 2
Message 2 of 3
serge.quiblier
in reply to: istan

Hi @istan 

 

when you are creating a parameter (on a toolpath, or a tool), you will give him a name and a type (number, string)

Let suppose you are creating a variable called foo.

When creating the variable in the post, you must name it udp_foo, assigning the same type (integer, float for numbers, or string)

 

Be careful to always respect the variable name case. If you define Foo in PowerMill, then the variable in the post should be udp_Foo, but defining FOO, foo, or fOo in PowerMill will be ignored, and no value will be retrieved.

 

Cheers,


______________________________________________________________

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
Message 3 of 3
istan
in reply to: istan

Thank you! Works!

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

Post to forums  

Autodesk Design & Make Report