cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to open new version file in older version?

bfriend
Participant

How to open new version file in older version?

Hello Everyone,

 

Please tell me how to open new version file in older version. 


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Re: Seach Part Relations of items in the BOM structure.

You might find the EXISTS() Statement useful. It takes the quoted name of a parameter as the argument and returns true or false.

IF EXISTS("param_i_hope_is here")

setting = param_i_hope_is_here

ELSE

setting = default_param

ENDIF

exists()

Evaluates whether an item, such as a parameter or dimension, exists. This can apply to the model for which the relation is being evaluated, or to any model, component, or submodel structure.

For example:

if exists("d5:20")—Checks if the model with runtime ID 20 has a dimension d5.

if exists ("par:fid_25:cid_12")—Checks if the feature ID 25 in the component ID 12 has parameter par.

This allows evaluation to be based on a parameter that exists in only one part of a large assembly. For example, suppose that there are several systems in a large assembly (such as hydraulic, pneumatic, or electrical systems), but the majority of objects belong to no system.

In this case, to make evaluations that are based on the parameter, you must assign the appropriate parameter to those models that belong to the system. For example, if items in the electrical system must use a part number in the BOM report table, instead of the model name, you can create a report parameter bom_name and write the following relation:

if exists("asm_mbr_cabling")
bom_name = part_no
else
bom_name = asm_mbr_name
endif

Announcements