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:

More MasterCAM setup sheet data variables?


The_Machine
 Share

Recommended Posts

I plan on using MCfSW.

In HSMWorks during runtime, the setup sheet program would pull every Custom Property assigned to the solidworks file which the toolpaths are applied to which made it very easy to store and propagate revision information, stock material information, grain direction, etc to the setup sheet and the setup sheet was ready to go. 

I'm looking to do the same with MasterCAM (particularly MCfSW) so that I can incorporate it into our workflow. It's not immediately clear that I will be able to do that or how I would go about it. Storing this program revision and stock material and size data into the setup sheet dialog would be acceptable as an alternative to storing it in the Solidworks Custom Properties, but there aren't enough fields to accomplish this. (Note1, Note2, Note3) The Solidworks Custom Properties method would be preferred because it has a Custom Property Tab builder that allows the building of drop down boxes, radio boxes, etc to speed up the data entry process.

Any thoughts?

I am familiar with C# so that's not out of the question. I just don't understand how the information is pushed from the XML file and then to active reports. If I have to create a custom addin or macro that can generate a custom xml file that could work, but I don't know how to trigger active reports. Has anyone done this already? A starting point would be helpful.

Link to comment
Share on other sites

image.thumb.png.20c7f1640fa42103f165d254eac2e556.png

I think I found it in the help. Going to export it and report back.

 

How do I pull information such as nc file name (NCFILE-SHORT) into the main setup sheet without creating a subreport? I see that in the xml file referenced by the report document (SSM.xml) NCFILE-SHORT is encapsulated under NCFILE tag. Can I just simply move it? Gonna do some trial and error but I suspect a lot of "Error"

Link to comment
Share on other sites

Are you implying that I shouldn't be asking for help here? I see that there isn't a forum category for support or help. 

I figured out how to reference a data field that's contained in another tag. 

The example .XML file (SSM.xml) contains root fields, and "sub" fields. NCFILE-SHORT for example is stored under the NCFILE tag. To access these fields without directly referencing the "recordset pattern" (EX: //NCFILE) you just simple format your DataField variable like this: "NCFILE/NCFILE-SHORT"

Link to comment
Share on other sites
8 minutes ago, The_Machine said:

Are you implying that I shouldn't be asking for help here? I see that there isn't a forum category for support or help. 

I figured out how to reference a data field that's contained in another tag. 

The example .XML file (SSM.xml) contains root fields, and "sub" fields. NCFILE-SHORT for example is stored under the NCFILE tag. To access these fields without directly referencing the "recordset pattern" (EX: //NCFILE) you just simple format your DataField variable like this: "NCFILE/NCFILE-SHORT"

No he was just trying to help you get documentation from the correct places is all.

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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