Overview | Statement List


实体干涉检查

Synopsis

INTFER/obj,WITH,objlist,RESULT,numlist,IFERR,label:

Description

Performs an interference check to determine whether two solids intersect.

This statement returns an array of values to a numerical list indicating whether or not the solids interfere. A value of 1 indicates no interference for the corresponding solid in the object list, while a value of 2 indicates an interference. The numerical list should contain the same number of elements as the object list containing the solids.

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

Parameters

Parameter

Description

obj

The solid which is checked for interference against the solids contained in a specified object list.

WITH

Minor word indicating that the previously specified solid be checked for interference against the following list of solids.

objlist

A list of solids which are checked, one at a time, for interference against the previously specified solid. Note that sheet solids cannot be specified in this list. To specify a sheet solid, use the obj parameter described previously.

RESULT

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

numlist

A numerical list to which the results of the interference check are sent. This list should contain the same number of elements as the object list.

Return Value

Definition

1

There is no interference.

2

There is no interference volume, but faces interfere or there are tangent faces.

When the two objects are a sheet and a solid, this value is returned when a sheet touches a solid at a point or an edge.

3

There is interference for the corresponding solid in the object list.

When the two objects are a sheet and a solid, this value is returned when a sheet of interference can be created between the two (this includes when faces are tangent).

NOTE: If you do not specify this list and the accompanying minor word RESULT, you must specify IFERR,label:.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs.

 


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