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:

Günther Massimo - GMCCS

Resellers
  • Posts

    554
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Günther Massimo - GMCCS

  1. Hi motty, download this little chook. http://www.gmccs.de/downloads/tlist.zip hope it helps. gismo
  2. Hello Peter, I'm working on a new c-hook called tlist. It is not finished yet. I want to add more functions, HTML output, EXCEL output, eventually import and export from toollibrary to toolibrary. Like I said it is not finished yet, but you can do alrady a lot of things. You can drag and drop the column headers, you can automatically size the columns. You can sort by every column ascending/descending. Load the tools from libraries or mc9 files. The c-hook is on the ftp in the chooks folder. Any suggestions and comments are welcome. Attention, the c-hook is in german, but I can make a english translation when finished.
  3. Hi Rekd, little busy, but I'm on my own now, so it's ok.
  4. Hi, there is an undocumented variable called group_list_ptr You can get the address with GetModuleHandle() and GetProcAddress(). Hope this helps. code: .data szGroupListPtr db "group_list_ptr",0 .data? GrpListPtr dd ? hModule dd ? .code invoke GetModuleHandle, NULL mov hModule, eax ;get group_list_ptr invoke GetProcAddress, hModule, addr szGroupListPtr mov GrpListPtr, eax
  5. quote: Bryan, That's a very cute pic! Don't forget that MCUtils also puts you into dynamic rotate by CLICKING the mousewheel. From there, you can push P to pan too. Read the bottom of the screen. While you are in dynamic rotate you can also press Alt to pan. After release the Alt key you are back in dynamic rotate. regards Gismo
  6. quote: Considering that AMD is going to release their new processors. Also intel's Prescott is going to use the same instructions as AMD64 extensions. So are we going see a 64bit version that will take advantage of it??? Nice discussion on that one here.
  7. I heard it's a service and you could deactivate it.
  8. Carl Vallance, I'll mail you. Rekd, if you want a high quality scaled screenshot, then the best way is to zoom out from the part and grab that particular portion of the screen. For that I did my own function with MASM. I don't think this is possible with VBS. If you do a full screenshot and scale it after, the quality is not very good. I'm about to add also a tool list for the output. quote: Gismo, does this only run in V9 ?, I'm running V8. I'm afraid to say yes. [ 09-12-2003, 03:33 AM: Message edited by: Gismo ]
  9. ak762, you can use it without registration code. But then it will not save your settings. The registration fee is EUR 20 for the first seat and EUR 10 for each further seat.
  10. JG, I've changed the name of the zip file. That's why the link was dead. You can download here .
  11. Hi Thad, I have a small chook (1KB). It does exactly what you want. You can download it here . Same thing vise versa here [ 09-08-2003, 04:15 AM: Message edited by: Gismo ]
  12. quote: I thougt about a bit of hacking (oops,sorry!) if it is possible to substitute the regular autosave procedure with some dll ? Why hacking? You can write a resident chook which does the job. Either the chook does the job itself or it acts as a loader which loads every 20 minutes the script. m_open() { create a timer } m_close() { delete the timer } timer_proc() { run a script or chook } [ 09-03-2003, 09:56 AM: Message edited by: Gismo ]
  13. Thanks Millman^crazy, but I've allmost finished the translation. Comming soon. [ 09-02-2003, 10:34 AM: Message edited by: Gismo ]
  14. quote: Are you automating the screenie also? (the rendered part) Yes. The setup sheet is a small "chook" (asmhook) written in MASM32. You have many options to format the output. - HTML/Excel format - 5 user defined values/informations - Company logo - screenshot (also in verify mode) - horizontal output (table) - vertical output (listing) - min/max values incl./excl. rapid moves - set the rapid feed rate - always saves your last settings - if you are using mcutils, there is also a button for fast acces from the opmgr. - and it's really fast. About 100 times faster as a normal post run. At the moment it is only available as german version. I'm on it to translate it in english. www.gismo.i-networx.de
  15. What you think about this? All automated.
  16. Hi all, if you are interested you can download ncdatasheet for Mastercam V9.1 here . - easy to setup your output (see setup dialog ). - output can be horizontally or vertically. - output can be either in Excel or HTML format (see excel.jpg , html.jpg ). - automatically add a screenshot to the output. - automatically add a company logo to the output. To add a company logo you need to put a logo.gif file in your Mastercam folder that's all. All other stuff can be done from the setup dialog. Before you run ncdatasheet, make sure you have valid operations selected in your OP-Manager. If you use it with large programms, have attention to the speed. It's really fast. Also a new button was added to MCUtils to have quick access to ncdatasheet from the OP-Manager. Please contact Andreas Stute from Intercam to get it. Note: currently it will run only on dealer and educational sims, also I could test it only on Win2000, IE6.0, Excel9.0 Any comments are welcome. [ 09-25-2003, 10:02 AM: Message edited by: Gismo ]
  17. Rename the old Mcam9 path, than it should work.
  18. Hi Roger, sorry for my late reply. Here is the answer. code: s0 'Dim xs' s01 'Set xs=CreateObject("Excel.Application")' s02 "xs.visible=true" s03 'xs.Workbooks.Open("c:t.xls") s04 'With xs.Workbooks("t.xls").Worksheets("Test")' s05 '.cells(1,1).value="WZ-Nr."' s06 '.cells(1,2).value="WZ-Name"' s07 '.cells(1,3).value="WZ-Durchmesser"' s08 '.cells(1,4).value="WZ-Eckradius"' s09 '.range("A1:G1").Select' s10 "xs.selection.font.bold=true" s11 '.Columns("A:G").Select' s12 "xs.selection.HorizontalAlignment = -4108" s13 '.Columns("A:G").EntireColumn.AutoFit' s14 '.range("A2").Select' s15 "End With" s16 ".cells(" s17 ').value="' s18 '"' s19 "," Note: "Test" is the required sheet name. In my excel book it's the second sheet. Hope this helps you. regards
  19. Hi Roger, try the following Post. Make sure you have an existing c:t.xls file. code: sbufname1 sheetnames.vbs fbuf 1 1 80 0 result:0 str1 "wscript.exe" msg:0 wc1:1 smsg0 'set wb = getobject("c:t.xls")' smsg1 'for each ws in wb.worksheets' smsg2 'msgbox ws.name' smsg3 'next' smsg fstrsel smsg0 msg smsg pmsg while msg<4,[ result = updstr (smsg) smsg = wbuf(1, wc1) msg=msg+1 ] result = fclose(1) result = launch(str1, sbufname1) pheader result=1 msg=0 pmsg 1999. ? 9 Regards
  20. To create and evaluate a real MessageBox in MP, you can do this. code: sbufname1 msgbox.vbs fbuf 1 1 80 0 result:0 str1 "wscript.exe" str2 "wscript.quit r" # vbOKOnly 0 # vbOKCancel 1 # vbAbortRetryIgnore 2 # vbYesNoCancel 3 # vbYesNo 4 # vbRetryCancel 5 # vbCritical 16 # vbQuestion 32 # vbExclamation 48 # vbInformation 64 # vbDefaultButton1 0 # vbDefaultButton2 256 # vbDefaultButton3 512 # vbDefaultButton4 768 # vbApplicationModal 0 # vbSystemModal 4096 vbOK :1 vbCancel :2 vbAbort :3 vbRetry :4 vbIgnore :5 vbYes :6 vbNo :7 smsg0 'r = msgbox ("MessageBox from MP", vbYesNoCancel + vbQuestion, "Postprozessor")' pmsg smsg0 = wbuf(1, 1) str2 = wbuf(1, 2) result = fclose(1) result = launch(str1, sbufname1) pheader pmsg if result=vbYes, "you pressed yes" if result=vbNo, "you pressed No" if result=vbCancel, "you pressed Cancel" 1999. ? 9
  21. Hi Rekd, you can find more information in the vba*.chm files in your office folder. On my computer program filesoffice2000office1031 So if you are used to work with buffers in the mp language, just create a .vbs file and launch it. This way also alow you to get access to msoutlook, msword and msaccess.

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...