Query_Lang-LibraryFunctions_Components_PartCountPartCount_AD
Created: November 07, 2018 | Updated: November 08, 2018
| Applies to versions: 19.0, 19.1, 20.0, 20.1 and 20.2
Now reading version 20.1. For the latest, read: Query_Lang-LibraryFunctions_Components_PartCount((PartCount))_AD for version 21
Parent page: Library Query Functions - Components
Summary
Returns all components whose Part Count property complies with the Query.
Syntax
PartCount : Number
Example Usage
PartCount = 2
Returns all components whose Part Count is 2
.
PartCount
> 4
Returns all components whose Part Count is greater than 4
(i.e. all multi-part components containing more than 4 sub-parts).
Tips
- Ensure that the scope of the search is set to Components, using the Search in field in the File Libraries Search dialog.
- When searching components, all SchLib and IntLib libraries - available, or along a defined search path - will be interrogated.
- All results are listed in the Query Results listing, back in the Components panel.