Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pro-Program tutorial

  • Thread starter Thread starter Garrysharma
  • Start date Start date
Status
Not open for further replies.
G

Garrysharma

Guest
greetings of the day,


Need Pro-Program tutorial...
 
hi Garrysharma,


Here is a pro/program WF2.0 that i got from ptc..hope it helps....


2006-03-28_020237_program.zip


Jay
smiley2.gif
 
May I ask whats Pro-Program for? Is it for sheetmetal only?
 
Hi Jay,


Thank you very much for sharing Pro-Program Tutorial with us.


Hi manley,


Pro-Program cab be used anywhere in Solid, Sheetmetal, Surfaces., Assembly etc.


Basically Pro-Programis like a dynamic family table, where a simple BASIC-like program prompts the user for inputs, then drives the design. The inputs can be numbers, strings, or yes/no parameters, and can drive dimensions directly (What is the length of the box?) or alter geometry through if-then-else loops (Do you want the hole?). The model is displayed as its information structure, with each feature in a block of text. If a loop is placed around the text, this feature can be turned on or off depending upon the requirements.


For Example:-VERSION
REVNUM 1020
LISTING FOR PART RELATE1</PRE>INPUT
END INPUT</PRE>
RELATIONS
D52 = 360/p0
CIRCLE1=(DISC_OD/2)-1
CIRCLE2=(DISC_OD/2)-2
CIRCLE 3=(DISC_OD/2)-3
END RELATIONS
</PRE> ADD FEATURE (initial number 1)
INTERNAL FEATURE ID 1
TYPE = DATUM PLANE
NAME = DTM1
</PRE> FEATURE IS IN LAYER(S) :
ALL_FEAT - OPERATION = NORMAL
DTM_PLNS - OPERATION = NORMAL
END ADD
........
.....
...
..
</PRE>
You can edit this program to add logic that will add or notadd features based on IF statement evaluations. You can also add mathematical computations, interactive prompts to get information from the user, etc. Whenever the part or assembly that defines the program regenerates, the program is automatically run.
Please refer the Zip file containing the Pro-Program Tutorial which was uploaded by JAY.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top