ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
214 stars 129 forks source link

Create a Linked Antenna in SBR+ #2410

Closed Samuelopez-ansys closed 6 months ago

Samuelopez-ansys commented 1 year ago

Description of the feature

This feature is not implemented

Steps for implementing the feature

oEditor = oDesign.SetActiveEditor("3D Modeler") oEditor.InsertNativeComponent( [ "NAME:InsertNativeComponentData", "TargetCS:=" , "antenna_CS", "SubmodelDefinitionName:=", "Antenna1", [ "NAME:ComponentPriorityLists" ], "NextUniqueID:=" , 0, "MoveBackwards:=" , False, "DatasetType:=" , "ComponentDatasetType", [ "NAME:DatasetDefinitions" ], [ "NAME:BasicComponentInfo", "ComponentName:=" , "Antenna1", "Company:=" , "", "Company URL:=" , "", "Model Number:=" , "", "Help URL:=" , "", "Version:=" , "1.0", "Notes:=" , "", "IconType:=" , "Linked Antenna" ], [ "NAME:GeometryDefinitionParameters", [ "NAME:VariableOrders" ] ], [ "NAME:DesignDefinitionParameters", [ "NAME:VariableOrders" ] ], [ "NAME:MaterialDefinitionParameters", [ "NAME:VariableOrders" ] ], "MapInstanceParameters:=", "DesignVariable", "UniqueDefinitionIdentifier:=", "30e5420c-33af-4ad8-ae6a-8c5767a4f41f", "OriginFilePath:=" , "", "IsLocal:=" , False, "ChecksumString:=" , "", "ChecksumHistory:=" , [], "VersionHistory:=" , [], [ "NAME:NativeComponentDefinitionProvider", "Type:=" , "Linked Antenna", "Unit:=" , "meter", "Is Parametric Array:=" , False, "Project:=" , "Project_Q4V.aedt", "Product:=" , "HFSS", "Design:=" , "Array_Simple", "Soln:=" , "MySetupAuto : LastAdaptive", [ "NAME:Params" ], "ForceSourceToSolve:=" , True, "PreservePartnerSoln:=" , True, "PathRelativeTo:=" , "TargetProject", "FieldType:=" , "farfield", "UseCompositePort:=" , False, [ "NAME:SourceBlockageStructure", "NonModelObject:=" , [] ], "VisualizationObjects:=", ["sub_Patch_1544NR","gnd_Patch_1544NR","antPatch_1544NR","feed_pin_Patch_1544NR","feed_coax_Patch_1544NR","coax_Patch_1544NR","port_cap_Patch_1544NR","port_Patch_1544NR"] ], [ "NAME:InstanceParameters", "GeometryParameters:=" , "", "MaterialParameters:=" , "", "DesignParameters:=" , "" ] ])

Useful links and references

No response

Samuelopez-ansys commented 1 year ago

What is missing is the Visualization of the antenna and passing the parameters