Cable#

class ansys.aedt.core.modules.cable_modeling.Cable(app, json_file_name=None, working_dir=None)#

Contains all common Cable features.

Parameters:
appansys.aedt.core.hfss.Hfss
json_file_namestr, dict, optional

Full path to either the JSON file or dictionary containing the cable information.

working_dirstr, optional

Working directory.

Examples

>>> from ansys.aedt.core import Hfss
>>> from ansys.aedt.core.modules.cable_modeling import Cable
>>> hfss = Hfss()
>>> cable_class = Cable(hfss)

Methods

Cable.add_cable_to_bundle()

Add a cable to an existing cable bundle.

Cable.create_cable()

Create a cable.

Cable.create_cable_harness()

Create cable harness.

Cable.create_clock_source()

Create a clock source.

Cable.create_pwl_source()

Create a clock source.

Cable.create_pwl_source_from_file()

Create a pwl source from file.

Cable.remove_all_sources()

Remove all sources.

Cable.remove_cables()

Remove a list of cables.

Cable.remove_source()

Remove source.

Cable.update_cable_properties()

Update cable properties for all cable types.

Cable.update_clock_source()

Update clock source.

Cable.update_pwl_source()

Update pwl source.

Cable.update_shielding()

Create jacket type when cable type is bundle and jacket type is braid shield.