Hi here is my latest project scanning the nci file and operation/tool then writing some information to the comment section.
Here we are renaming the operation posting the nci data reading it then deleting the file and restoring the operations name.
Optional error report at the end
#include "StdAfx.h"
// <copyright file="AiOperationCommentInfo.cpp">
// Copyright (c) 2020 Peter Evans, Inc. All rights reserved.
// </copyright>
// <summary>Write information from the
You don't need to check for 1000 or 1001 in the BNCI. 1000 and 1001 are text NCI lines, the don't exist in the binary; the binary NCI only contains 1002(NCI_TOOLCHG) lines.
It also seems like you're storing a point for each move and not just the extents?