Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python and ADAMS

Status
Not open for further replies.

trainsnil

Automotive
Joined
Jul 16, 2021
Messages
2
Location
IN
Hello,

I am looking for any documents which can help me to connect Python and ADAMS(Car/View). My intention is to automate ADAMS process with Python script(Read, write etc..)Has anyone came across this.

Cheers.
 
That's not especially difficult, but you may have to modify the adm and acf files directly rather than getting Car to build them. Translating req files into anything useful may be a stumbling block, I have a proprietary toolbox to do that.

I think your process will look like

read adm
modify adm
write adm
read acf
mod
write
run Car from shell (I haven't done this bit as I don't use Car)
read req
translate into text
analyse results
and back to the top

That's pretty much how I do it, except in Matlab, not Python. You may get some clues from how Car and Insight interact.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top