Overview | Symbol List


错误检查

Synopsis

&PATERR

Description

Checks for whether any pattern errors occurred during the last pattern operation. You can list these errors using the PATLER statement.

For example, you wish to retrieve a part that has pattern objects using the FETCH statement. Before plotting this part, you want to verify that all patterns were successfully retrieved.

NUMBER/ERRFLG
.
.
FETCH/PART,PARTFILE.PRT
ERRFLG = &PATERR
.
.

NOTE: As with the PATLER statement, &PATERR will not reflect errors which occur during pattern retrieval using the PATRET statement.

If the system returns a value of 1 to ERRFLG, you would not want to plot the part.

Characteristics

Read Only - Number - [1,2]

Constant Values

1 = &YES
2 = &NO

Parameters

Parameter

Description

&YES

GPA constant which indicates that pattern errors occurred during the last pattern operation.

&NO

GPA constant which indicates that no pattern errors occurred during the last pattern operation.

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.