Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

need syntax relation

bboxster73

New member
Hi
I have components assembly witch have name character more then 20 character.
how can I do in order to display in repeat region just 10?
 
Write relation as following:

rpt_region_name=extract(rel_model_name,1,10)

1...defines the character at which the model name extraction will start
10...means that 10 characters from the character 1 will be extracted
rpt_region_name...name to show in repeat region
 
where this relation should be written?? in "TOOLS" / "RELATION"
or "TABLE" / "REPEAT REGION" / "RELATION??"
rpt_region_name is it a parameter witch I must create??
my parameter is asm.mbr.name
thanks


Edited by: bboxster73
 
You should define that relation in TOOLS/RELATIONS, then select assembly (not drawing).

When writing relation and declaring parameters you don't need to create parameters that have relation defined to them (parameters that are on the right side of relation), Pro/E will create the parameter when you verify or close the Relations window.

As for the parameter naming and writing appropriate relation, write the following:

name = extract(rel_model_name,1,10)

Then use asm.mbr.name in repeat region.
 

Sponsor

Articles From 3DCAD World

Back
Top