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:

Mick George

CNC Software
  • Posts

    629
  • Joined

  • Last visited

  • Days Won

    1

Mick George last won the day on March 25 2021

Mick George had the most liked content!

1 Follower

Profile Information

  • Gender
    Male

Recent Profile Visitors

2,640 profile views

Mick George's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Collaborator Rare
  • Posting Machine Rare
  • Week One Done
  • One Month Later

Recent Badges

52

Reputation

  1. Hi, You should not be using the chooks folder, you will want to move your add-in and ft to the Shared or My Mastercam Add-Ins folder. You will need to edit the FT path and remove the chooks folder in the path.
  2. You can customize the ribbon and add it, it is very basic in 2022 but it is there.
  3. Ah yes 2022 was kind of a preview so you can go ahead and create the folder in Shared and use that. You should find some samples online, you can also take a look at the NET-Hook samples as they both use the same API.
  4. There is a NET-Script folder in Shared that you can use, there should be a few sample scripts in there also.
  5. NET-Scripts are replacement for VBScript. I believe NET-Script was first added to Mastercam 2022. VBScript is deprecated and will be removed completely from Mastercam 2025. NET-Scripts use the same API as NET-Hooks but can be created using the inbuilt script editor. There are several short video introductions to NET-Script on the Mastercam forums.
  6. John, There are some script examples installed with Mastercam 2023 under C:\Users\Public\Documents\Shared Mastercam 2023\NET-Scripts we also have more examples on our website under the 3rd Party Developers section.
  7. With Mastercam 2022 and beyond it is no longer recommended to install to the chooks folder due to elevated permissions requirement. Replace the post build step as follows, assuming these paths match your paths: IF NOT EXIST "C:\Users\Public\Documents\Shared Mastercam 2022\Add-Ins" MKDIR "C:\Users\Public\Documents\Shared Mastercam 2022\Add-Ins" copy "$(TargetPath)" "C:\Users\Public\Documents\Shared Mastercam 2022\Add-Ins\$(TargetFileName)" copy "$(ProjectDir)Resources\FunctionTable\$(TargetName).ft" "C:\Users\Public\Documents\Shared Mastercam 2022\Add-Ins\$(TargetName).ft"
  8. There is no SDK required for the .NET API. We only have VS2019 templates for .NET at the moment, we plan to have VS2022 templates soon. If you have both VS versions installed you can create the project in VS2019 then open it in VS2022.
  9. Take a look at the ToolNetApi, there are a couple samples on our site and a couple here if you run a search.
  10. Please post your request on mastercam developer forums so we can assist.
  11. Please repost on the official Mastercam forums and we can take a look.
  12. Karl, Please repost on our official forums so that we can take a look, Thanks, Mick
  13. There is a VBScript.htm file located in the Help folder if I recall, you can take a look through that as I am sure there is a way to check levels, entity colours and the like.
  14. Scan the XML file for the information you need to verify it is there. Once you identify the data you can reference the tag.

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