Takashi Sato from Ai Solutions.
-
Posts
338 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by Takashi Sato from Ai Solutions.
-
-
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..
-
Murraymold,
Sorry, I'm busy.. I mailed you.
These .dll files are the same as utility for x3.
-
I also attached source code(c++).
http://ai-sols.sytes.net/dev/vbo.zip
quote:Do you have any recommendations for documentation for using VBI 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
-
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..
-
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 vboSet 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 = NothingSo you need dlls which extends the ability of vbscript.
-
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.
-
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.
-
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.
-
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.
-
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);
-
code:extern DllImpExp int MAX_RGB_INDEX;extern DllImpExp COLORREF Wd_colors[];
-
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
-
I made a .vbs for you.
http://ai-sols.sytes.net/dev/LastFile.vbs
Make a shortcut
c:McamX3mastercam.exe vbLastFile.vbs
-
Hello
sorry for being late.
You can download the installer for X3.
-
Ekke,
nice work
I did a little fix to work with X3.
source code
-
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.
-
I think you need NamedViews/named_view_manager.
code:#define VIEWARRAY CArray <view_ent, view_ent> ///< Array of view_entsextern DllImpExp VIEWARRAY NamedViews; ///< Current array of named viewsextern DllImpExp CArray <view_icon, view_icon> NamedViewIcons; ///< Current array of named view iconsextern 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);
-
I removed CDynLinkLibrary and added ChangeResCL,
and it looks working fine!
Thanks.
-
Roger, Thank you!
I'll try removing this line.
quote:new CDynLinkLibrary(TESTCHOOKDLL);
-
Thank you nostromo and Roger,
I still want to make regular dlls with modeless dialogs,
so removing RegisterModelessDLLPreTranslateCallBack() was pain..
-
-
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.
-
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
-
Yes, It is an MFC extension DLL.
And the C-Hook code is generated by CHookWizard.
Looking for c-hook
in Industrial Forum
Posted
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