sdk.pdf

(2553 KB) Pobierz
Using ADAMS/SDK
This guide has been formatted for print.
To return to the home page, select the Back button
.
806457585.012.png 806457585.013.png
ii
Using ADAMS/SDK
Copyright
U.S. Government Restricted Rights: If the Software and Documentation are provided in connection with a government
contract, then they are provided with RESTRICTED RIGHTS. Use, duplication or disclosure is subject to restrictions
stated in paragraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at 252.227-7013.
Mechanical Dynamics, Incorporated, 2301 Commonwealth Blvd., Ann Arbor, Michigan 48105.
The information in this document is furnished for informational use only, may be revised from time to time, and
should not be construed as a commitment by Mechanical Dynamics, Incorporated. Mechanical Dynamics,
Incorporated, assumes no responsibility or liability for any errors or inaccuracies that may appear in this document.
This document contains proprietary and copyrighted information. Mechanical Dynamics, Incorporated permits
licensees of ADAMS ® software products to print out or copy this document or portions thereof solely for internal use
in connection with the licensed software. No part of this document may be copied for any other purpose or distributed
or translated into any other language without the prior written permission of Mechanical Dynamics, Incorporated.
©2000 by Mechanical Dynamics, Incorporated. All rights reserved. Printed in the United States of America.
ADAMS ® is a registered United States trademark of Mechanical Dynamics, Incorporated.
All other product names are trademarks of their respective companies.
Part number: 110SDKUG-01
806457585.014.png 806457585.015.png
Using ADAMS/SDK
iii
Chapter 1. Introducing ADAMS/SDK 1
Overview 1
Software Components 2
Foundation Modules 3
Batch and Interactive Simulation 6
Database Architecture 9
Chapter 2. Installing ADAMS/SDK 11
Overview 11
Supported Hardware and Compilers 12
Installing ADAMS/SDK 12
Testing the Installation 13
Compiling and Linking ADAMS/SDK 14
Chapter 3. Demonstrating ADAMS/SDK 15
Overview 15
Viewing and Running the Sample Problems 16
Comparison of Sample Problems 16
Chapter 4. Using the ADAMS Modeling Database and ADAMS/Solver Interface 19
Overview 19
Objects 20
Setting and Querying Attributes 23
Handling Messages in AMD 29
Searching AMD for Objects by Type 30
Reading and Writing ADAMS Files 31
Extracting Results 35
Using ADAMS/Solver Functions 45
Creating Contacts 51
Customizing ADAMS/Solver Using Subroutines 68
Implementing Dragging 76
Chapter 5. Transferring Models to ADAMS/View 77
Overview 77
Passing Text Labels to ADAMS/View 78
Moving a Model to ADAMS/View With Graphics 79
Chapter 6. ADAMS Database Reference 81
Overview 81
Hierarchical Listing of Database Objects 82
Alphabetical Listing of Database Objects 85
Chapter 7. ADAMS/SDK Function Reference 125
Overview 125
Function Summary 126
Function API 137
General ADAMS/Solver Attributes 214
Chapter 8. Examples of Common ADAMS/SDK Operations 217
Overview 217
806457585.001.png 806457585.002.png 806457585.003.png 806457585.004.png
 
iv
Using ADAMS/SDK
806457585.005.png 806457585.006.png 806457585.007.png
 
Using ADAMS/SDK
v
About This Guide
About This Guide
Welcome to ADAMS/SDK
The ADAMS Simulation Software Development Kit (ADAMS/SDK) allows you, as software
developer, to add the power of ADAMS to your products.
This guide describes how to use ADAMS/SDK to build models in the ADAMS modeling database, run
the models in ADAMS/Solver, and extract simulation results. The guide assumes you have an
understanding of modeling in ADAMS and programming experience in the C language. For
information on ADAMS modeling, refer to the ADAMS/View and ADAMS/Solver online guides.
806457585.008.png 806457585.009.png 806457585.010.png 806457585.011.png
 
Zgłoś jeśli naruszono regulamin