Finds an attribute on a component.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IFindAttribute( _
ByVal AttributeDef As AttributeDef, _
ByVal WhichOne As Integer _
) As Attribute |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim AttributeDef As AttributeDef
Dim WhichOne As Integer
Dim value As Attribute
value = instance.IFindAttribute(AttributeDef, WhichOne)
|
Parameters
- AttributeDef
- Pointer to an attribute definition that you are looking for on this component
- WhichOne
Index number of the attribute that you want to return; there might be several attributes on this component
Return Value
Pointer to the attribute
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0