Hi
how can i create a new Registration parameter in scanstation by script?
the event im using is "On Batch Created".
Hi
how can i create a new Registration parameter in scanstation by script?
the event im using is "On Batch Created".
0 out of 0 found this helpful
Comments
1 comment
You don't really create a Registration Parameter. The parameter has to be already exist. You can populate it during. Here is an example of populating a barcode value
for (var i = 0; i < this.ActiveBatch.Children.Count; i++)
{
if (this.ActiveBatch.Children(i).IsDocument)
{
this.ActiveBatch.Children(i).DocumentInfo.RegistrationProperties.Value("BarcodeValue") = this.ActiveBatch.Children(i).DocumentInfo.Barcode;
}
}
Please sign in to leave a comment.