Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Takashi Sato from Ai Solutions.

Verified Members
  • Posts

    338
  • Joined

  • Last visited

Everything posted by Takashi Sato from Ai Solutions.

  1. I don't know how to add keytips to all of the sub menus yet, but I tried this. C:\Program Files\mcam2017\chooks\xmenu.main insert '&' at the 1st line. or download this file. http://ftp.ai-sols.net/pub/AI_CHooks_Setup/xmenu.main http://ftp.ai-sols.net/pub/AI_CHooks_Setup/xmenu2017.zip press alt/f10 key then press X key, you can access the top of X menu tab.. And the Press Tab key, Down/left/right key and enter/space/escape key..... > Use the keyboard to work with Ribbon programs > https://support.office.com/en-gb/article/Use-the-keyboard-to-work-with-Ribbon-programs-4b9cbab0-89fe-4d21-a368-0ebfd1c996c6
  2. hey guys, I'm sorry I've not been here. I 'm been busy(lazy) english installers 2017 http://ftp.ai-sols.net/pub/AI_CHooks_Setup/AI_Utility_2017_x64_1_37_5_en.exe X9 http://ftp.ai-sols.net/pub/AI_CHooks_Setup/AI_Utility_X9_x64_1_37_5_en.exe C:\Program Files\mcam2017\chooks\xmenu.main <- text file for this x menu..
  3. Murraymold, Sorry, I'm busy.. I mailed you. These .dll files are the same as utility for x3. http://ai-sols.sytes.net/dev/preview.zip
  4. I also attached source code(c++). http://ai-sols.sytes.net/dev/vbo.zip quote: Do you have any recommendations for documentation for using VB I have files below only.. c:mcamxhelpVBScript.htm c:mcamxvb*.vbs ftp://www.mastercam-cadcam.com/Mastercam_forum/VB_Scripts/ http://www.google.com/search?q=VBScript and this is for nethook. (VB .net /C#) http://www.emastercam.com/cgi-bin/ultimate...c;f=13;t=000386
  5. Steven, vbo.dll and .ft should be here. c:mcamxchooksvbo.dll c:mcamxchooksvbo.ft it will be self registered when mastercam started. and you can use that COM object in vbscript. FYI: I used some codes from this project.. http://www.codeproject.com/KB/threads/VBThread.aspx
  6. Steven, I dont know which files you are seeing, and I believe they are config file or history file. quote: Also, how do you recommend that I place your "vbo.zip" files so that I can see them work? I am still a bit unfamiliar with VB with Mastercam. extract vbo.zip to chooks folder, then run mastercam and run vbscript from mastercam. vbo.dll is a activex dll, and it has a function named "DrawString". but you cant use it by alt+c, it does not have m_main chook function. code: Dim vbo Set vbo = CreateObject("VBObject") 'DrawString(X, Y, Z, View, Height, Color, String) vbo.DrawString 0.0,0.0,0.0,1,10.0,10,"wwwww" vbo.DrawString 0.0,10.0,0.0,1,15.0,11,"wwwww" vbo.DrawString 0.0,25.0,0.0,1,30.0,12,"wwwww" Set vbo = Nothing So you need dlls which extends the ability of vbscript.
  7. I think you have to make a chook or activex dll, and use it from vbscript. http://www.emastercam.com/cgi-bin/ultimate...t=000355#000003 I made a test dll. http://ai-sols.sytes.net/dev/vbo.zip
  8. mig, Thank you for your information. after I changed that dll, mastercam closed normaly, and I thought that made problem.. I'll do more tests with Vista system.
  9. Hi mig, Can you try this dll? http://ai-sols.sytes.net/dev/Ai_backupcpy.zip if you don't need this backup feature, please remove Ai_backupcpy.dll and the .ft file.
  10. This is beta version of Ai Utility. http://ai-sols.sytes.net/dev/Ai_Utility_X4beta.zip After the test, I'll make installer.exe.. if you have any problem, let me know about it. Thanks.
  11. They are not in sdk headers, but are exported. So add them somewhere in your code. code: //typedef unsigned long DWORD; //typedef DWORD COLORREF; COLORREF rgbcolor = RGB(255,255,255);
  12. code: extern DllImpExp int MAX_RGB_INDEX; extern DllImpExp COLORREF Wd_colors[];
  13. Martin, Thank you for reporting a bug. I believe I fixed the issue. Please download a fixed dll or installer file. http://ai-sols.sytes.net/download/X3/ai_bkcolor.dll http://ai-sols.sytes.net/download/X2MR2/Ai_bkcolor.dll http://ai-sols.sytes.net/download/AI_Utility_X3_1_31_en.exe
  14. I made a .vbs for you. http://ai-sols.sytes.net/dev/LastFile.vbs Make a shortcut c:McamX3mastercam.exe vbLastFile.vbs
  15. Hello sorry for being late. You can download the installer for X3. http://www.ai-sols.co.jp/eng/product/eng_aiutility.htm
  16. Ekke, nice work I did a little fix to work with X3. source code http://ai-sols.sytes.net/dev/MCHOOK.zip
  17. Just add these lines to your configmastercam.kmp.. KEYMAP Mastercam OMregenSelectedOperations "F7" KEYMAP Mastercam OMregenDirtyOperations "F8" And you will find some OM functions in Mastercam.ft.
  18. I think you need NamedViews/named_view_manager. code: #define VIEWARRAY CArray <view_ent, view_ent> ///< Array of view_ents extern DllImpExp VIEWARRAY NamedViews; ///< Current array of named views extern DllImpExp CArray <view_icon, view_icon> NamedViewIcons; ///< Current array of named view icons extern DllImpExp MC_BOOL SetOriginOnSaveNewViewDlg; ///< Specifies whether to set the cplane or tplane origin when this new view is selected for use as a cplane or tplane /** * * @par Purpose: * function to add/get/delete/edit named views in the current db * * @param[in,out] vwp pointer to named view entity * @param[in] mode VWMGR_ADD, VWMGR_RENAME, etc. * @param[in] new_name new view name (for VWMGR_RENAME only) or "" (null string) * @param[out] succf TRUE = view manager successful * */ DllImpExp void named_view_manager ( view_ent *vwp, short mode, char *new_name, MC_BOOL *succf);
  19. I removed CDynLinkLibrary and added ChangeResCL, and it looks working fine! Thanks.
  20. Roger, Thank you! I'll try removing this line. quote: new CDynLinkLibrary(TESTCHOOKDLL);
  21. Thank you nostromo and Roger, I still want to make regular dlls with modeless dialogs, so removing RegisterModelessDLLPreTranslateCallBack() was pain..
  22. Hi srinivas, I made a X3 chook for you. http://ai-sols.sytes.net/dev/MyMenu.zip
  23. Roger, Thank you for explaining it. Here is my project file used. http://ai-sols.sytes.net/dev/TESTCHOOK.zip The Messagebox of "Geometry is used in a solid. Are you sure?/Deleting a referenced entity!" still uses the Resources from my DLL.
  24. OKay, This is a beta version. http://ai-sols.sytes.net/download/Ai_Utility_X3.zip After the test, I'm going to make a installer for it. As for free hand chook, my boss stopped me from distributing it as a freeware.. bump
  25. Yes, It is an MFC extension DLL. And the C-Hook code is generated by CHookWizard.

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

×
×
  • Create New...