AXIAL THICKNESS VALUE AS Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
While creating a toolpath, I wish to enter the value of the parameter Axial thickness by taking an INPUT from the user. I created a variable X and asks the user to input its value, but when I try to pass this value to the axial thickness, it shows an error.
Can you please tell me the error in my code?
and how to enter this particular value in the automatic verification as well.
Thanks
RENAME TOOLPATH "1" $toolpath_name
EDIT TPPAGE SWBlock
EDIT TPPAGE TOOL
EDIT TPPAGE SWDrilling
EDIT DRILL TYPE DEEP_DRILL
EDIT DRILL TOP BLOCK
EDIT DRILL DEPTH HOLE
EDIT TOOLPATH LEADS PLUNGEDIST "5"
EDIT DRILL ISTAZ "3"
EDIT PAR 'AxialDepthOfCut.UserDefined' '1' EDIT DRILL PECK_DEPTH "0.5"
EDIT DRILL THICKNESS "-1"
REAL $X = INPUT "Enter the value"
toolpath_name.Name.Drill.AxialThickness = $X
EDIT TPPAGE SWAutoVerifMdlG
EDIT PAR 'Thickness' "-1"
EDIT TPPAGE SWLeadsLinks
EDIT TPPAGE SWFeedSpeed
EDIT TPPAGE SWDrilling
EDIT TOOLPATH $toolpath_name CALCULATE
EDIT TOOLPATH $toolpath_name REAPPLYFROMGUI