Karl@CP PISTONS

Verified Members
  • Content count

    277
  • Joined

  • Last visited

Community Reputation

15 Good

About Karl@CP PISTONS

  • Rank
    Member
  • Birthday 01/29/1966

Recent Profile Visitors

1,188 profile views
  1. Karl@CP PISTONS

    Pic into MC

    Use the raster to vector c-hook supplied with mastercam.
  2. Karl@CP PISTONS

    Vb Script File List

    This place is the best. Thanks for all the help. All fixed and looking good.
  3. Karl@CP PISTONS

    Vb Script File List

    First off thanks all of the above who replied and helped out. The icons showed up in the all commands section now.. But, how do I get tMastercam to show the name as it is only just an icon without a description? Also when they are added to the toolbar the tool tip does not show up on mouse hover, should it?
  4. Karl@CP PISTONS

    Vb Script File List

    Yes my FT file looks similar ( also similar to existing .net ft files i.e. atp.ft which DOES show in the all commands list ) here is in entirety: ############################################################################### # NET-Hook function table ############################################################################### # # Name : UHM_Open.ft # NETHook : UHM_Open.dll # Date : # Author : K Stickel # Notes : Rename all YOUR_NETHOOK with the name of this project # Language : VB.NET # ############################################################################### ####################################### # ASSIGN A UNIQUE NAME FOR THIS NETHOOK ####################################### APPLICATION "UHM_Open" ###################### # NET-Hook PATHS ###################### # # Update paths below to match your install path and project name. # you can use folders if you wish to have your NETHook in a CHooks sub folder # just make sure to edit this path to match. FUNC_DLL "CHOOKS\UHM_Open.dll" RES_DLL "SAME" dnRES_NAME "UHM_Open.NETHook" CATEGORY "CP-Custom" ############################################################################## # Public functions here ############################################################################## # # The main system entry point FUNCTION NET "Run" dnSPNG "Run16" dnLPNG "Run24" dnTIP "UHM Open" END_FUNCTION # # EOF
  5. Karl@CP PISTONS

    Vb Script File List

    Sorry, I must me missing something. Only some of the c-hooks supplied by CNC systems show in the list, and NONE of mine Can I just add the info from the FT file into the MC_chooks.ft file?
  6. Karl@CP PISTONS

    Vb Script File List

    I did switch this over to .net and a custom c-hook. Works great, How can I add this c-hook (or any custom one) onto the toolbar? I looked in the commands from add-ins. List shows all the Mastercam C-Hooks but none of the custom c-hooks? They are all in the mastercam chook folder with the corresponding FT file??
  7. Is there a way using the script engine to search for a file in multiple directories? I have this working in the script: Set FileList = CreateObject("System.Collections.ArrayList") If FSO.FileExists(Directory & JobNumber & ".MCAM") Then '// File found FileList.add (Directory & JobNumber & ".MCAM") End If But I really need it to search the sub folders and return all the files found. Is this possible? Thanks in advance.
  8. Karl@CP PISTONS

    Face Grooving

    If you need deep grooves look at wheel turning tools. Mostly made for aluminum but with correct insert could cut anything. Iscar was brand I used many years ago. Iscar Wheel Turning
  9. Karl@CP PISTONS

    2019 Machine Manage List

    I did a complete uninstall including manually removing the shared directory and the program files folder ( both kept after uninstall for some reason ). Fresh install including 2 updates after installation still have no way to add machines to the list...... Lots of machines in the folder just none in the machine manager list. I cut and pasted the paths to make sure I was in the correct folder so have no idea what's going on. Anyone have any more suggestions?
  10. Karl@CP PISTONS

    2019 Machine Manage List

    This is a fresh install and yes there are loads of files in the 2019 directory. I will try to rename the config files and restarting to see if that helps.
  11. Karl@CP PISTONS

    2019 Machine Manage List

    The machines in this directory are "factory" installed. Do I need to run the wizard on the 2019 folder after a clean install?
  12. Karl@CP PISTONS

    2019 Machine Manage List

    Anybody have a workaround for 2019 not allowing me to add machines to the machine list? When I go to manage list it only shows the default machines. See attached screen shots as there are many machines in the folder but they do not show allowing me to add them. This is the second install that has done this. Thanks
  13. Karl@CP PISTONS

    2019 Machine Manage List

    Anybody have a workaround for 2019 not allowing me to add machines to the machine list? When I go to manage list it only shows the default machines. See attached screen shots as there are many machines in the folder but they do not show allowing me to add them. This is the second install that has done this. Thanks
  14. Karl@CP PISTONS

    Running a VBScript from .net

    Thanks for all the help Roger. I have it parsing all the *FT files and extracting the "Application name" to populate the list box. And script or Application firing works just fine. My next step will be to have an INI file to add only script / programs that each user wants / needs. It's been a learning curve but glad I finally have a few days to actually work on this.
  15. Karl@CP PISTONS

    Running a VBScript from .net

    I have ran into something that is puzzling me with this project. It seems that the Application to be run ( as found in the ft file ) is case sensitive and that the app name does not always match the DLL name with regards to the case. As of now now the list is populated with the .DLL file name as found in the c-hook folder. If the application name exactly matches the dll file name then all works as it should. If that's is true my workaround would be to create a collection of the *.FT files then parse each one for the application name. This name would feed the menu list to fire the correct application. This seems like a convoluted way to accomplish this task. Am I on the right path or is there a better / different way to get a list of all the Application Names from all the FT files in the c-hook directory?

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us