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:

jtdewhurst

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

266 profile views

jtdewhurst's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks MTB, I understand (sort of) the differences, I was just wondering if it was also possible with VBScript in Mastercam.
  2. Hello, I'm wondering, is it possible to record a VBScript in Mastercam, like you can record macros in Microsoft office? Thanks
  3. I figured out how to run File Merge/Pattern Runmastercamcommand "DoPattern" Is there anyway to input the file path string into this automatically? Thanks
  4. When using file merge it imports it to the active level. If I could do that in VBS I would be set as you can set the active level. But Importfile imports to a new file and to level one (as far as I know)
  5. Hello, is it possible to preform a file merge (same funcationality as "File Merge/Pattern") for a solidworks file into X7 with VBS I know I can do import file but that creates a new file. I can sort of get what I want using that, then MCmerge, but I'm not sure how to control levels with that. I know you can run commands using "RunMastercamCommand" but I don't know how to make this work. Thanks 'Import LCV importfile(LCV_CTH_PTH) SetLevelByNumber STRT_LVL+1 SetLevelName STRT_LVL+1,"EMAG cathode left CV iteration 0" & STGN & " - Assembly orientation" SetEntityLevel STRT_LVL+1 SaveMCas "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " LCV IT05.MCX-7", True 'Import RCC importfile(RCC_CTH_PTH) SetLevelByNumber STRT_LVL+2 SetLevelName STRT_LVL+2,"EMAG cathode Right CC iteration 0" & STGN & " - Assembly orientation" SetEntityLevel STRT_LVL+2 SaveMCas "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " RCC IT05.MCX-7", True 'Import Cathode Covers importfile(RCC_CVR_PTH) SetLevelByNumber STRT_LVL+3 SetLevelName STRT_LVL+3,"EMAG cathode covers iteration 0" & STGN & " - Assembly orientation" SetEntityLevel STRT_LVL+3 SaveMCas "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " RCC Cover IT05.MCX-7", True importfile(LCV_CVR_PTH) SetLevelByNumber STRT_LVL+3 SetLevelName STRT_LVL+3,"EMAG cathode covers iteration 0" & STGN & " - Assembly orientation" SetEntityLevel STRT_LVL+3 SaveMCas "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " LCV Cover IT05.MCX-7", True 'ImportFile Starting surfaces MergeMC "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " LCV IT05.MCX-7" MergeMC "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " RCC IT05.MCX-7" MergeMC "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " RCC Cover IT05.MCX-7" SaveMCas "C:\Users\joel.dewhurst\Desktop\MasterCam VB Testing\Test\Stage " & STGN & " Combined IT05.MCX-7", True

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