cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Translate the entire conversation x

Creo Elements/Direct - Machining

EI_10453429
10-Marble

Creo Elements/Direct - Machining

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
EI_10453429_0-1758872695524.png

 

 

2 REPLIES 2

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,


Catalina
PTC Community Moderator
PTC

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:

  1. Pick up the command in the following file: $SDINSTALLDIR\personality\sd_customize\MachiningAdvisor\ma_avail_cmds.cmd or in your current langauge 
    $SDINSTALLDIR\personality\<YOURLANG>\sd_customize\MachiningAdvisor\ma_avail_cmds.cmd
  2. place a (new) file in your corp/site/user cutomize dir as
    MachiningAdvisor\ma_avail_cmds.cmd
  3. copy the original command (+ 2 more lines)  into the new file
  4. and change the action
    1. from "create_custom_feature mach_adv_library_partially_threaded_blindhole :action :create"
    2. to  "create_custom_feature mach_adv_library_partially_threaded_blindhole :action :create :chamfer_angle 180"
      ':chamfer_angle'  it the thing invoked when pressing the button titled "Cham.Angle"
      180  .well that's the new value you like to use as new default
  5. now start Modeling 

 

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.



Announcements

Top Tags