Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello Everyone,
Please tell me how to open new version file in older version.
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