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

Share this post


Link to post
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);

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • 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