Model.midsurface_accept_point_target#
- Model.midsurface_accept_point_target(face, offset_x, offset_y, offset_z, target_x, target_y, target_z, istarget)#
Assigns a target point to a vertex.
- Parameters:
face (Entity) – The index of the surface to offset.
offset_x (double) – The X value of the point to be offset.
offset_y (double) – The Y value of the point to be offset.
offset_z (double) – The Z value of the point to be offset.
target_x (double) – The X value of the pilot point.
target_y (double) – The Y value of the pilot point.
target_z (double) – The Z value of the pilot point.
istarget (int) –
Valid target option. Valid values are:
-1 - The function ignores the pilot point and combines the targets that existed at the vertex.
0 - The target is the midpoint between the offset point and the pilot point.
1 - The target point is the pilot point.
2 - The target is the midpoint between the offset point and the pilot point, and it is combined with any other targets existing at the same vertex. The combined target displays in the new target component.
3 - The target is the pilot point, and it is combined with any other targets existing at the same vertex. The combined target displays in the new target component.
Note
You cannot manually employ this function, because HyperMesh must internally generate the index values (they cannot simply be typed in).