Skip to content

Custom Properties

Open Settings → Admin → Custom Properties. The property set applies to everyone using the active vault and is saved with Save Settings.

When saving a document that’s missing a required property controls what happens at Save to CADVault:

Value Effect
None Saves without a custom-property check. Lifecycle transitions still enforce every requirement.
Warn Completes the save with a notice. A rule set to Block still only warns at save. This is the default.
Block Leaves out an item that misses a required property or breaks a rule set to Block.

At a transition to Review or Released, every rule applies at its own Warn or Block level.

Every vault has a core property that holds the production type. Its options are the vault’s production methods. The property is called ProductionType by default. You can rename it to match the property your SOLIDWORKS documents already use.

The production type is Always required at transition: every part and assembly must have a value before it can leave Draft. This cannot be switched off.

The four core methods are Custom made, Made from purchase, Purchase and Fastener. They stay at the top of the list and cannot be removed or reordered, but you can rename them. Methods you add yourself can be reordered and removed. Parts and assemblies with Fastener or Purchase as production method get no STEP export at Released, and that stays true after a rename.

Weldment marks the one production method under which the Companion shows the IsWeldment checkbox. By default this is Custom made.

Use Add property, Expand all and Collapse all to manage the property cards. Drag a card to group related properties.

Each property has:

  • Property name;
  • Type: Text, Number, Yes / No, List or Material;
  • Applies to: Part, Assembly or Drawing. No selection means all types. Custom properties on drawings are not available yet; and
  • Options when the type is List.

A Material property holds the material of a part. CADVault shows the material by name and writes it to the part as a link to a SOLIDWORKS material. A vault can have one Material property and it applies to parts only.

A List property only accepts its options, unless you tick Allow free text. Then users can also enter other values, but an active Restrict rule still applies. The production type cannot allow free text.

The core properties Title, Description and IsWeldment cannot be deleted, renamed or reordered. Title is Always required at transition, like the production type.

A property can carry rules. A rule says: when its conditions match, apply an effect to this property.

Conditions. A condition tests either another property or the document type:

  • a List or Yes / No property is or is not one or more of its values; or
  • the document type is Part or Assembly.

Use + Add to add more conditions to a rule. All of them must match. The production type can be used as a condition for any rule.

Effects.

Effect What it does
Restrict options Narrows the List to the values ticked under Allow only: wherever the conditions match. A value already set outside that list is not removed, but it counts as a violation.
Required The property must have a value.
Hide Removes the property from the Companion form wherever the conditions match. A hidden property is not required anywhere: not on the form, at save or at a transition. A value the document already has is cleared the next time CADVault writes to the document, for example at Apply or Save to CADVault, and CADVault shows that before it happens. Core properties cannot be hidden.

If violated sets the level for Restrict options and Required: Warn gives a notice, which the user confirms at a transition. Block stops the save or the transition until it is fixed. Hide has no level.

Rules are checked in order and the first rule whose conditions match wins. + Add rule adds a rule. + Add catch-all adds an Otherwise rule that applies when no other rule matches.

Rules that block saving lists rules that are incomplete or conflict with another rule. Rules needing attention lists rules that no longer match a property, for example because a property they referred to was deleted. Settings cannot be saved until each of these is fixed or removed. Remove all clears a list in one step.

See Lifecycle for the other checks at a lifecycle transition.