VPMReference.GetEnterpriseItemNumber()
You can return an enterprise item number.
Signature
VPMReference.GetEnterpriseItemNumber() : String
Arguments
Name | Input/Output | Required? | Type | Comment |
---|---|---|---|---|
oEnterpriseItemNumber |
Out | | String | Returns the enterprise item number for an engineering item |
ReturnType
String
GetEnterpriseItemNumber
//Get the root VPMReference from current editor let roots(List) let rootReference(VPMReference) roots = GetEditorRoots("VPMReference") if roots->Size() == 1 { rootReference = roots[1] } //Retrieve Enterprise Item Number let sEIN(string) sEIN = rootReference.GetEnterpriseItemNumber() Message(sEIN)