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:

Recommended Posts

Hi ,

During the own tool automation , I don't have any function call ,related to manual entry in master cam 2019 Nethook. Will it have to create a manual entry using Nethook reference dll ???

I have got only way from Import option .

Except Import option , I need inbuilt way. I hope it have to develop in upcoming release.

Thanks

DineshV

Link to comment
Share on other sites
1 hour ago, DineshKumarV said:

Hi ,

During the own tool automation , I don't have any function call ,related to manual entry in master cam 2019 Nethook. Will it have to create a manual entry using Nethook reference dll ???

I have got only way from Import option .

Except Import option , I need inbuilt way. I hope it have to develop in upcoming release.

Thanks

DineshV

Hi DineshKumarv,

We do have a manual entry in the chook sdk, here is a code snippet to help you get started :

	operation op;
	auto succf = false;
	DB_LIST_ENT_PTR dbPtr = nullptr;
	ZeroMemory(&op, sizeof(operation));
	op.opcode = TP_MANUAL_ENTRY;
	op.u.manual_entry.source = 0;
	operation_manager(&op, OPMGR_INIT_ADD, &dbPtr, &succf);
	CString str;
	int OpNumber = 1;
	str.Format(_T("My Manual Entry : # %d"), OpNumber);
	_tcsncpy_s(op.comment, str, _TRUNCATE);
	operation_manager(&op, OPMGR_REWRITE, &dbPtr, &succf);

 

Link to comment
Share on other sites
  • 4 years later...

I want to create a new Manual Entry operation with only text to insrt in the NC, I'am using C#, can you help me to create one?

I am tryng but my Mastercam sdk level not is good, I,m starting. If you help me I will be grateful. 

There should be a book or some information with examples of each part of the SDK, the examples only come with very few things.

Thank you

 

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