PrimitiveInstanceCollection#
- class ansys.edb.core.primitive.primitive_instance_collection.PrimitiveInstanceCollection(msg)#
Efficiently represents large quantities of geometry as numerous instantiations of the same geometry at different locations.
Methods
Add a void to the primitive.
Cast the primitive object to the correct concrete type.
PrimitiveInstanceCollection.create(layout, ...)Create a primitive instance collection containing the specified geometry instantiated at the provided locations.
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.
Decompose into individual
primitives.Delete the layout object.
Find a Connectable object by database ID in a given layout.
Get HFSS properties.
Get the product property of the layout object for a given product ID and attribute ID.
PrimitiveInstanceCollection.get_product_property_ids(prod_id)Get a list of attribute IDs given a product ID for the layout object.
Make the primitive a zone primitive with a zone specified by the provided ID.
Remove HFSS properties.
Set HFSS properties.
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.PolygonData: The geometry that the primitive instance collection instantiates.Groupobject.bool: Flag indicating if a primitive has voids inside.int: Unique ID of the EDB object.listofPolygonData: The geometry instantiated at each location in the primitive instance collection.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.LayoutObjType: Layout object type of the Primitive class.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.listofPointData: The positions geometry is instantiated at.PrimitiveType: Primitive type of the primitive.listofPrimitive: List of void primitive objects inside the primitive.