Finds an attribute on a component.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function FindAttribute( _
ByVal AttributeDef As Object, _
ByVal WhichOne As Integer _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim AttributeDef As Object
Dim WhichOne As Integer
Dim value As Object
value = instance.FindAttribute(AttributeDef, WhichOne)
|
Parameters
- AttributeDef
- 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