assign#

frame.assign(p0: int) int#

Assigns selected parts to the specified frame.

Before this command is issued, you need to have one (and one only) frame selected, as well as the parts you will be assigning to the frame.
Args:
p0:

‘num’ frame to assign the selected parts to

Examples:
ensight.frame.create()
ensight.frame.select_begin(1)
ensight.part.select_begin(2)
ensight.frame.assign(1)
Returns:

zero on success, non-zero on error