• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

macro in adams

  • Thread starter Thread starter breus
  • Start date Start date

breus

Guest
Hello, everyone.
I am facing a problem with adams requiring the creation of a long flexible wire. as a solution I decided to divide it into many connected cylinders via massless beams.
were only two or three, all ok, do it by hand, but here it is a wire along a few meters!!!!! doing it by hand is impossible, as well as counterproductive in case you want to change some parameters.
I thought I was using a macro, but I spent everything today looking for how a macro is written in adams but with little results. Could someone help me, or even suggest an alternative if it exists?

unfortunately I have never planned in c++ (only matlab)

Thank you!
 
As the section doesn't seem very frequent, I am asking you that I was able to create the initial part of the macro, with the creation of geometry.

to do:

-Add beams and define parameters
-Add solid contact on each cylinder with guide

I try again to ask:) something different this time:
How do I blow out a window from the macro?

For example, I want when I launch the command line macro to open a dialog box where I can insert length, radius... of cylinders. I've seen that you can build through a gui, but I need to do it as a command line. and I also need to understand how to fish a number inserted in the "field" field of the newly created gui.

 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top