Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
How can i change this values by default, i dont want chanfer and i want this value to be 180 by default and not 120. How can i do it?
Creo Elements/Direct 20.2.1.0
Hi @EI_10453429
Thank you for your question.
Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.
Also, feel free to add any additional information you think might be relevant.
Best regards,
For everything available in the Ribbon Bars, and you can click on an icon there is so called 'available command' in the background. You can adapt / have a modified version of the original 'available command'.
Step by Step:
The original commands starts with
("Create Partially Threaded Blind Hole"
:title "Partially Threaded Blind Hole"
in the file mentioned.
Be aware that the chamfer angle is a value using UNITS. If you change your current angle unit to e.g. radiant we would use 180radiant when using the (modified) command from within in the ribbon bar. That can be avoided with some LISP magic, But IMHO we would be overshooting the mark in this case. Let's keep it simple and assume 1-degree is your angle unit.
To your convenience I have attached a file working fine for me. Be aware to remove the '.txt' at the end of the filename after downloading.
It might be possible to do all the changes via UserInterface as well and describe as click, click, click, insert ":chamfer_angle 180" , confirm, press ok, press accept . or similar. I prefer editing ASCII files, and I think that way it is easier to explain the important things, and that way you can do the customization also in your companies corp/site directory if required.