Skip to main content
21-Topaz II
December 27, 2013
Question

Eliminate Pro-Program Prompts

  • December 27, 2013
  • 4 replies
  • 1809 views
WF4, unfortunately

I have two gear based parts that have pro-program input sections in them to define the gear teeth.  These are molded parts and now tooled, but every time I regen the assy they prompt me for new values.  I'd like to remove the prompts but I'm not familiar with pro-program.  What do I need to do to eliminate them?

--

    4 replies

    23-Emerald IV
    December 27, 2013
    Just delete anything between INPUT and END INPUT near the top of the Pro/PROGRAM statement (Tools -> Program -> Edit Design). This will stop it from prompting you for new parameter values. See the help documentation for more info (Functional Areas -> Fundamentals -> Program -> Editing a Design -> Input Parameters and Prompts).

    Tom U.
    1-Visitor
    December 27, 2013

    Tools/Progam/Edit Program (to change) or Show Program (to view only)



    I believe they are statement groups bounded by INPUT and END INPUT that gather data. Just delete them or comment them out using "/*"

    1-Visitor
    December 27, 2013

    Also, I believe you can define a parameter and use it in an IF/END IF block in the input section to allow controlling for prompting. For example:


    INPUT


    IF RUN_PROGRAM == TRUE


    parameters for input


    ENDIF


    END INPUT

    1-Visitor
    December 28, 2013

    Yes, the "switch" described by David is probably the very best choice for a few reasons.