// Howdy 👋.
//
// This is where you can create powerful part automations like resistors that tell you when too much current is flowing through them
// You can also create your own flexible parts, like generics (https://docs.flux.ai/Introduction/generic-parts)
//
// If you are new to writing code in Flux make sure to check out our get started docs: https://docs.flux.ai/reference/introduction
//
// We also have a Flux Slack Community in case you need help: https://www.flux.ai/p/slack-community
//
// To infinity and beyond 🚀
// Howdy 👋.
// If you are new to writing code in Flux make sure to check out our get started docs: https://docs.flux.ai/reference/introduction
// We also have a Flux Slack Community in case you need help: https://join.slack.com/t/fluxcommunity/shared_invite/zt-p48n941f-wzQ06kGmuFJ2HXnGYT1JkA
// To infinity and beyond 🚀
const footprintNode = flux.getNodeById("3f660c1b-bc04-4fa0-ab02-1566354dd092.defaultFootprint") as PcbLayoutNode;
const modelNode = flux.getNodeById("8c7dca42-58af-4867-a610-0718de3c2077") as PcbLayoutNode;
// This will return array of all assets with file type .kicad_mod
const footprintAssetId = flux.assets
.filter((asset) => asset.fileType === "kicad_mod") // Filter by file type