cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Thickness plot with an option to specify number of contour

Thickness plot with an option to specify number of contour

Would like to have an option in thickness plot diagnostic to specify number of contours. 

This helps in identify / distinguish least thickness areas and nominal thickness areas easily

thickness plot.jpg

2 Comments
renan.melhado
Contributor

you can workaround by using a custom results.

 

For created this result you can use calc.vbs

 

'@

'@ DESCRIPTION
'@ Take the Standard Thickness Diagnostics Plot and convert it into a custom plot
'@
'@ SYNTAX
'@ CustomThickness
'@
'@ PARAMETERS
'@ none
'@
'@ DEPENDENCIES/LIMITATIONS
'@ Assumes a study file is open within synergy
'@ none
'@
'@ History
'@ Created DRA 9/9/2006
'@@
Option Explicit
'SetLocale("en-us")
Dim Synergy
Set Synergy = CreateObject("synergy.Synergy")
'Synergy.SetUnits "Metric"

Dim DiagnosisManager, PlotManager, Viewer
Dim Elems, TH, ARPlot, Plot

' Get Thickness diagnostics
Set Elems = Synergy.CreateIntegerArray()
Set TH = Synergy.CreateDoubleArray()
Set DiagnosisManager = Synergy.DiagnosisManager()
DiagnosisManager.GetThicknessDiagnosis 0.0, 10, Elems, TH
Set DiagnosisManager = Nothing
' Create user plot
Set PlotManager = Synergy.PlotManager()
Set ARPlot = PlotManager.CreateUserPlot()
ARPlot.SetDataType "ELDT"
ARPlot.SetName "Thickness"
ARPlot.SetDeptUnitName("mm")
ARPlot.AddScalarData 0.0, Elems, TH
ARPlot.Build
Set Viewer = Synergy.Viewer()
Set Plot = Viewer.GetActivePlot
Plot.SetNodalAveraging False
Plot.Regenerate

 

I think it can be a default result in fill analysis, because is very useful.

 

Best Regards,

 

Renan Melhado Mazza

 

 

 

mppkumar
Advisor

Hi Renan Melhado Mazza

 

The macro you have shared is to create a thickness plot, which can be exported into MFR while sharing other results

 

My idea / suggestion would be to restrict the color shading from 256 to 7 (or 12) as per the user specified.

 

this will group the thickness regions (for ex) from 0 to 0.5mm will be in one color and 0.5mm to 1mm thickness will be in another color.. and so on...

 

this will help us to identify the low and high thickness regions easily

 

Thanks

M P Pradeep Kumar

 

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report