copy_solid_bodies_from#
- Q2d.copy_solid_bodies_from(design, assignment=None, no_vacuum=True, no_pec=True, include_sheets=False)[source]#
Copy a list of objects and user defined models from one design to the active design. If user defined models are selected, the project will be saved automatically.
- Parameters:
- design
Starting application object. For example,
hfss1= HFSS3DLayout
.- assignment
list
,optional
List of objects and user defined components to copy. The default is
None
.- no_vacuumbool,
optional
Whether to include vacuum objects for the copied objects. The default is
True
.- no_pec
Whether to include pec objects for the copied objects. The default is
True
.- include_sheets
Whether to include sheets for the copied objects. The default is
False
.
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.Copy >>> oEditor.Paste