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:
Didn't see this until just now.
The CSS is actually in the binned section of the post. We're hoping to add some additional options in the future to provide a bit more control.
You might want to try Mastercam.Support.ExternalAppsManager.RunFTCommand.
The available commands can be found in Mastercam.ft (in the Mastercam install folder). For example, I think that curve would be RunFTCommand("Curve5ax")
I don't know if import_operations() works with mcam files. I've always used import_all_operations() with mcam-operations files, and I assume import_operation() would be similar.
Unfortunately, those aren't available to the post. When the setup sheet is created, that information is written to a new xml file in the \Shared Mastercam ####\common\reports\XML folder.
One thing that you could try is defining two string values, an input variable and an output variable.
Instead of passing it as a variable, you set the value of the input variable immediately before calling the function. The function will then use this variable to modify the value of the output variable.
For example:
sinput : ""
soutput : ""
pfunction
soutput = regex(sregexExpression, sinput, 2)
potherPostBlock
sinput = "Whatever"
pfunction
result = mprint(soutput)
Good day,
Is this happening during the retract? In many posts, retract code occurs at the start of the next operation, so the Misc Values would have changed by then.
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.