Solid Edge Part Type Library
AddAssemblyWeldmentByFile Method
Specifies the assembly file name.
A member of AssemblyWeldmentOccurrencesOptionsConstants that indicates which occurrences of the assembly are to be included in the weldment.
Specifies the number of reference keys in the ReferenceKeys argument.
Specifies the sizes of reference keys in the ReferenceKeys argument.
Specifies the parts of the specified assembly to be inserted into the weldment document.
Specifies the number of reference keys that did not bind to occurrences.
Specifies the input reference keys that did not bind to occurrences.
Description
Adds an assembly weldment by file.
Syntax
Visual Basic
Public Function AddAssemblyWeldmentByFile( _
   ByVal AssemblyFileName As String, _
   ByVal OccurrencesOptions As AssemblyWeldmentOccurrencesOptionsConstants, _
   Optional ByVal NumberOfReferenceKeys As Variant, _
   Optional ByVal SizesOfReferenceKeys As Variant, _
   Optional ByVal ReferenceKeys As Variant, _
   Optional ByRef NumberOfNonBindingReferenceKeys As Variant, _
   Optional ByRef NonBindingReferenceKeys As Variant _
) As WeldmentModel
Parameters
AssemblyFileName
Specifies the assembly file name.
OccurrencesOptions
ValueDescription
seExcludeInputOccurrences
seIncludeAllOccurrences
seIncludeInputOccurrences
A member of AssemblyWeldmentOccurrencesOptionsConstants that indicates which occurrences of the assembly are to be included in the weldment.
NumberOfReferenceKeys
Specifies the number of reference keys in the ReferenceKeys argument.
SizesOfReferenceKeys
Specifies the sizes of reference keys in the ReferenceKeys argument.
ReferenceKeys
Specifies the parts of the specified assembly to be inserted into the weldment document.
NumberOfNonBindingReferenceKeys
Specifies the number of reference keys that did not bind to occurrences.
NonBindingReferenceKeys
Specifies the input reference keys that did not bind to occurrences.
See Also

WeldmentModels Collection  | WeldmentModels Members