Table of Contents

getvarfromdb

alias getvardbFreeSince 2.0.0

Description

Gets the value of a variable for a specified file or folder directly from the database.

Syntax

getvarfromdb -filePath -variableName -configNames

Parameters

Parameter Alias Required Description
-filePath -f No The file or folder to get the variable from.
-variableName -var No The variable name to retrieve from the database.
-configNames -configs No The configuration names to retrieve the variable from, separated by commas.

More about parameters

The file or folder to get the variable from.

The variable name to retrieve from the database.

The configuration names to retrieve the variable from, separated by commas.

Examples

getvarfromdb -f "file1.sldprt" -variableName "CustomVar"

Remarks

  • The configuration names should be separated by commas.
  • This command will always return the latest value.