×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

pro|program question

pro|program question

pro|program question

(OP)
hey a braincracker here... for me at least :)

i made an assembly with 8 sub assemblies. it's a trashreceptor (a large street-model) the design is a modular one so they are connected next to each other or they can be stand alone. (i hope this is a bit clear)

the modularity doesnt stop there, inside the trashreceptor, i can choose for a glass-module (shredder) a plastic-metal-module (press) and a paper-module.

my question now is: is it possible to make a program, that once run, it asks how much modules you want, and afterworts asks which module i want to put in each of the modules.

i made my assembly so, that i have 1 complete module, with all the modules in subassemblies.
i know how to make the program to choose wich module but can't think of a way to make the program ask how much modules i want...

if anybody can help, even just a little tip to get me started, or a place where i can find more explanation?

big thanks in advance,
if there is not enough info, or if something isn't clear, ask away, i knkow my english isn't that good

greetz

tonton sam


RE: pro|program question

There are many ways to do this, here is a simple one.

Make a parameter that is an Integer, and this becomes the amount of modules you need. In Pro/Program, include this paramater as one to be entered when you regenerate the assembly, and simply enter the desired value.

As a tip, set limits to the interger range, so someone does not enter 10000 or -1 units or something like that.

I hope this helps out.

Steve

http://www.sprdesign.com
http://www.3dlogix.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources