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:

Bullines

Verified Members
  • Posts

    3,094
  • Joined

  • Last visited

Everything posted by Bullines

  1. The C-Hook wizard is included with the SDK, which your reseller can provide you with; it's not on the X install CD.
  2. quote: Is there a list or a reference for vb functions. Other than the one thats available through the editor. I've noticed at least one function, "GetGroupCount()", thats not in the list that I have. I'm curious to know if there are some others. There a few undocumented items and mcamxhelpVBScript.htm is the only reference. quote: Also is there a way in the X editor to run a script without having to exit back to mastercam. While that's not available in the editor in X, you can kind of fake it by launching the Mastercam Editor externally by running mcamxcommoneditorsmastercamMCXStart.exe and editing your file. You could then keep your file in the editor while using the VB Script Manager in Mastercam to launch your script to test.
  3. Welcome to the forum In the Mastercam X folder in your Start Menu, there should be a subfolder called "Documentation". Within it is a shortcut to a video titled "Introducing Mastercam X Video" which gives a good overview of the new interface. The Transition Guide PDF is also helpful.
  4. I also get this error. Is ScripLinker.dll a C-Hook or a Nethook (I'm guessing Nethook)? I've found that with Nethooks, supporting DLLs must accompany the Nethook binary. The ol' dynamic linking thing. I found that out the hard when when trying to run one of my Nethooks (that used code from Interop.Excel.dll and Interop.Microsoft.Office.Core.dll) on a computer that wasn't my own. Is this the case?
  5. Is the nethasp.ini in your Mcam9 directory identical to the one in your Mcamx directory?
  6. You could call a VBScript from your post that gets the user name of the person currently logged into the computer and writes it out to a text file. You could then read the username from the text file into a buffer in the post and use it as you see fit. Here's what the script might look like: code: Const DEF_OUTFILE = "C:Whereeveryouwantout.txt" ' Kick off the script Call Main() ' Purpose: the main subroutine Sub Main() Dim objFSO ' FileSystem object Dim objTS ' File text stream object Dim objNetwork ' Network object Dim strUserName ' current user name ' Retreive the username of the person currently logged into the ' computer. Write the username out to a text file. Set objNetwork = WScript.CreateObject("WScript.Network") strUserName = objNetwork.UserName Set objFSO = CreateObject("Scripting.FileSystemObject") Set objTS = objFSO.CreateTextFile(DEF_OUTFILE, True) objTS.WriteLine(strUserName) objTS.Close ' Cleanup Set objFSO = Nothing Set objNetwork = Nothing End Sub Modify the DEF_OUTFILE constant to include the path of your choosing. HTH
  7. For V9, it depends on which installation CD you have. Same goes for X. For example, if your X CD is the original one and not the X SP1 CD, then you'll have download SP1 and Update 3. If you do have the X SP1 CD, then you only need to download Update 3.
  8. If you're on maintenance, get V9 up to MR0105 and X up to SP1 Update 3. If you're not on maintenance, get V9 up to SP2 and X up to SP1 Update 3. Patches and Updates
  9. quote: No it's not. Nor is it as reliable. Not by a long shot. I'd say it's somewhat similar in complexity. I'd wager that more people understand the inner workings of a car than the inner workings of a large software application. Will somebody from CNC please post either/or: [*]stats such as number of classes and methods (UML or class and process diagrams would be kewl but surely you wouldn't give those secrets away ) [*]ballpark SLOC for X, not including purchased libraries/code [*]# of X developers [*]# man hours for initial X release Then we show the pundits all of the fun to be had in the APIs and other libraries used to build X. When their eyes bug out and and the 'WTF' look comes over them maybe then they'll realize that a large software project isn't a walk in the park. It'll be worth it
  10. The script runs fine on my computer. Does a call to RepaintScreen() after deleting the entity help you on your computer? Are you running SP1 Update 3?
  11. Works fine on 10.0.14.31. Is the line actually created? In other words, does CreateLine() return a valid entity pointer (read: a large non-negative "integer") or -1?
  12. quote: Only TCP 475, do we need the other one also? If this line in your nethasp.ini is commented out or doesn't exist at all: code: NH_TCPIP_METHOD = TCP UDP is used by default.
  13. In your Windows Firewall exceptions lists, do you have both TCP 475 and UDP 475?
  14. So it isn't a case of your wifi connection dropping out, then, right?
  15. quote: The server has a wireless connection to the internet but it was also happening b4 the wireless connection. So what you're saying is that the server has 2 network cards; one wired and one wireless?
  16. I wouldn't think that radio would be an issue. NetHASP uses very little bandwidth. Is this wireless? Also, do you have any other apps on your LAN using TCP port 475? When this disconnection happens, the NetHASP service on the server continues to run, right?
  17. quote: I don't know if you can ping the server while the message is displayed, i will have to try it. What are you thinking that will tell us? Just want to be certain that the connection between the client and the server, regardless of the socket needed to keep the NetHASP connection alive, exists. Yes, you can ping. The "Sim has become disconnected" dialog is modal, so at that point before you click "OK" to dismiss the dialog, you should be able to fire up a command prompt on the client computer so you can try to ping the server.
  18. Does your nethasp.ini look something like this? code: [NH_COMMON] NH_TCPIP = Enabled [NH_TCPIP] NH_SERVER_ADDR = 192.168.1.20 ; or whatever your server's IP is NH_PORT_NUMBER = 475 NH_TCPIP_METHOD = TCP NH_USE_BROADCAST = Disabled I'd avoid setting NH_SESSION and NH_SEND_RCV for the time being. quote: We can have MC open and running on the client machine and then a message will pop up saying "Sim has become disconnected and Mastercam will now close. You will get one chance to save your work. sorry for this inconvienience." When this happens there is no apparent reason. The Server machine did not reboot or shut down. When this happens, are you able to ping the NetHASP server from the client computer while that dialog is displayed?
  19. In that case, do either of the computers lose network connectivity throughout the day? Or is it just the NetHASP? Is the Windows Firewall, or some other software firewall, enabled on the NetHASP server and/or the client?
  20. Is that computer used for anything else? What I'm really getting at is the 10-incoming-connection limit that Windows XP Pro has (it's 5 connections for XP Home). So for example, the NetHASP server is an XP Home computer. Let's say four people check out Mastercam licenses. And then somebody else, not using Mastercam, accesses files in a shared folder on that NetHASP server computer, 5 connections are used up. Now when a fifth person tries to check out a Mastercam license, they can't. Although you still have a remaining Mastercam license, you've maxed out your connections to that XP Home box.
  21. How many licenses are on that NetHASP server?
  22. In university, our robotics lab had a bunch of Fanuc robots and everyone pronounced it "fan-ek". When I joined In-House Solutions, everybody pronounced it "fuh-nook". There was a WAV file floating around from Fanuc's web site with the "fan-ek" pronunciation but I can't find it. Maybe Archive.org. Guess this is fun too
  23. Why do people keep posting in here?
  24. Many of them are also displayed next to their associated functions in the menu.

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