User Defined Settings (NC Program)

User Defined Settings (NC Program)

istan
Advisor Advisor
702 Views
2 Replies
Message 1 of 3

User Defined Settings (NC Program)

istan
Advisor
Advisor

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 ?

0 Likes
Accepted solutions (1)
703 Views
2 Replies
Replies (2)
Message 2 of 3

serge.quiblier
Autodesk
Autodesk
Accepted solution

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
0 Likes
Message 3 of 3

istan
Advisor
Advisor

Thank you! Works!

0 Likes