SOLIDWORKS PDM Professional API Help Send Feedback
GetAllRefVars Method (IEdmBatchRefVars)
See Also 
EPDM.Interop.epdm Namespace > IEdmBatchRefVars Interface : GetAllRefVars Method (IEdmBatchRefVars)


ppoVars
Array of EdmRefVar structures; one structure for each reference variable
lParentFileID
ID of parent file for which to get reference variables
lParentFileVersion
Version number of parent file for which to get reference variables; 0 gets the latest version if the parent file is checked in and the checked-out version if it is checked out
lChildFileID
ID of the referenced child file; 0 gets variables for all child references
bsParentConfig
Configuration of parent file for which to get reference variables; "" gets all configurations
bsChildConfig
Configuration of parent file for which to get reference variables; "" is ignored
Gets all of the values for the specified reference variables.

Syntax

Visual Basic 
Sub GetAllRefVars( _
   ByRef ppoVars() As EdmRefVar, _
   ByVal lParentFileID As System.Integer, _
   Optional ByVal lParentFileVersion As System.Integer, _
   Optional ByVal lChildFileID As System.Integer, _
   Optional ByVal bsParentConfig As System.String, _
   Optional ByVal bsChildConfig As System.String _
) 
C# 
void GetAllRefVars( 
   out EdmRefVar[] ppoVars,
   System.int lParentFileID,
   System.int lParentFileVersion,
   System.int lChildFileID,
   System.string bsParentConfig,
   System.string bsChildConfig
)
C++/CLI 
void GetAllRefVars( 
&   [Out] array<EdmRefVar>^ ppoVars,
&   System.int lParentFileID,
&   System.int lParentFileVersion,
&   System.int lChildFileID,
&   System.String^ bsParentConfig,
&   System.String^ bsChildConfig
) 

Parameters

ppoVars
Array of EdmRefVar structures; one structure for each reference variable
lParentFileID
ID of parent file for which to get reference variables
lParentFileVersion
Version number of parent file for which to get reference variables; 0 gets the latest version if the parent file is checked in and the checked-out version if it is checked out
lChildFileID
ID of the referenced child file; 0 gets variables for all child references
bsParentConfig
Configuration of parent file for which to get reference variables; "" gets all configurations
bsChildConfig
Configuration of parent file for which to get reference variables; "" is ignored

Example

See the IEdmBatchRefVars examples.

Remarks

Return codes:

  • S_OK: The method successfully executed.
  • S_FALSE: One of the arguments is invalid.
 

See Also

Availability

SOLIDWORKS PDM Professional 2010