adams-python-model-builder

Create Adams Python scripts to build, simulate, and post-process MSC Adams multibody models.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/bthornton191/adams_skills --skill adams-python-model-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adams-python-model-builder
Source: https://github.com/bthornton191/adams_skills/tree/main/skills/adams-python-model-builder
Command: npx skills add https://github.com/bthornton191/adams_skills --skill adams-python-model-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill enables users to build, modify, simulate, and post-process MSC Adams multibody models using the Adams Python API (import Adams), enabling parameterized workflows and automation inside Adams View.

Core Features & Use Cases

  • Manager-based model building: create models, parts, markers, joints, and simulations through Python APIs (e.g., Adams.Models.create, Parts.createRigidBody, Markers.create, Constraints.createRevolute, Simulations.create) for repeatable work.
  • Parameterization with design variables & expressions: link properties with Adams.expression() design variables for parametric studies and automated optimization.
  • End-to-end Workflows: from topology definition (parts/markers/geometry) to simulations and results analysis, including measures and FUNCTION= expressions for forces.

Quick Start

Ask for a complete Adams Python script that builds a simple pendulum model using import Adams and simulates it.

Frequently Asked Questions about adams-python-model-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an MSC Adams multibody model using Python?

You can build an MSC Adams multibody model using Python by importing the Adams API and using manager functions like Adams.Models.create, Parts.createRigidBody, and Constraints.createRevolute to define topology and run simulations.

Can I parameterize Adams model properties with design variables in Python?

Yes, you can parameterize Adams model properties using design variables and Adams.expression() to link properties, enabling parametric studies and automated optimization within your Python workflows.

What is the best way to automate Adams simulations and post-processing in Python?

The best way to automate Adams simulations and post-processing is to write end-to-end Python scripts that invoke Simulations.create and simulate() to produce Analysis results, then process measures and FUNCTION= expressions for forces.

How do I set up parts, markers, and joints in Adams View programmatically?

You set up parts, markers, and joints programmatically by using the Adams Python API managers like Parts.createRigidBody, Markers.create, and Constraints.createRevolute to define model topology within Adams View.

Does the Adams Python API support defining gravity and units for multibody simulations?

Yes, the Adams Python API supports defining gravity and units for multibody simulations by setting Adams.defaults units and configuring gravity setup during your model creation workflow.

What's the best way to create a complete Adams Python script for a simple pendulum simulation?

The best way to create a complete Adams Python script for a simple pendulum simulation is to request an end-to-end script that uses import Adams to define the topology, apply gravity, and invoke simulate() to produce results.