Discussion Groups

Simulation Moldflow Insight

23 Posts
0 Kudos
Registered: ‎02-17-2013

Fiber Orientation Tensor

353 Views, 2 Replies
10-24-2013 07:04 AM

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?



49 Posts
9 Kudos
Registered: ‎04-10-2013

Re: Fiber Orientation Tensor

10-24-2013 09:52 PM in reply to: MFI-MaF

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


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

23 Posts
0 Kudos
Registered: ‎02-17-2013

Re: Fiber Orientation Tensor

11-07-2013 06:11 AM in reply to: MFI-MaF



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.