×
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

Auto regenerate.....Pro/Program

Auto regenerate.....Pro/Program

Auto regenerate.....Pro/Program

(OP)
Hi again people.....

I've got my little assembly working using Pro/Program, but I need to Regenerate twice to get all items to re-size / move successfully, and also for mass properties to update......

Can a line be put into Pro/Program to automate this second regeneration command??  I guess not as it will no doubt go into a "loop" situation.....is their any other way around it.....the untrained user of this program may forget to do the second regen!!

Thanks,
Lee

RE: Auto regenerate.....Pro/Program

Hello,

What we did was to have a EXECUTE ASSEMBLY as the end of the Program where you would have
EXECUTE ASSEMBLY (assembly file name)
A=A
B=B
etc
END EXECUTE

where the A, B etc is the inputs from
INPUT
A number
b number
END INPUT

Does this solve the problem, or do you need greater detail?


----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

RE: Auto regenerate.....Pro/Program

(OP)
Thanks, onlyadrafter - can you explain a little further please??

Cheers,
Lee

RE: Auto regenerate.....Pro/Program

Hello,

Will try, in Pro-Program you will have something like this:

INPUT
 ASSY_LEN NUMBER
 ASSY_HOLE_DIA NUMBER
 ASSY_SHAFT_LEN NUMBER
END INPUT

You will then have all your relations.

Then you write the execute part.

EXECUTE PART SHAFT.PRT
SHAFT_LEN=ASSY_SHAFT_LEN
SHAFT_DIA=ASSY_HOLE_DIA
END EXECUTE

EXECUTE PART LOCATER.PRT
LENGTH=ASSY_LEN
HOLE_DIA=ASSY_HOLE_DIA
END EXECUTE

You will then have all the features and ADD COMPONENTS.

Then at the end you should add

EXECUTE ASSEMBLY SHAFT_AND_LOCATER.ASY
 ASSY_LEN =ASSY_LEN
 ASSY_HOLE_DIA =ASSY_HOLE_DIA
 ASSY_SHAFT_LEN =ASSY_SHAFT_LEN
END EXECUTE

This is how we do it, and ot works. Is this any clearer?



----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

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