In Fallout 4 (Creation Engine v1.5+), workshop settlement building, weapon/armor modding, and contraption assembly are governed by BSConnectPoints extra-data blocks stored inside .nif mesh files. When viewed in NifSkope, these blocks are assigned the internal extra-data string name CPA (Connect Point Attachment).
BSConnectPoint::Parents(CPA): Used almost exclusively for Workshop Settlement Objects and parent receiver slots (such as weapon receivers). In workshop mode, twoBSConnectPoint::Parentsnodes snap directly to one another when their string names and orientation rules align.BSConnectPoint::Children: Used primarily for Object Mods (OMODs) such as weapon barrels, scopes, magazines, and power armor pieces that attach to a parent receiver slot.