About Case Study Relations
Relations pass information from the notebook to the case study. Case study relations have specific functionality:
When you add relations to the Relations dialog box, units appear in two formats:
Dimensions are labeled d1, d2, d3, and so forth.
Entity lengths, coordinate systems, and points are labeled as e1, e2, e3, and so forth.
You can write relations for procedures on entity lengths using the notation elen(#). For example, to add the length of sides e1, e2, and e3, enter:
length=elen(1)+elen(2)+elen(3)
You can write relations for procedures on the X and Y distance between the first coordinate system sketched to another coordinate system or point using the notation ecoord[x or y](#). For example, to compute hyp, the shortest distance between the first coordinate system sketched and a point labeled e1, enter:
hyp=sqrt(ecoordx(1)*ecoordx(1)+ecoordy(1)* ecoordy(1))
In a notebook, you can include free notes with embedded relation symbols from a case study by using an ampersand (&) before the symbol. For example, you could include a relation that would extract the value for length, previously defined in the case study, and add it to the notebook:
TOTAL LENGTH= &length
Was this helpful?