Object_HasFootprint

Now reading version 2.1. For the latest, read: Object_HasFootprint for version 4

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

Parent page: Schematic Query Functions - Membership Checks

Summary

Returns all child objects of each part object that is linked to (or references) a footprint model whose properties comply with the Query.

It is possible to link a part to more than one footprint model, but only one model can be selected as a part's Current Footprint.

Syntax

Object_HasFootprint(Parent,ModelName : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String

The ModelName string specifies the Name property of the linked footprint model.

The CurrentModelOnly parameter specifies whether or not the linked footprint model has to be the Current Footprint for each part. When this is False, the linked footprint model does not have to be the Current Footprint (but it still can be); when this is True, the linked footprint model does have to be the Current Footprint.

Example Usage

Object_HasFootprint(Parent,'SOIC14',False)
Object_HasFootprint(Parent,'SOIC14',False) = True
Object_HasFootprint(Parent,'SOIC14',False) = 'True'

Returns all child objects of part objects that are linked to a Footprint Model whose Name property is SOIC14; that Model does not have to be each part's Current Footprint (but it can be).

Object_HasFootprint(Parent,'DIP14',True)
Object_HasFootprint(Parent,'DIP14',True) = True

Object_HasFootprint(Parent,'DIP14',True) = 'True'
Returns all child objects of part objects that are linked to a Footprint Model whose Name property is DIP14; that Model must be the Current Footprint for the part.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.