Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
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: 

Extract grid and data using the API

1 REPLY 1
Reply
Message 1 of 2
grieger7KF3B
184 Views, 1 Reply

Extract grid and data using the API

Following the API example: Writing nodal data to a file (https://help.autodesk.com/view/MFIA/2021/ENU/?guid=Moldfl...

 

E.g.: in the example in line 53: Set Coord = StudyDoc.GetNodeCoord(Node) 

How can I get more information about the members of this StudyDoc object? 

 

Thanks for your help

Labels (2)
1 REPLY 1
Message 2 of 2
bernor_mf
in reply to: grieger7KF3B

@grieger7KF3B 

Hi,

Generally Moldflow API reference information is available such as:
In Synergy, top-right corner, to the right of the question-mark ("?"), click the pull-down arrow and select either:

Solver API Reference.
> Synergy API Reference.
tcode and tcodeset Reference.

 

Object GetNodeCoord is in Synergy API Reference.

 

Now, GetNodeCoord returns a vector object containing the node coordinates.

Set Coord = StudyDoc.GetNodeCoord(Node)
Xcoord = Coord.X
Ycoord = Coord.Y
Zcoord = Coord.Z


You could read this out from example script you provided link to.

 

Hope this helps.

Regards,

Berndt

( If my comments are accepted, provide "Kudos" as appreciation. If your request is answered/resolved, please click the "Accept as Solution" button. Thanks.)

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

Post to forums  

Autodesk Design & Make Report