Gets the number of sketch relations in the sketch based on the specified filter.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetRelationsCount( _
ByVal Filter As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISketchRelationManager
Dim Filter As System.Integer
Dim value As System.Integer
value = instance.GetRelationsCount(Filter) |
C# | |
---|
System.int GetRelationsCount(
System.int Filter
) |
C++/CLI | |
---|
System.int GetRelationsCount(
& System.int Filter
) |
Parameters
- Filter
- Sketch relation as defined in swSketchRelationFilterType_e
Return Value
Number of sketch relations
Example
Remarks
See Also
Availability
SOLIDWORKS 2004 FCS, Revision Number 12.0