Closed Samuelopez-ansys closed 6 months ago
This feature is not implemented
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:=" , "" ] ])
No response
What is missing is the Visualization of the antenna and passing the parameters
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