Query_Lang-LibraryFunctions_Components_PartCountPartCount_AD
Created: März 24, 2016 | Updated: August 13, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0 and 18.1
Now reading version 16.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 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 Libraries panel.