create_radio_antenna#
- EmitComponents.create_radio_antenna(radio_type, radio_name=None, antenna_name=None, library=None)#
Create a new radio and antenna and connect them.
- Parameters:
- radio_type
str
Type of radio to create. For example, “Bluetooth”. Must match a radio name in the specified library.
- radio_name
str
,optional
Name to assign to the new radio. If
None
, then an instance name is assigned automatically. The default isNone.
- antenna_name
str
,optional
Name to assign to the new antenna. If
None
, then an instance name is assigned automatically. The default isNone.
- library
str
,optional
Name of the component library. If
None
, the syslib is used. The default isNone
.
- radio_type
- Returns:
EmitComponent
The newly created radio.
EmitComponent
The newly created antenna.
References
>>> oEditor.CreateComponent