Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add property into cutlist item error #139

Open
Brent-bai opened this issue Feb 8, 2025 · 0 comments
Open

Add property into cutlist item error #139

Brent-bai opened this issue Feb 8, 2025 · 0 comments

Comments

@Brent-bai
Copy link

var drwNoName = "DrawingNo";
var item = cutListItem.Properties.GetOrPreCreate(drwNoName);
  item.Value = PartNo + "-" + (i + 1).ToString();
  if (!item.IsCommitted)
      item.Commit();

"item.Value =..." in above code occure error: "System.Exception:“Failed to set the value of the property 'DrawingNo'. Error code: swCustomInfoSetResult_NotPresent”", and the "item.Value = null".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant