Autodesk CFD 2027 Python API documentation and using VS Code for scripting

Autodesk CFD 2027 Python API documentation and using VS Code for scripting

dat_nguyen500
Explorer Explorer
133 Views
3 Replies
Message 1 of 4

Autodesk CFD 2027 Python API documentation and using VS Code for scripting

dat_nguyen500
Explorer
Explorer

Hi everyone,

I am using Autodesk CFD 2027 and would like to automate CFD tasks using Python.

I found the Script Editor under the Setup tab. When I open it, Autodesk CFD creates an untitled Python script.

I have two questions:

  1. Where can I find the complete Python API documentation for Autodesk CFD 2027?
    I am looking for documentation of the available modules, classes, methods, properties, and examples.
  2. Can I develop Autodesk CFD Python scripts using an external IDE such as VS Code?
    The built-in Script Editor is quite basic, and I would like to use features such as IntelliSense, autocomplete, debugging, and GitHub Copilot.
    Is there a recommended way to use VS Code with the Autodesk CFD Python API/runtime?
    Can scripts be run directly from VS Code, or do they need to be executed through Autodesk CFD / CFD Script Editor?

I am specifically using Autodesk CFD 2027.

Thank you.

134 Views
3 Replies
Replies (3)
Message 2 of 4

lauri_barnhart
Autodesk
Autodesk

Welcome to the community, @dat_nguyen500.

 

Thank you for posting your question. Have you found a solution to the questions you posed above? Any update you can provide would be greatly appreciated.

 

Best,


Lauri | Community Manager
0 Likes
Message 3 of 4

daniel_justWTVQY
Community Visitor
Community Visitor

Hello,

I'd also like to know where to find the API documentation. Could you point me to the location where I could download or access it?

Thanks in advance and best regards,

 

Daniel

0 Likes
Message 4 of 4

dat_nguyen500
Explorer
Explorer

You can download the API from the 2015 version. It’s quite old, but some of the APIs still work perfectly fine. Here is the link: https://forums.autodesk.com/t5/cfd-forum/cfd-api-documentation/td-p/12039807 

0 Likes