Is anyone familiar with what command would be used to set the Display option to Omit under the Output Quantities of a Chart?
@James Derrick Sorry for the confusion.
Some of my code is show below. I am looping through data and creating data sets that pull both max and min values. I am trying to add some code that will omit the min values under the "Output Quantities" section under the chart detail menu.
for Charts in range(0, int(Total_Number_of_Charts)): Add_Chart = Model.AddChart() Add_Chart.Name = "New_Chart" Find_Data_X = ExtAPI.DataModel.GetObjectsByName(name=Normal_Stress_X_Name)[Charts] Find_Data_Y = ExtAPI.DataModel.GetObjectsByName(name=Normal_Stress_Y_Name)[Charts] Find_Data_Z = ExtAPI.DataModel.GetObjectsByName(name=Normal_Stress_Z_Name)[Charts] Find_Data_XY = ExtAPI.DataModel.GetObjectsByName(name=Shear_Stress_XY_Name)[Charts] Find_Data_YZ = ExtAPI.DataModel.GetObjectsByName(name=Shear_Stress_YZ_Name)[Charts] Find_Data_XZ = ExtAPI.DataModel.GetObjectsByName(name=Shear_Stress_XZ_Name)[Charts] Add_Chart.OutlineSelection = [Find_Data_X, Find_Data_Y, Find_Data_Z, Find_Data_XY, Find_Data_YZ, Find_Data_XZ] Add_Chart.Content = ChartReportType.TabularDataOnly
Hello @jholder2
A colleague of mine gave me the answer for this.
#---------------------------------------------------------------------- all_properties=Add_Chart.Properties #Output Quantities starts from Id: 11 #all_properties list has properties strings #you can map strings with their index in a dictionary all_properties[11].InternalValue = 'Omit' #Omit/Display #----------------------------------------------------------------------
Hi @jholder2 I'm not sure what you mean precisely. Can you share any code you may have already tried or perhaps where you've looked?
Otherwise the @AKD-Scripting-Team might be able to help.
Thank you!