FGPropertyNode

class jsbsim.FGPropertyNode

Class wrapper for property handling.

get_double_value() float

Get the property value.

Returns:

The property value as a double.

get_fully_qualified_name() str

Get the fully qualified name of a node This function is very slow, so is probably useful for debugging only.

get_name() str

Get the name of a node.

get_node(path: str, create: bool = False) FGPropertyNode | None

Get a property node.

Parameters:
  • path – The path of the node, relative to root.

  • create – true to create the node if it doesn’t exist.

Returns:

The node, or 0 if none exists and none was created.

set_double_value(value: float) bool

Set the property value.

Parameters:

value – The new value.

Returns:

True if the assignment succeeded, False otherwise.