Hello everybody,
I want to analyse the fiber Orientation over the thinkness, I use the prpbe xyplot. Is it possible to use coordinates to select the wanted position?
Thanks
You have to use API command for this.
E.g. create a Fiber Orientation XY probe plot and open it.
Create a file with an extension .vbs and put there text like:
Set Synergy = CreateObject("synergy.Synergy")
Set PlotManager = Synergy.PlotManager()
Set Viewer = Synergy.Viewer()
Set probePlot = Viewer.ActivePlot()
Set VectorA = Synergy.CreateVector()
Set VectorB = Synergy.CreateVector()
VectorA.SetXYZ 0.0, 6.5, 0
VectorB.SetXYZ 0.0, 2.0, 0
probePlot.AddProbePlotProbeLine VectorA, VectorB
probePlot.Regenerate
Instead of 0.0, 6.5, 0 and 0.0, 2.0, 0 put the coordinates of the ends of your probe line.
Go to Tools/Play macro and select your macro file.
It would add the probe line to your plot.
You can obviously add a few probe lines to the plot or modify an existing probe line using command
SetProbePlotProbeLine index, VectorA, VectorB
instead of AddProbePlotProbeLine VectorA, VectorB
Look in the API references in the help file for more details
Hi,
thanks for your answer and the code. I've looked into the command-line help and found some available commands. Is there also a longer list with all available commands?
I would like to automate the procedure. It would be nice If I would get a script, which automatic starts the XY FO plot and saves the result .txt file. Also for other results like pressure, temperature and so on.
Thanks