Moldflow Insight Forum
Welcome to Autodesk’s Moldflow Insight Forums. Share your knowledge, ask questions, and explore popular Moldflow Insight topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fiber Orientation Tensor

2 REPLIES 2
Reply
Message 1 of 3
MFI-MaF
543 Views, 2 Replies

Fiber Orientation Tensor

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

2 REPLIES 2
Message 2 of 3
Alex.Bakharev
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

Message 3 of 3
MFI-MaF
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


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

Post to forums