Overview | Statement List


检查有效性的实体

Synopsis

CHKSOL/objlist,RESULT,nlist[,IFERR,label:]

Description

Allows you to check the validity of a list of solid objects. The system checks all edges and faces of the solid to ensure that face normals are correct and that there is no self intersection or missing geometry. The system cannot automatically correct any flaws that it may find.

The system places a value of 1 for valid and 2 for invalid into the position of the numerical array corresponding to the solid's position in the object list.

You can either send the results to a specified list, or receive an error message and branch to a label. You must either specify the minor word RESULT and an accompanying list, or specify IFERR,label:. You can specify both.

Parameters

Parameter

Description

objlist

A list of objects to be checked for their validity as solids. Maximum allowed is 1000.

RESULT

Minor word indicating that the results of the validation check be sent to the following list.

nlist

A list of values indicating the solid's validity, each of which corresponds to that solid's position in the object list. A value of 1 indicates that the solid is valid, a value of 2 indicates an invalid solid. If you do not specify this list and its accompanying minor word RESULTS, you must specify IFERR,label:.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs. Possible errors include: invalid solid; body of solid is inside out; geometry inconsistent with topology; maximum number of allowable objects exceeded, etc.

 


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