select_default#

devsrf.select_default() int#

Specifies the default origin, axis (of rotation), and seam vector to align according to the longitudinal axis of the selected part.

This command facilitates a method for the origin, axis, and seam vector to inherit the position and direction of the longitudinal axis of the 2D parent part.
Examples:
ensight.devsrf.select_default()
ensight.part.modify_begin()
ensight.devsrf.origin(5.0000e-01,5.0000e-01,0.0000e+00)
ensight.devsrf.axis(0.0000e+00,0.0000e+00,1.0000e+00)
ensight.devsrf.seam_vector(1.0000e+00,0.0000e+00,0.0000e+00)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error