Query_Lang-LibraryFunctions_Components_PartCountPartCount_AD
Created: August 02, 2022 | Updated: August 02, 2022
| Applies to version: 21
This document is no longer available beyond version 21.0. Information can now be found here: PartCount for version 25
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.