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:
Is there a way of getting an array of chains from a given operation? I'm writing my first nethook
and am wanting to process all chains that belong to the operations that were pre-selected by the user.
I've seen:
ChainManagerMode.GetOperationChains
in the API Reference Guide, but don't know how to apply this. Any help would be appreciated. Thanks.
I am modifying the spaces$ variable when modifying comments like this:
sav_spc = spaces$
spaces$ = 0
#Do some some stuff here
spaces$ = sav_spc
But the reason I'm doing this is that the company I work at has a LARGE custom tooling
library and a lot of the tool descriptions have been entered incorrectly and have anywhere
from 1 to 5 empty spaces before and after the actual description. Causing the tool comments
and the tool header coming out looking all wonky. I know it's just fluff stuff, but the operators
on the shop floor complain to no end about it, asking us to take them out and pretty them up.
So I'm getting real tired of having to modify comments every time I post something. The only
way I have found to get around this is to modify the description on every new toolpath I create,
but I would like to be able to post and go. And nobody has the kind of time to go into the tool
databases and modify every tool in those databases.
I've tried and tried to figure out how to go about this but am banging my head against a wall. I'm trying to strip any empty spaces from the beginning and ending of a string. Does anyone have any pointers here? I've looked at strstr, scan, and brksps. I've got the strstr working as far as telling me if the string contains a space but I was wondering if there is a way of doing a substring function on a loop possibly? Any help would be greatly appreciated. Thanks.
Hello, I was wondering how to export my custom keyboard shortcuts? Is it stored in the workspace file? I was curious, because I saw that there was an "Import" button in the key mapping tab, but didn't see a button for exporting my current settings.
Okay, I was reading this thread: http://www.emastercam.com/board/topic/61135-capturing-the-stock-type-from-stock-setup/?hl=%2Bstock+%2Btype
But can't seem to get it to work for my header info. I keep getting the -1 value that the OP was getting. How could I implement this?
I couldn't get this to work correctly:
if stck_ht$ > 0 & stck_wdth$ = 0 , pround
But if I changed it to this:
if stck_ht$ > 0 & stck_thck$ = 0 , pround
It seemed to come out right. I'm using the Generic Fanuc 3 Axis Mill
post to create a new post by the way. Didn't mention that before.
I'm completely new at trying to modify a generic post and am getting close to my goal
at customizing our header output. I've got everything working the way we want so far,
but the issue I see us running into is an error occurring if the user has selected a stock
type other than rectangular in Stock Setup. Is there a way of determining which type the
user has selected so I can write an if statement around certain situations? Any help would
be greatly appreciated.
Thanks
Is it possible to set the font size in the Mastercam Code Expert in X7 larger as a default?
Every time I post a program and open the window, the font size is super small and I have
to increase the zoom in the bottom right hand corner up to around 180 percent.
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.