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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on "Pro/PROGRAM"

Status
Not open for further replies.

Hoekstra

Mechanical
Joined
Jan 6, 2003
Messages
2
Location
NL
I'm working with Pro/PROGRAM to manipulate various instances of a part with a family table.
The only-thing I found was the PTC guide Pro/PROGRAM Topic Collection (ca. 30 pages.) which is very basic.
Where can a find a good source about the working of Pro/Program, and especial exchanging parameters from different parts in Assembly?
 
To Replace Family Table-Driven Components
You can replace family table–driven "components" according to design criteria automatically by using the lookup_inst function. With this function, you can search a component family table to find an instance that fits the values of the search parameters. If the lookup function does not find a match, it returns the name of the generic.

The format for lookup_inst is:

lookup_inst ("generic_name", match_mode, "param_name_1", match_value_1, "param_name_2", match_value_2,...)

- where

· generic name—Name of the generic model with a .prt or .asm extension

· match_mode—One of the following values:

- –1 (find closest instance with param values less than or equal to supplied values)

- 0 (find instance with param values that match supplied values exactly)

- 1 (find closest instance with param values greater than or equal to supplied values)

· param_name_1—Family table parameter name

· match_value_1—Value to match against

 
Hoekstra,

Take a look at this thread also:thread554-51669.

-Hora
 
Sorry,

I put a wrong number. The good number is thread554-24772

-Hora
 

Hello,

Thanks for your replies,

I have programmed a MFG for a part that has a huge variety of dimensions. Evenually I managed to solve but pro-programm is not very user friendly.
Is there somathing like an editor programm available,
many years ago when I programmand in Autolisp I had an editor with different colors for secions with opening en closing colons. Such think could be handy...

Hans
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top