RFSelectTools.SelectFacesWithValues
Description
Selects all the faces satisfying specified conditions.
Syntax
Function RFSelectTools.SelectFacesWithValues(shellID As RFEntityID,
dMaxEdgeLength As Double, dMaxArea As Double, dMinMaxEdgeLengthRatio As Double,
dMaxEdgeLengthHeightRatio As Double, dAngle As Double) As RFErrorCode
The SelectFacesWithValues syntax has these parts:
| Part |
Description |
| shellID |
[IN] RFEntityID Required. The current shell's RFEntityID. |
| dMaxEdgeLength |
[IN] Double Required. Edge length criterion. |
| dMaxArea |
[IN] Double Required. Area criterion. |
| dMinMaxEdgeLengthRatio |
[IN] Double Required. Min-max edge length ratio criterion. |
| dMaxEdgeLengthHeightRatio |
[IN] Double Required. Maximum edge length/height ratio criterion. |
| dAngle |
[IN] Double Required. Deviation angle criterion. |
Remarks
- If the length of an edge forming a face or faces is greater than the specified dMaxEdgeLength parameter value, faces sharing the edge are selected, or
- If the area of a face is greater than the specified dMaxArea parameter value, the face is selected, or
- If the ratio of "longest edge length / shortest edge length" is greater than the specified dMinMaxEdgeLengthRatio parameter value, the face is selected, or
- If the ratio of "longest edge length / height" is greater than the specified dMaxEdgeLengthHeightRatio parameter value, the face is selected, or
- If "360 degree - the summation of corner angles around a vertex" is greater than the specified dAngle parameter value, faces sharing the vertex are selected.
- To ignore one or more of the five criterion, assign 0.0 value to corresponding parameters.
Return to Rapidform Index