add_reference_frame#

class ansys.systemcoupling.core.adaptor.api_25_2.add_reference_frame.add_reference_frame(name=None, parent=None)#

Bases: Command

Add a reference frame to the datamodel

The function will add a blank reference frame to the datamodel. Any transformations must be added separately.

Reference frame name will be “Frame-#” where # is the first positive integer which yields a unique frame name.

Returns the name of the reference frame.

Parameters:
parent_reference_framestr, optional

Name of a reference frame that the added frame should use as the parent. If the argument is not provided, the default parent reference frame “GlobalReferenceFrame” will be added.

Included in:

Parent

Summary

setup_root

‘root’ object