AnalysisWorkbenchCentralBodyReference#

class ansys.stk.core.analysis_workbench.AnalysisWorkbenchCentralBodyReference#

Bases: IAnalysisWorkbenchComponentReference

Represents a central body reference.

Overview#

set_path

Set a new central body using specified path.

set_central_body

Set a new central body.

get_central_body

Return a central body or null if the central body is invalid.

Import detail#

from ansys.stk.core.analysis_workbench import AnalysisWorkbenchCentralBodyReference

Method detail#

AnalysisWorkbenchCentralBodyReference.set_path(self, path: str) None#

Set a new central body using specified path.

Parameters:

path : str

Returns:

None

AnalysisWorkbenchCentralBodyReference.set_central_body(self, central_body: AnalysisWorkbenchCentralBody) None#

Set a new central body.

Parameters:

central_body : AnalysisWorkbenchCentralBody

Returns:

None

AnalysisWorkbenchCentralBodyReference.get_central_body(self) AnalysisWorkbenchCentralBody#

Return a central body or null if the central body is invalid.

Returns:

AnalysisWorkbenchCentralBody