create_network_block

Icepak.create_network_block(object_name, power, rjc, rjb, gravity_dir, top, assign_material=True, default_material='Ceramic_material', use_object_for_name=True)[source]

Create a network block.

Parameters
object_namestr

Name of the object to create the block for.

powerstr or var

Input power.

rjc

RJC value.

rjb

RJB value.

gravity_dir

Gravity direction from -X to +Z. Options are 0 through 5.

top

Board bounding value in millimeters of the top face.

assign_materialbool, optional

Whether to assign a material. The default is True.

default_materialstr, optional

Default material if assign_material=True. The default is "Ceramic_material".

use_object_for_namebool, optional

The default is True.

Returns
pyaedt.modules.Boundary.BoundaryObject

Boundary object.

References

>>> oModule.AssignNetworkBoundary

Examples

>>> box = icepak.modeler.primitives.create_box([4, 5, 6], [5, 5, 5], "NetworkBox1", "copper")
>>> block = icepak.create_network_block("NetworkBox1", "2W", 20, 10, icepak.GravityDirection.ZNeg, 1.05918)
>>> block.props["Nodes"]["Internal"][0]
'2W'