Vitreo Help

How every part of Vitreo works, in short pages

\Properties\The Property Grid\Linked Properties

Linked Properties

A linked property holds a SOLIDWORKS formula instead of a fixed text. SOLIDWORKS calculates the value, for example the mass of the part or its material.

Some formulas:

Formula Value
SW-Mass@Part.SLDPRT The mass of the part
SW-Material@Part.SLDPRT The material of the part
$PRP:"SW-File Name" The file name
"D1@Boss-Extrude1@Part.SLDPRT" A dimension

In the grid you see the value, with a chain symbol at the right of the cell. Point at the cell to see the formula.

Why SOLIDWORKS must save them

Vitreo writes the formula to the file. Only SOLIDWORKS can calculate the value and store it in the file.

Vitreo writes the formula. SOLIDWORKS opens the file, calculates and stores the value. Vitreo then reads the value.
  • After you type or assign a formula, the cell shows [SW save required].
  • When you click Save, Vitreo asks to open these files in SOLIDWORKS. See Save Properties Dialog.
  • After the save, Vitreo reads the files again and shows the values.

To add a linked property:

  1. Select the cells.
  2. Open Property Manager Tools > Linked Properties and double-click a property. See Linked Properties Tab. Or type or paste the formula into the cell.
  3. Click Save.

Good to know

  • When you paste or type a formula into the cell of another file, Vitreo changes the file name inside the formula to that file.
  • A material formula works on parts only: "Materials can only be set on part files."
  • Find and Replace skips cells with a formula.
  • A value that mixes text and a formula is plain text, not a formula.
  • A file written by another program can hold a formula without a value. See Values Not Stored.