How can I create a toolpath and change it's name in time ? Not generate a serial number ! It's necessary when I run a macro. Otherwise ! I must create a toolpath and rename it .
Solved! Go to Solution.
Solved by kukelyk. Go to Solution.
Try this
CREATE TOOLPATH "Yourtoolpathname" AREACLEAR_OFFSET
Or try with these:
3DOFFSET
ALONG
AREACLEAR_ADAPTIVE
AREACLEAR_OFFSET
AREACLEAR_PROFILE
AREACLEAR_RASTER
BLADE
BLISK
BLISK_BLADE
BLISK_HUB
CHAMFER
CONSTZ
CORNER_CLEARANCE
CURVE_AREA_CLEAR
CURVE_PROFILE
CURVE_PROJECTION
DISC_PROFILE
DRILLING
EDGEBREAK
Embedded
FACE
FLOWLINE
FORM
GUI
INTERCONSTZ
LINE_PROJECTION
MULTIPENCIL
NL
OFFSET_FLAT
OPTICONSTZ
PARAMETRIC_OFFSET
PARAMETRIC_SPIRAL
PATTERN
PENCIL
PLANE_PROJECTION
POINT_PROJECTION
PROFILE
QUIT
RADIAL
RASTER
RASTER_FLAT
RIB
ROTARY
SPIRAL
SPLITTER
STITCH
STITCHALONG
SURFACE_MACHINE
SURFACEPROJ
Swarf
TUBE_AREACLEAR
TUBE_PLUNGE
TUBE_SPIRAL
WIREFRAME_PROFILE
command error:
CREATE TOOLPATH "AA1" AREACLEAR_OFFSET
Unsupported feature or command
unfortunately this command is no more available, it works in PM2016.. You can try this:
//fill this with Your templates: STRING LIST templates = {"2.5D-Area-Clearance\2D-Curve-Area-Clearance.002.ptf";"2.5D-Area-Clearance\2D-Curve-Profile.002.ptf";"2.5D-Area-Clearance\Face-Milling.ptf";"2.5D-Area-Clearance\Chamfer-Milling.ptf";"3D-Area-Clearance\Model-Area-Clearance.003.ptf"} //fill this with Your custom names: STRING LIST customnames = {"2d_roughing"; "2d_profile"; "Face" ; "Chamfer"; "3d_roughing" } INT c = 0 $c = INPUT CHOICE $templates "Select the template:" STRING selected = $templates[$c] IMPORT TEMPLATE ENTITY TOOLPATH $selected STRING tpname = $customnames[$c] IF NOT ENTITY_EXISTS('toolpath', $tpname) { INT $i = 1 STRING tempname = $tpname + $i WHILE ENTITY_EXISTS('toolpath', $tempname) { $tempname = $tpname + $i $i = $i + 1 } RENAME TOOLPATH ; $tempname }
Can't find what you're looking for? Ask the community or share your knowledge.