Discussion Groups

Simulation Moldflow Insight

Reply
Contributor
MFI-MaF
Posts: 19
Registered: ‎02-17-2013

Fiber Orientation Tensor

332 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?

 

Thanks

Please use plain text.
Employee
Alex.Bakharev
Posts: 42
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
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

Please use plain text.
Contributor
MFI-MaF
Posts: 19
Registered: ‎02-17-2013

Re: Fiber Orientation Tensor

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

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


Please use plain text.