Primitive#
- class ansys.edb.core.primitive.primitive.Primitive(msg)#
Represents a primitive object.
Methods
Primitive.add_void
(hole)Add a void to the primitive.
Cast the primitive object to the correct concrete type.
Create a 3D composite model from an MCAD file.
Create an HFSS model from an MCAD file.
Create a Stride model from an MCAD file.
Delete the layout object.
Primitive.find_by_id
(layout, uid)Find a Connectable object by database ID in a given layout.
Get HFSS properties.
Primitive.get_product_property
(prod_id, attr_id)Get the product property of the layout object for a given product ID and attribute ID.
Primitive.get_product_property_ids
(prod_id)Get a list of attribute IDs given a product ID for the layout object.
Primitive.make_zone_primitive
(zone_id)Make the primitive a zone primitive with a zone specified by the provided ID.
Remove HFSS properties.
Primitive.set_hfss_prop
(material, solve_inside)Set HFSS properties.
Primitive.set_product_property
(prod_id, ...)Set the product property of the layout object for a given product ID and attribute ID.
Attributes
bool
: Flag indicating if the primitive can be a zone.ComponentGroup
: Component of the Connectable object.int
: Unique, persistent ID for the Connectable object.Group
object.bool
: Flag indicating if a primitive has voids inside.int
: Unique ID of the EDB object.bool
: Flag indicating if this is an MCAD model.bool
: Flag indicating if this is a 3D composite MCAD model.bool
: Flag indicating if this is an HFSS MCAD model.bool
: Flag indicating if this is a Stride MCAD model.bool
: Flag indicating if the primitive is negative.bool
: Flag indicating if the object exists in the database.bool
: Whether the primitive is parametrized.bool
: Flag indicating if a primitive is a void.bool
: Flag indicating if the primitive object is a zone.Layer
: Layer that the primitive object is on.Layout
: Layout owning the object.EDBObjMessage
: Protobuf message that represents the object's ID.Net
: Net of the Connectable object.LayoutObjType
: Layout object type.Primitive
: Owner of the primitive object.PrimitiveType
: Primitive type of the primitive.list
ofPrimitive
: List of void primitive objects inside the primitive.