| Visual Basic | |
|---|---|
Public Structure EdmRefVar Inherits System.ValueType | |
| C# | |
|---|---|
public struct EdmRefVar : System.ValueType | |
| C++/CLI | |
|---|---|
public value class EdmRefVar : public System.ValueType | |
struct EdmRefVar{
integer mlVarID;
integer mlParentFileID;
integer mlParentVersion;
integer mlChildFileID;
string mbsChildCfgName;
string mbsParentCfgName;
object moValue;
integer mhResult;
};
Reference variables are used in Bill of Materials columns that are configured to look for reference-specific values. To create a reference variable:
- Open the SOLIDWORKS PDM Professional Administration tool.
- Log into a vault.
- Double-click Bill of Materials > BOM.
- Click a column in the Columns list.
- Select Look for variable in reference specific values.
- Click OK.
- In a vault view, check out an assembly.
- Click the Bill of Materials tab.
- In the column configured to use reference-specific values, type text.
- Click Save in the Bill of Materials toolbar.
Each component of the assembly is in a separate reference relationship with the assembly. The BOM column configured to Look for variable in reference specific values contains reference variable values. Use IEdmBatchRefVars to get and set these reference variable values.
SOLIDWORKS PDM Professional 2010