Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Jul 16, 2021
2
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.
 
Replies continue below

Recommended for you

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