<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:bb63ae67-07d0-42d1-a707-78aa23f34fba,g:afb56d9a-1030-48ce-a970-28c460cc0e9b-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.amtexinc.com/role/ConsolidatedStatementofStockholdersEquity" xlink:type="simple" xlink:href="ame-20230331.xsd#ConsolidatedStatementofStockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/ConsolidatedStatementofStockholdersEquity" xlink:type="extended" id="i09a0fd792d224cbcba106f3653769316_ConsolidatedStatementofStockholdersEquity">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_cca0ed53-dd22-4b9b-9d28-2744f264f652" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cca0ed53-dd22-4b9b-9d28-2744f264f652" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_27751509-9e88-4b10-b041-9189cc192ba7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_StockholdersEquity_27751509-9e88-4b10-b041-9189cc192ba7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_87917499-76ce-43a0-9c67-4a298be1d73e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_87917499-76ce-43a0-9c67-4a298be1d73e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_5c74c876-0ea2-42a5-97ec-38000762f136" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_5c74c876-0ea2-42a5-97ec-38000762f136" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_14c14a12-9c71-47b1-9b93-f15c8c51e998" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_14c14a12-9c71-47b1-9b93-f15c8c51e998" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_cad08d39-55f3-4dfc-9820-6b1a5bee45bb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_NetIncomeLoss_cad08d39-55f3-4dfc-9820-6b1a5bee45bb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_f624ceaf-05da-4f57-8331-8a1370819e87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_DividendsCommonStockCash_f624ceaf-05da-4f57-8331-8a1370819e87" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityOther_48204ed6-d25b-429c-975b-528d2add08ea" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_StockholdersEquityOther_48204ed6-d25b-429c-975b-528d2add08ea" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_c94243d1-8cdb-4906-b94f-d80f7b07e79e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_c94243d1-8cdb-4906-b94f-d80f7b07e79e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_b7825197-d74e-4a3a-b3d6-782bea060f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_b7825197-d74e-4a3a-b3d6-782bea060f0a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_ecf39faf-0161-4661-823a-a03be14a62e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_ecf39faf-0161-4661-823a-a03be14a62e3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_b03761d6-b529-4255-afa9-962f66fda638" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_b03761d6-b529-4255-afa9-962f66fda638" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_4d146c89-6702-4466-b9ca-224f11ca4c0d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d4bf9ae6-ac40-44d3-9c12-5271c93a6772" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_4d146c89-6702-4466-b9ca-224f11ca4c0d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_f305d0e5-9f47-41e5-aac1-111aefc23514" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_96697977-cbda-4c89-9c73-5782dee9305a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_cca0ed53-dd22-4b9b-9d28-2744f264f652" xlink:to="loc_us-gaap_StatementTable_96697977-cbda-4c89-9c73-5782dee9305a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_9e109cc5-396a-4bfc-95a2-09ba85c2799c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_96697977-cbda-4c89-9c73-5782dee9305a" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_9e109cc5-396a-4bfc-95a2-09ba85c2799c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_9e109cc5-396a-4bfc-95a2-09ba85c2799c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9e109cc5-396a-4bfc-95a2-09ba85c2799c" xlink:to="loc_us-gaap_EquityComponentDomain_9e109cc5-396a-4bfc-95a2-09ba85c2799c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9e109cc5-396a-4bfc-95a2-09ba85c2799c" xlink:to="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_f9ea21ab-11e7-4fe1-861d-fa06f6c75039" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_CommonStockMember_f9ea21ab-11e7-4fe1-861d-fa06f6c75039" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_2c911518-de2f-4a20-baf0-503fb79c7acf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_2c911518-de2f-4a20-baf0-503fb79c7acf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_50ad2a1e-b30c-47a9-8a04-0c09045fab99" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_RetainedEarningsMember_50ad2a1e-b30c-47a9-8a04-0c09045fab99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_a39de14f-64e2-4553-a1ae-4c8abdf45487" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_a39de14f-64e2-4553-a1ae-4c8abdf45487" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_32b05df3-23e6-4d64-a737-9fd78d46df4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_32b05df3-23e6-4d64-a737-9fd78d46df4d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_b9550d72-73c5-4009-bfd2-3df85271af65" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_b9550d72-73c5-4009-bfd2-3df85271af65" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_2e46eecd-62f7-43b4-b73e-9ab3f2b8bbbe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cabfb564-a06e-410e-ba95-e51b77b899cc" xlink:to="loc_us-gaap_TreasuryStockCommonMember_2e46eecd-62f7-43b4-b73e-9ab3f2b8bbbe" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/RevenuesAdditionalInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#RevenuesAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/RevenuesAdditionalInformationDetail" xlink:type="extended" id="iae2b13053777433893e43c252fb2bc2b_RevenuesAdditionalInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_cfd5c2a6-9bca-4a5e-b73d-e81c20ad6136" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_cfd5c2a6-9bca-4a5e-b73d-e81c20ad6136" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_1d02b34e-9dda-4253-be4a-24e37c0827f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_1d02b34e-9dda-4253-be4a-24e37c0827f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_a6749df8-00ba-4d18-9a1f-a17b3cc2db0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_a6749df8-00ba-4d18-9a1f-a17b3cc2db0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_03e1d635-8aca-4996-b389-ee20a38c9e60" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_03e1d635-8aca-4996-b389-ee20a38c9e60" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_9925b8df-94aa-4eed-9172-1a950fa36035" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReceivablesNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_ReceivablesNetCurrent_9925b8df-94aa-4eed-9172-1a950fa36035" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForNotesAndLoansReceivableCurrent_64114b4c-698f-4e72-aa45-8654d2d31ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AllowanceForNotesAndLoansReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_AllowanceForNotesAndLoansReceivableCurrent_64114b4c-698f-4e72-aa45-8654d2d31ed2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:to="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:to="loc_srt_RangeMember_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:to="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_425b32b4-c890-402a-91a5-a3ff1ed2bd2a" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:to="loc_srt_MinimumMember_425b32b4-c890-402a-91a5-a3ff1ed2bd2a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_53e292e4-b6b4-4390-a035-837cf787a5d0" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:to="loc_srt_MaximumMember_53e292e4-b6b4-4390-a035-837cf787a5d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_a6e90596-4ae2-454c-9965-5a351ccd8092" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_a6e90596-4ae2-454c-9965-5a351ccd8092" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/RevenuesAdditionalInformationDetail_1" xlink:type="simple" xlink:href="ame-20230331.xsd#RevenuesAdditionalInformationDetail_1"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/RevenuesAdditionalInformationDetail_1" xlink:type="extended" id="if6a0eaad6cb141deafcd8bc9d60d3cea_RevenuesAdditionalInformationDetail_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_cfd5c2a6-9bca-4a5e-b73d-e81c20ad6136" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_cfd5c2a6-9bca-4a5e-b73d-e81c20ad6136" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_1d02b34e-9dda-4253-be4a-24e37c0827f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_1d02b34e-9dda-4253-be4a-24e37c0827f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_a6749df8-00ba-4d18-9a1f-a17b3cc2db0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_a6749df8-00ba-4d18-9a1f-a17b3cc2db0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_03e1d635-8aca-4996-b389-ee20a38c9e60" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_03e1d635-8aca-4996-b389-ee20a38c9e60" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_9925b8df-94aa-4eed-9172-1a950fa36035" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReceivablesNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_ReceivablesNetCurrent_9925b8df-94aa-4eed-9172-1a950fa36035" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForNotesAndLoansReceivableCurrent_64114b4c-698f-4e72-aa45-8654d2d31ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AllowanceForNotesAndLoansReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_AllowanceForNotesAndLoansReceivableCurrent_64114b4c-698f-4e72-aa45-8654d2d31ed2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6d6417c2-d2ea-4a7f-b79b-42c101ae54e5" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_dd116c1b-c486-4922-ac2e-b5a0a1059468" xlink:to="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:to="loc_srt_RangeMember_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_838aa9e8-dacc-4ec5-8ac2-08f5d7a6b40b" xlink:to="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_425b32b4-c890-402a-91a5-a3ff1ed2bd2a" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:to="loc_srt_MinimumMember_425b32b4-c890-402a-91a5-a3ff1ed2bd2a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_53e292e4-b6b4-4390-a035-837cf787a5d0" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fbde05a4-ae3f-4b19-b5b8-7434215946a0" xlink:to="loc_srt_MaximumMember_53e292e4-b6b4-4390-a035-837cf787a5d0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/RevenuesInformationAboutOperationsinDifferentGeographicAreasDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#RevenuesInformationAboutOperationsinDifferentGeographicAreasDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/RevenuesInformationAboutOperationsinDifferentGeographicAreasDetail" xlink:type="extended" id="i7fdafee2ed9542b7a65ffe0ae3aa2c81_RevenuesInformationAboutOperationsinDifferentGeographicAreasDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_a4c47d81-98e5-45ee-ae62-6b769f90988a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f7584365-46ce-4475-9622-c98e9703cbc1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_a4c47d81-98e5-45ee-ae62-6b769f90988a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f7584365-46ce-4475-9622-c98e9703cbc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_9adbe543-99e2-4b26-8601-fd369501b2fa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_a4c47d81-98e5-45ee-ae62-6b769f90988a" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_9adbe543-99e2-4b26-8601-fd369501b2fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_75290432-25fc-4e58-ac88-e95ef0dafb65" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_9adbe543-99e2-4b26-8601-fd369501b2fa" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_75290432-25fc-4e58-ac88-e95ef0dafb65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_75290432-25fc-4e58-ac88-e95ef0dafb65_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_75290432-25fc-4e58-ac88-e95ef0dafb65" xlink:to="loc_us-gaap_SegmentDomain_75290432-25fc-4e58-ac88-e95ef0dafb65_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_8017ec1b-e8ed-4cc2-97b5-8e85705a3956" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_75290432-25fc-4e58-ac88-e95ef0dafb65" xlink:to="loc_us-gaap_SegmentDomain_8017ec1b-e8ed-4cc2-97b5-8e85705a3956" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectronicInstrumentsGroupMember_8b5304e3-1e9e-42de-a057-21b7f0011c34" xlink:href="ame-20230331.xsd#ame_ElectronicInstrumentsGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_8017ec1b-e8ed-4cc2-97b5-8e85705a3956" xlink:to="loc_ame_ElectronicInstrumentsGroupMember_8b5304e3-1e9e-42de-a057-21b7f0011c34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectromechanicalGroupMember_5485f403-f8eb-48fa-8948-b28dcf34acf8" xlink:href="ame-20230331.xsd#ame_ElectromechanicalGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_8017ec1b-e8ed-4cc2-97b5-8e85705a3956" xlink:to="loc_ame_ElectromechanicalGroupMember_5485f403-f8eb-48fa-8948-b28dcf34acf8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_05a3a9db-425e-4908-bbe2-1e1e6270d632" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_9adbe543-99e2-4b26-8601-fd369501b2fa" xlink:to="loc_srt_StatementGeographicalAxis_05a3a9db-425e-4908-bbe2-1e1e6270d632" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_05a3a9db-425e-4908-bbe2-1e1e6270d632_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_05a3a9db-425e-4908-bbe2-1e1e6270d632" xlink:to="loc_srt_SegmentGeographicalDomain_05a3a9db-425e-4908-bbe2-1e1e6270d632_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_05a3a9db-425e-4908-bbe2-1e1e6270d632" xlink:to="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_096a1a1c-2cbb-4ef7-85b2-e1a087c00724" xlink:href="https://xbrl.sec.gov/country/2022/country-2022.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_country_US_096a1a1c-2cbb-4ef7-85b2-e1a087c00724" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_00ac97a3-b402-4a60-9c5f-7e94481732e3" xlink:href="https://xbrl.sec.gov/country/2022/country-2022.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_country_GB_00ac97a3-b402-4a60-9c5f-7e94481732e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EuropeanUnionMember_1dd8c941-759d-42f4-977b-630a86db64b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EuropeanUnionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_us-gaap_EuropeanUnionMember_1dd8c941-759d-42f4-977b-630a86db64b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaMember_5a1ede2b-1749-4494-ba00-3ad212c33876" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_AsiaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_srt_AsiaMember_5a1ede2b-1749-4494-ba00-3ad212c33876" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_OtherForeignCountriesMember_fcb542b9-2230-4e02-b1a9-f39bba77ab45" xlink:href="ame-20230331.xsd#ame_OtherForeignCountriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_ame_OtherForeignCountriesMember_fcb542b9-2230-4e02-b1a9-f39bba77ab45" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_InternationalMember_529b3748-0b40-450a-ae95-b5837d6398b0" xlink:href="ame-20230331.xsd#ame_InternationalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_ame_InternationalMember_529b3748-0b40-450a-ae95-b5837d6398b0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_f66a37f7-fbec-4f3c-98a3-61820eed20e1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_89be4129-3419-4418-85e6-90f94e80f80e" xlink:to="loc_us-gaap_NonUsMember_f66a37f7-fbec-4f3c-98a3-61820eed20e1" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/RevenuesMajorProductsandServicesinReportableSegmentsDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#RevenuesMajorProductsandServicesinReportableSegmentsDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/RevenuesMajorProductsandServicesinReportableSegmentsDetail" xlink:type="extended" id="if10028a2522a4a9986498757848c3f4a_RevenuesMajorProductsandServicesinReportableSegmentsDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_aa197273-5a48-46bd-88a1-44c4d700b21c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f6f19cfb-adcb-4cc1-a0ca-7835d9eeeb5f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_aa197273-5a48-46bd-88a1-44c4d700b21c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f6f19cfb-adcb-4cc1-a0ca-7835d9eeeb5f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_3d8fae2f-d287-46ab-9ad5-5e55e1aff2b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_aa197273-5a48-46bd-88a1-44c4d700b21c" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_3d8fae2f-d287-46ab-9ad5-5e55e1aff2b9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8ef3d575-0149-4954-9b69-b9d0c8782acc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_3d8fae2f-d287-46ab-9ad5-5e55e1aff2b9" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8ef3d575-0149-4954-9b69-b9d0c8782acc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_8ef3d575-0149-4954-9b69-b9d0c8782acc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8ef3d575-0149-4954-9b69-b9d0c8782acc" xlink:to="loc_us-gaap_SegmentDomain_8ef3d575-0149-4954-9b69-b9d0c8782acc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_5abda9d3-338e-4fd7-a00a-2518f3a2fa53" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8ef3d575-0149-4954-9b69-b9d0c8782acc" xlink:to="loc_us-gaap_SegmentDomain_5abda9d3-338e-4fd7-a00a-2518f3a2fa53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectronicInstrumentsGroupMember_ac81a6ee-ded1-46a8-b1c3-cea1e3d665e5" xlink:href="ame-20230331.xsd#ame_ElectronicInstrumentsGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5abda9d3-338e-4fd7-a00a-2518f3a2fa53" xlink:to="loc_ame_ElectronicInstrumentsGroupMember_ac81a6ee-ded1-46a8-b1c3-cea1e3d665e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectromechanicalGroupMember_0af1e346-730a-484e-9d78-b5275fdf2a50" xlink:href="ame-20230331.xsd#ame_ElectromechanicalGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5abda9d3-338e-4fd7-a00a-2518f3a2fa53" xlink:to="loc_ame_ElectromechanicalGroupMember_0af1e346-730a-484e-9d78-b5275fdf2a50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_56512d2a-dc25-47ce-bf49-de126cb8bf98" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_3d8fae2f-d287-46ab-9ad5-5e55e1aff2b9" xlink:to="loc_srt_ProductOrServiceAxis_56512d2a-dc25-47ce-bf49-de126cb8bf98" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_56512d2a-dc25-47ce-bf49-de126cb8bf98_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_56512d2a-dc25-47ce-bf49-de126cb8bf98" xlink:to="loc_srt_ProductsAndServicesDomain_56512d2a-dc25-47ce-bf49-de126cb8bf98_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_44f91c0d-9962-4f6a-918d-cb7eb24a9510" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_56512d2a-dc25-47ce-bf49-de126cb8bf98" xlink:to="loc_srt_ProductsAndServicesDomain_44f91c0d-9962-4f6a-918d-cb7eb24a9510" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ProcessAndAnalyticalInstrumentationMember_88e8dc3d-8c58-424d-a789-e40492ef8ea4" xlink:href="ame-20230331.xsd#ame_ProcessAndAnalyticalInstrumentationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_44f91c0d-9962-4f6a-918d-cb7eb24a9510" xlink:to="loc_ame_ProcessAndAnalyticalInstrumentationMember_88e8dc3d-8c58-424d-a789-e40492ef8ea4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_AerospaceAndPowerMember_95ef0ae0-00e3-4628-b50f-4ea09023f79c" xlink:href="ame-20230331.xsd#ame_AerospaceAndPowerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_44f91c0d-9962-4f6a-918d-cb7eb24a9510" xlink:to="loc_ame_AerospaceAndPowerMember_95ef0ae0-00e3-4628-b50f-4ea09023f79c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_AutomationAndEngineeredSolutionsMember_32ced462-804f-4c54-bfe2-bcded2702225" xlink:href="ame-20230331.xsd#ame_AutomationAndEngineeredSolutionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_44f91c0d-9962-4f6a-918d-cb7eb24a9510" xlink:to="loc_ame_AutomationAndEngineeredSolutionsMember_32ced462-804f-4c54-bfe2-bcded2702225" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/RevenuesTimingofRevenueRecognitionDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#RevenuesTimingofRevenueRecognitionDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/RevenuesTimingofRevenueRecognitionDetail" xlink:type="extended" id="i862fdcaeffd048fd840b36788c41aaf5_RevenuesTimingofRevenueRecognitionDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_fc4f1df6-a234-4332-a0cf-189ddc28774e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b8937355-d593-4350-8d0c-c10bd18379f4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_fc4f1df6-a234-4332-a0cf-189ddc28774e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b8937355-d593-4350-8d0c-c10bd18379f4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_6acba62c-e78c-467f-a65d-025c97103ed8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_fc4f1df6-a234-4332-a0cf-189ddc28774e" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_6acba62c-e78c-467f-a65d-025c97103ed8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_22c9915c-4c15-4b49-9579-ac4255a67c6a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_6acba62c-e78c-467f-a65d-025c97103ed8" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_22c9915c-4c15-4b49-9579-ac4255a67c6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_22c9915c-4c15-4b49-9579-ac4255a67c6a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_22c9915c-4c15-4b49-9579-ac4255a67c6a" xlink:to="loc_us-gaap_SegmentDomain_22c9915c-4c15-4b49-9579-ac4255a67c6a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_51e27c0c-a1bb-4754-99d6-83760d8164d8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_22c9915c-4c15-4b49-9579-ac4255a67c6a" xlink:to="loc_us-gaap_SegmentDomain_51e27c0c-a1bb-4754-99d6-83760d8164d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectronicInstrumentsGroupMember_6039db76-bb1a-4b69-b9cf-4be36f711e23" xlink:href="ame-20230331.xsd#ame_ElectronicInstrumentsGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_51e27c0c-a1bb-4754-99d6-83760d8164d8" xlink:to="loc_ame_ElectronicInstrumentsGroupMember_6039db76-bb1a-4b69-b9cf-4be36f711e23" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectromechanicalGroupMember_03ea43be-4e44-4152-994e-0815c7a1ea29" xlink:href="ame-20230331.xsd#ame_ElectromechanicalGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_51e27c0c-a1bb-4754-99d6-83760d8164d8" xlink:to="loc_ame_ElectromechanicalGroupMember_03ea43be-4e44-4152-994e-0815c7a1ea29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1a47df31-ac0b-4aaf-b705-703b9c747ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_6acba62c-e78c-467f-a65d-025c97103ed8" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1a47df31-ac0b-4aaf-b705-703b9c747ee3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1a47df31-ac0b-4aaf-b705-703b9c747ee3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1a47df31-ac0b-4aaf-b705-703b9c747ee3" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1a47df31-ac0b-4aaf-b705-703b9c747ee3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_083c839d-1d22-4287-a9eb-81ed3581c957" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1a47df31-ac0b-4aaf-b705-703b9c747ee3" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_083c839d-1d22-4287-a9eb-81ed3581c957" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_6fffb7fe-25d7-475e-a62f-0088f3953abb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_083c839d-1d22-4287-a9eb-81ed3581c957" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_6fffb7fe-25d7-475e-a62f-0088f3953abb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredOverTimeMember_bd026518-4610-4ccf-b38f-e385934fff33" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TransferredOverTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_083c839d-1d22-4287-a9eb-81ed3581c957" xlink:to="loc_us-gaap_TransferredOverTimeMember_bd026518-4610-4ccf-b38f-e385934fff33" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/FairValueMeasurementsFairValueofAssetsMeasuredonRecurringBasisDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#FairValueMeasurementsFairValueofAssetsMeasuredonRecurringBasisDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/FairValueMeasurementsFairValueofAssetsMeasuredonRecurringBasisDetail" xlink:type="extended" id="ia0e0bcd8db9f46aeb8e8a3ecf6362fe9_FairValueMeasurementsFairValueofAssetsMeasuredonRecurringBasisDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_827ef92d-3989-4193-a874-2618c4de180a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_79ea33ec-0890-4175-a62e-ab20bdae6003" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_827ef92d-3989-4193-a874-2618c4de180a" xlink:to="loc_us-gaap_LongTermInvestments_79ea33ec-0890-4175-a62e-ab20bdae6003" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_6a889111-b723-4e0d-8aa4-20ac326619bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_827ef92d-3989-4193-a874-2618c4de180a" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_6a889111-b723-4e0d-8aa4-20ac326619bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5791999d-1f0d-4078-868b-d50cb510ec75" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_827ef92d-3989-4193-a874-2618c4de180a" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5791999d-1f0d-4078-868b-d50cb510ec75" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_fc13dd5a-c0f4-4462-b62b-8c21984159a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5791999d-1f0d-4078-868b-d50cb510ec75" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_fc13dd5a-c0f4-4462-b62b-8c21984159a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_fc13dd5a-c0f4-4462-b62b-8c21984159a1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_fc13dd5a-c0f4-4462-b62b-8c21984159a1" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_fc13dd5a-c0f4-4462-b62b-8c21984159a1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_c4264a0a-bdbb-42ba-8b61-f9fc1f5a9ed8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_fc13dd5a-c0f4-4462-b62b-8c21984159a1" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_c4264a0a-bdbb-42ba-8b61-f9fc1f5a9ed8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_193610a5-d02e-444a-a21c-56eec8427944" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_c4264a0a-bdbb-42ba-8b61-f9fc1f5a9ed8" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_193610a5-d02e-444a-a21c-56eec8427944" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_cdbbb271-e7f3-452f-9c78-1e5d1967a952" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5791999d-1f0d-4078-868b-d50cb510ec75" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_cdbbb271-e7f3-452f-9c78-1e5d1967a952" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdbbb271-e7f3-452f-9c78-1e5d1967a952_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_cdbbb271-e7f3-452f-9c78-1e5d1967a952" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdbbb271-e7f3-452f-9c78-1e5d1967a952_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_729f4c2f-cc05-43b8-871e-3068431da71c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_cdbbb271-e7f3-452f-9c78-1e5d1967a952" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_729f4c2f-cc05-43b8-871e-3068431da71c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_ee14536d-a108-490a-8203-042481d0b54c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_729f4c2f-cc05-43b8-871e-3068431da71c" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_ee14536d-a108-490a-8203-042481d0b54c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_4735ace4-3ef9-4f5d-86a9-4a2d461fe248" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_729f4c2f-cc05-43b8-871e-3068431da71c" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_4735ace4-3ef9-4f5d-86a9-4a2d461fe248" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_b7bdac27-0e34-42e0-84d3-a36981619576" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_729f4c2f-cc05-43b8-871e-3068431da71c" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_b7bdac27-0e34-42e0-84d3-a36981619576" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/FairValueMeasurementsAdditionalInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#FairValueMeasurementsAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/FairValueMeasurementsAdditionalInformationDetail" xlink:type="extended" id="i383cd0d4fd9840ea8a7d318dee47a33f_FairValueMeasurementsAdditionalInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6adbde1d-1aef-4b03-b69a-3ff95b2aad1b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_9503fced-c4e0-4c68-a251-b507ee6b8a46" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6adbde1d-1aef-4b03-b69a-3ff95b2aad1b" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_9503fced-c4e0-4c68-a251-b507ee6b8a46" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_7a0712fe-080c-418e-bd48-31d6b15747f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6adbde1d-1aef-4b03-b69a-3ff95b2aad1b" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_7a0712fe-080c-418e-bd48-31d6b15747f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_af6ec594-77c6-4bb1-85c1-ccca75430149" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6adbde1d-1aef-4b03-b69a-3ff95b2aad1b" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_af6ec594-77c6-4bb1-85c1-ccca75430149" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_8105dd19-e83a-4fd8-9df6-6076352fd32e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_af6ec594-77c6-4bb1-85c1-ccca75430149" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_8105dd19-e83a-4fd8-9df6-6076352fd32e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_8105dd19-e83a-4fd8-9df6-6076352fd32e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_8105dd19-e83a-4fd8-9df6-6076352fd32e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_8105dd19-e83a-4fd8-9df6-6076352fd32e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_08848aba-cd39-488d-a3b1-ae380857b654" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_8105dd19-e83a-4fd8-9df6-6076352fd32e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_08848aba-cd39-488d-a3b1-ae380857b654" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_EuroForwardContractMember_4f1fca0f-d8c8-42e0-b1ba-e08df41245df" xlink:href="ame-20230331.xsd#ame_EuroForwardContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_08848aba-cd39-488d-a3b1-ae380857b654" xlink:to="loc_ame_EuroForwardContractMember_4f1fca0f-d8c8-42e0-b1ba-e08df41245df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_CanadianDollarForwardContractMember_d6ec4752-4f79-4654-a7b9-65bd6a6e9971" xlink:href="ame-20230331.xsd#ame_CanadianDollarForwardContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_08848aba-cd39-488d-a3b1-ae380857b654" xlink:to="loc_ame_CanadianDollarForwardContractMember_d6ec4752-4f79-4654-a7b9-65bd6a6e9971" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/FairValueMeasurementsFairValueDisclosuresofFinancialInstrumentLiabilitiesDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#FairValueMeasurementsFairValueDisclosuresofFinancialInstrumentLiabilitiesDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/FairValueMeasurementsFairValueDisclosuresofFinancialInstrumentLiabilitiesDetail" xlink:type="extended" id="i44f4e6c7b8924d5da973292fc5360c73_FairValueMeasurementsFairValueDisclosuresofFinancialInstrumentLiabilitiesDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_430e0d13-c65c-4ff2-b2b7-ae8ae9e3b05f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_60d3e509-b47d-49b4-a5a0-8efd8cf20524" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_430e0d13-c65c-4ff2-b2b7-ae8ae9e3b05f" xlink:to="loc_us-gaap_LongTermDebtFairValue_60d3e509-b47d-49b4-a5a0-8efd8cf20524" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_4420252f-db47-4f4a-ac2c-de3a19116abb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_430e0d13-c65c-4ff2-b2b7-ae8ae9e3b05f" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_4420252f-db47-4f4a-ac2c-de3a19116abb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_f5de71fb-d66c-467a-acfa-ddcbde848034" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_4420252f-db47-4f4a-ac2c-de3a19116abb" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_f5de71fb-d66c-467a-acfa-ddcbde848034" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_f5de71fb-d66c-467a-acfa-ddcbde848034_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_f5de71fb-d66c-467a-acfa-ddcbde848034" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_f5de71fb-d66c-467a-acfa-ddcbde848034_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_71f5d07c-6547-4029-8e55-e41d20c032df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_f5de71fb-d66c-467a-acfa-ddcbde848034" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_71f5d07c-6547-4029-8e55-e41d20c032df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_725f2150-d6a5-4a36-b1c4-6956be53aa0a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_71f5d07c-6547-4029-8e55-e41d20c032df" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_725f2150-d6a5-4a36-b1c4-6956be53aa0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_be650ba3-8dc1-43ee-9e20-fba1892d8d74" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_725f2150-d6a5-4a36-b1c4-6956be53aa0a" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_be650ba3-8dc1-43ee-9e20-fba1892d8d74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_43fc57d9-4068-476a-9ac5-c09c9bfa7a32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_725f2150-d6a5-4a36-b1c4-6956be53aa0a" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_43fc57d9-4068-476a-9ac5-c09c9bfa7a32" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/HedgingActivitiesAdditionalInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#HedgingActivitiesAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/HedgingActivitiesAdditionalInformationDetail" xlink:type="extended" id="i2c06be6eb9334e7298e3206bcd9cc9a4_HedgingActivitiesAdditionalInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_52f76830-9aed-4317-81f3-68a6acc3c210" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAmountOfHedgedItem_3db00471-b6bc-4757-a63a-9846a0b1cfb3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAmountOfHedgedItem"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_52f76830-9aed-4317-81f3-68a6acc3c210" xlink:to="loc_us-gaap_DerivativeAmountOfHedgedItem_3db00471-b6bc-4757-a63a-9846a0b1cfb3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_PercentageOfEffectivenessOnNetInvestmentHedges_181bd7b0-77b6-4546-a456-d3bcf665289c" xlink:href="ame-20230331.xsd#ame_PercentageOfEffectivenessOnNetInvestmentHedges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_52f76830-9aed-4317-81f3-68a6acc3c210" xlink:to="loc_ame_PercentageOfEffectivenessOnNetInvestmentHedges_181bd7b0-77b6-4546-a456-d3bcf665289c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_97de5bb2-fb3e-4ffd-8a9f-aa48e3ebac59" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_52f76830-9aed-4317-81f3-68a6acc3c210" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_97de5bb2-fb3e-4ffd-8a9f-aa48e3ebac59" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_b52da943-e6a7-42ea-853e-aebfc8a1616b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_52f76830-9aed-4317-81f3-68a6acc3c210" xlink:to="loc_us-gaap_DerivativeTable_b52da943-e6a7-42ea-853e-aebfc8a1616b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_8bc07628-a310-4686-9215-9c656519d626" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_b52da943-e6a7-42ea-853e-aebfc8a1616b" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_8bc07628-a310-4686-9215-9c656519d626" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_8bc07628-a310-4686-9215-9c656519d626_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_8bc07628-a310-4686-9215-9c656519d626" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_8bc07628-a310-4686-9215-9c656519d626_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_db7e7b93-e690-44c4-a7f8-ba947203a6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_8bc07628-a310-4686-9215-9c656519d626" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_db7e7b93-e690-44c4-a7f8-ba947203a6e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeContractMember_723b32d5-2fe5-4195-bb6c-17e7f0d732ec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignExchangeContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_db7e7b93-e690-44c4-a7f8-ba947203a6e0" xlink:to="loc_us-gaap_ForeignExchangeContractMember_723b32d5-2fe5-4195-bb6c-17e7f0d732ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_b13012a0-cdbe-42f2-8688-bb9b625d2a39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_b52da943-e6a7-42ea-853e-aebfc8a1616b" xlink:to="loc_us-gaap_HedgingDesignationAxis_b13012a0-cdbe-42f2-8688-bb9b625d2a39" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_b13012a0-cdbe-42f2-8688-bb9b625d2a39_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_b13012a0-cdbe-42f2-8688-bb9b625d2a39" xlink:to="loc_us-gaap_HedgingDesignationDomain_b13012a0-cdbe-42f2-8688-bb9b625d2a39_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_6b94525a-b416-4495-978c-b890ff26d87a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_b13012a0-cdbe-42f2-8688-bb9b625d2a39" xlink:to="loc_us-gaap_HedgingDesignationDomain_6b94525a-b416-4495-978c-b890ff26d87a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_78afb022-d35c-460f-a759-32ab5a1848b1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_6b94525a-b416-4495-978c-b890ff26d87a" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_78afb022-d35c-460f-a759-32ab5a1848b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_d2d69ce6-c901-43af-9180-1cfa03f9b68f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_b52da943-e6a7-42ea-853e-aebfc8a1616b" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_d2d69ce6-c901-43af-9180-1cfa03f9b68f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_d2d69ce6-c901-43af-9180-1cfa03f9b68f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_d2d69ce6-c901-43af-9180-1cfa03f9b68f" xlink:to="loc_us-gaap_HedgingRelationshipDomain_d2d69ce6-c901-43af-9180-1cfa03f9b68f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_8107f673-7d14-41a9-be9e-2ac47acfab3a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_d2d69ce6-c901-43af-9180-1cfa03f9b68f" xlink:to="loc_us-gaap_HedgingRelationshipDomain_8107f673-7d14-41a9-be9e-2ac47acfab3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_BritishPoundDenominatedLoansMember_08a21b58-70a8-474d-855a-a82b6f83afb7" xlink:href="ame-20230331.xsd#ame_BritishPoundDenominatedLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_8107f673-7d14-41a9-be9e-2ac47acfab3a" xlink:to="loc_ame_BritishPoundDenominatedLoansMember_08a21b58-70a8-474d-855a-a82b6f83afb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_EuroLoanMember_492a147e-5087-4165-a01f-b8fb087f0385" xlink:href="ame-20230331.xsd#ame_EuroLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_8107f673-7d14-41a9-be9e-2ac47acfab3a" xlink:to="loc_ame_EuroLoanMember_492a147e-5087-4165-a01f-b8fb087f0385" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/LeasesAdditionalInformationDetails" xlink:type="simple" xlink:href="ame-20230331.xsd#LeasesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/LeasesAdditionalInformationDetails" xlink:type="extended" id="i64611a17cba7488198dc8b13914488ba_LeasesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_cc430f8c-9288-49b5-81f5-db9d990a4e1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_9789ab3f-2009-47bd-9d9e-799ef3fa4fd5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cc430f8c-9288-49b5-81f5-db9d990a4e1c" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_9789ab3f-2009-47bd-9d9e-799ef3fa4fd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_774282cc-e90e-4cbd-b6ed-856bff7912f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cc430f8c-9288-49b5-81f5-db9d990a4e1c" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_774282cc-e90e-4cbd-b6ed-856bff7912f6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_f5b8a98e-f47a-4508-a59f-5d273a05e1c3" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_774282cc-e90e-4cbd-b6ed-856bff7912f6" xlink:to="loc_srt_RangeAxis_f5b8a98e-f47a-4508-a59f-5d273a05e1c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f5b8a98e-f47a-4508-a59f-5d273a05e1c3_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_f5b8a98e-f47a-4508-a59f-5d273a05e1c3" xlink:to="loc_srt_RangeMember_f5b8a98e-f47a-4508-a59f-5d273a05e1c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_11cf9adb-c692-4cd2-b051-e62e89b69918" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_f5b8a98e-f47a-4508-a59f-5d273a05e1c3" xlink:to="loc_srt_RangeMember_11cf9adb-c692-4cd2-b051-e62e89b69918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_ceb2e3b6-4e35-4e8b-ad5f-a812abd01c0b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_11cf9adb-c692-4cd2-b051-e62e89b69918" xlink:to="loc_srt_MinimumMember_ceb2e3b6-4e35-4e8b-ad5f-a812abd01c0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d2ed8884-7345-4e07-9ce7-9efe05caf7b8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_11cf9adb-c692-4cd2-b051-e62e89b69918" xlink:to="loc_srt_MaximumMember_d2ed8884-7345-4e07-9ce7-9efe05caf7b8" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/AcquisitionsAdditionalInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#AcquisitionsAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/AcquisitionsAdditionalInformationDetail" xlink:type="extended" id="i4993bb3d6a0949c89313c8f25342e0b0_AcquisitionsAdditionalInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e207f-2740-4159-9c9e-505e28104b03" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e207f-2740-4159-9c9e-505e28104b03" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_63dbe1e5-729c-4266-a9d3-10995e0d9c23" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_63dbe1e5-729c-4266-a9d3-10995e0d9c23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_809dbacf-7f9f-45e4-b226-02464b033403" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_809dbacf-7f9f-45e4-b226-02464b033403" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_5a929477-a6ab-4e61-bfda-704276c232b2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_5a929477-a6ab-4e61-bfda-704276c232b2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_98b2f284-e286-4941-9d40-6943fa46d3a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_98b2f284-e286-4941-9d40-6943fa46d3a9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_1deb3f2a-dc60-4622-a572-0e5527ea5f10" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_1deb3f2a-dc60-4622-a572-0e5527ea5f10" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_b3fb006e-c8d5-4d6b-aa39-594433258c57" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_b3fb006e-c8d5-4d6b-aa39-594433258c57" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearTwo_353e595a-2ac6-4205-a67a-24e7fed8abc1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearTwo_353e595a-2ac6-4205-a67a-24e7fed8abc1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFive_86ef844b-f3e8-45f6-8b8b-b7aeb39c92ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFive_86ef844b-f3e8-45f6-8b8b-b7aeb39c92ff" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFour_fb669ab5-34a6-43a8-9fab-667a0261a90d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFour_fb669ab5-34a6-43a8-9fab-667a0261a90d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearThree_85e6bef6-11bf-4888-be42-b799d50d5edb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearThree_85e6bef6-11bf-4888-be42-b799d50d5edb" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths_9746e9e6-1ac6-4529-aa65-9e1104581daa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths_9746e9e6-1ac6-4529-aa65-9e1104581daa" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97a3294a-f6a8-488d-99c6-52d79bcf72cb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01786c02-7d1c-418a-94f2-85e9a00f5a6e" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97a3294a-f6a8-488d-99c6-52d79bcf72cb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_93153713-f0d5-4523-a8ca-df0290d9f3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97a3294a-f6a8-488d-99c6-52d79bcf72cb" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_93153713-f0d5-4523-a8ca-df0290d9f3c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_93153713-f0d5-4523-a8ca-df0290d9f3c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_93153713-f0d5-4523-a8ca-df0290d9f3c8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_93153713-f0d5-4523-a8ca-df0290d9f3c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d71c295d-1b41-48ad-ab3d-1fa86a7d1e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_93153713-f0d5-4523-a8ca-df0290d9f3c8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d71c295d-1b41-48ad-ab3d-1fa86a7d1e9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_NavitarIncMember_1dec8ee1-bd7e-404f-94ae-20aee58c24c7" xlink:href="ame-20230331.xsd#ame_NavitarIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d71c295d-1b41-48ad-ab3d-1fa86a7d1e9d" xlink:to="loc_ame_NavitarIncMember_1dec8ee1-bd7e-404f-94ae-20aee58c24c7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9bea5547-5b44-4dcd-86eb-2346912a4bbb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97a3294a-f6a8-488d-99c6-52d79bcf72cb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9bea5547-5b44-4dcd-86eb-2346912a4bbb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9bea5547-5b44-4dcd-86eb-2346912a4bbb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9bea5547-5b44-4dcd-86eb-2346912a4bbb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9bea5547-5b44-4dcd-86eb-2346912a4bbb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_41faa2a5-5724-4354-95fe-79d9d95dab93" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9bea5547-5b44-4dcd-86eb-2346912a4bbb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_41faa2a5-5724-4354-95fe-79d9d95dab93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_32342128-6318-4f86-8133-4d595fde3ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_41faa2a5-5724-4354-95fe-79d9d95dab93" xlink:to="loc_us-gaap_TradeNamesMember_32342128-6318-4f86-8133-4d595fde3ce4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_f9449b09-0630-4b7c-8694-871b90b988be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_41faa2a5-5724-4354-95fe-79d9d95dab93" xlink:to="loc_us-gaap_CustomerRelationshipsMember_f9449b09-0630-4b7c-8694-871b90b988be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_PurchasedTechnologyMember_22e43918-de92-4b9f-ad2e-90adb19344d1" xlink:href="ame-20230331.xsd#ame_PurchasedTechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_41faa2a5-5724-4354-95fe-79d9d95dab93" xlink:to="loc_ame_PurchasedTechnologyMember_22e43918-de92-4b9f-ad2e-90adb19344d1" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/AcquisitionsAllocationofAggregatePurchasePriceofAcquiredNetAssetsDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#AcquisitionsAllocationofAggregatePurchasePriceofAcquiredNetAssetsDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/AcquisitionsAllocationofAggregatePurchasePriceofAcquiredNetAssetsDetail" xlink:type="extended" id="ifb6c24e756a9454da11ffb544024b4a8_AcquisitionsAllocationofAggregatePurchasePriceofAcquiredNetAssetsDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_51bf3f67-aa48-4304-9d71-2b437e97c32d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_51bf3f67-aa48-4304-9d71-2b437e97c32d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_05c6817d-2a00-4a7e-8553-5de0917ff7df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_us-gaap_Goodwill_05c6817d-2a00-4a7e-8553-5de0917ff7df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1e54a15b-961e-4c35-b65d-31d0dfb8e7a3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1e54a15b-961e-4c35-b65d-31d0dfb8e7a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_BusinessAcquisitionPurchasePriceAllocationNetWorkingCapitalAndOther_446f302c-4b37-4e75-80d9-55ba8680757b" xlink:href="ame-20230331.xsd#ame_BusinessAcquisitionPurchasePriceAllocationNetWorkingCapitalAndOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_ame_BusinessAcquisitionPurchasePriceAllocationNetWorkingCapitalAndOther_446f302c-4b37-4e75-80d9-55ba8680757b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6bdaf6fc-7c94-4c62-9c81-fbf3a6b5b52c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6bdaf6fc-7c94-4c62-9c81-fbf3a6b5b52c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_d5dd4a41-470f-43da-9f5e-4ffe6c4ae741" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_d5dd4a41-470f-43da-9f5e-4ffe6c4ae741" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4bb5afa8-9be2-4d72-a939-6d6f1c499950" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_033d2495-f11d-4cf0-b126-741b16aa470d" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4bb5afa8-9be2-4d72-a939-6d6f1c499950" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_b9345a82-d871-4bfa-956d-ff6d588a0a36" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4bb5afa8-9be2-4d72-a939-6d6f1c499950" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_b9345a82-d871-4bfa-956d-ff6d588a0a36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_b9345a82-d871-4bfa-956d-ff6d588a0a36_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_b9345a82-d871-4bfa-956d-ff6d588a0a36" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_b9345a82-d871-4bfa-956d-ff6d588a0a36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a1c2a482-68f2-4179-a730-53556df12b9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_b9345a82-d871-4bfa-956d-ff6d588a0a36" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a1c2a482-68f2-4179-a730-53556df12b9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_NavitarIncMember_70f8dbce-6e20-42aa-9725-a43f1f5dcfa8" xlink:href="ame-20230331.xsd#ame_NavitarIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a1c2a482-68f2-4179-a730-53556df12b9f" xlink:to="loc_ame_NavitarIncMember_70f8dbce-6e20-42aa-9725-a43f1f5dcfa8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/GoodwillChangesinCarryingAmountsofGoodwillbySegmentDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#GoodwillChangesinCarryingAmountsofGoodwillbySegmentDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/GoodwillChangesinCarryingAmountsofGoodwillbySegmentDetail" xlink:type="extended" id="iaafcb411307f4e6c909eff8a77874359_GoodwillChangesinCarryingAmountsofGoodwillbySegmentDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_388b3f15-0e8a-48ad-958b-55ab338e95b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_a37746d4-e95e-45e1-8f6c-60912b4230ae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_388b3f15-0e8a-48ad-958b-55ab338e95b9" xlink:to="loc_us-gaap_GoodwillRollForward_a37746d4-e95e-45e1-8f6c-60912b4230ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_981db065-fe35-4e6d-ab9f-3d8c7c6317a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_a37746d4-e95e-45e1-8f6c-60912b4230ae" xlink:to="loc_us-gaap_Goodwill_981db065-fe35-4e6d-ab9f-3d8c7c6317a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_04ee97de-821a-4cf3-9e34-93af2e47de5b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_a37746d4-e95e-45e1-8f6c-60912b4230ae" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_04ee97de-821a-4cf3-9e34-93af2e47de5b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_2b66cb8d-74fa-4607-a460-314940ecf8ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_a37746d4-e95e-45e1-8f6c-60912b4230ae" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_2b66cb8d-74fa-4607-a460-314940ecf8ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_28857330-3264-4b93-9c31-5d3f97d97fce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_a37746d4-e95e-45e1-8f6c-60912b4230ae" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_28857330-3264-4b93-9c31-5d3f97d97fce" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_f3d03a9b-0245-40d9-a59e-cf31d533384f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_da2ac567-a308-4875-b37e-88bae971c652" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_388b3f15-0e8a-48ad-958b-55ab338e95b9" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_da2ac567-a308-4875-b37e-88bae971c652" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_0bf99d6e-470c-432b-b554-5e5a55e16b40" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_da2ac567-a308-4875-b37e-88bae971c652" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_0bf99d6e-470c-432b-b554-5e5a55e16b40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_0bf99d6e-470c-432b-b554-5e5a55e16b40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_0bf99d6e-470c-432b-b554-5e5a55e16b40" xlink:to="loc_us-gaap_SegmentDomain_0bf99d6e-470c-432b-b554-5e5a55e16b40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_de56d858-fe5b-4015-823d-a02cad39b0bb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_0bf99d6e-470c-432b-b554-5e5a55e16b40" xlink:to="loc_us-gaap_SegmentDomain_de56d858-fe5b-4015-823d-a02cad39b0bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectronicInstrumentsGroupMember_6ec8c166-d240-4e80-babc-b335c4a5a805" xlink:href="ame-20230331.xsd#ame_ElectronicInstrumentsGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_de56d858-fe5b-4015-823d-a02cad39b0bb" xlink:to="loc_ame_ElectronicInstrumentsGroupMember_6ec8c166-d240-4e80-babc-b335c4a5a805" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ElectromechanicalGroupMember_c28ae90b-af1a-4ea2-89ce-91310fc27173" xlink:href="ame-20230331.xsd#ame_ElectromechanicalGroupMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_de56d858-fe5b-4015-823d-a02cad39b0bb" xlink:to="loc_ame_ElectromechanicalGroupMember_c28ae90b-af1a-4ea2-89ce-91310fc27173" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/ShareBasedCompensationAdditionalInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#ShareBasedCompensationAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/ShareBasedCompensationAdditionalInformationDetail" xlink:type="extended" id="ic4ba64f4eb5e419e8e4c64ed7ca4f092_ShareBasedCompensationAdditionalInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_940e7259-8277-4dfc-bf9f-120fe2cf6b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_940e7259-8277-4dfc-bf9f-120fe2cf6b5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_a156d07a-edb6-4dcc-bac2-7d97b7dc812b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_a156d07a-edb6-4dcc-bac2-7d97b7dc812b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_b53e199e-8639-4320-9227-9abff59296fc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_b53e199e-8639-4320-9227-9abff59296fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_728bb701-5fb9-41e3-b847-bf9130717a4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_728bb701-5fb9-41e3-b847-bf9130717a4d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_f37682ee-a65e-4670-9845-ef37f7e53d8d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_f37682ee-a65e-4670-9845-ef37f7e53d8d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_67c136ab-3c85-4bfe-af50-0fa27627ab58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_67c136ab-3c85-4bfe-af50-0fa27627ab58" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_7a3c75c1-1f7c-4648-a9b4-59d71f12fb80" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_7a3c75c1-1f7c-4648-a9b4-59d71f12fb80" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9c1b5e62-25ec-4e2a-ba69-126b6d992393" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9c1b5e62-25ec-4e2a-ba69-126b6d992393" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_c436efe3-952a-48fd-8d7e-09e9533bb597" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_c436efe3-952a-48fd-8d7e-09e9533bb597" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_b68bd416-9957-43b4-ac41-e4c30ab3aead" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_b68bd416-9957-43b4-ac41-e4c30ab3aead" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_9f1e0314-9629-4f70-8a57-df0928f4d7bc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_9f1e0314-9629-4f70-8a57-df0928f4d7bc" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_de2b4df0-bf02-4641-bab2-698329cccfab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_de2b4df0-bf02-4641-bab2-698329cccfab" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ab3481f-7ac2-49da-ab49-28d06f13b427" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2f589f3b-4fbe-4980-b220-b182c83a5b7b" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ab3481f-7ac2-49da-ab49-28d06f13b427" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e44fdf95-6e14-45e9-b17c-8eb69dbd6ff7" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ab3481f-7ac2-49da-ab49-28d06f13b427" xlink:to="loc_srt_RangeAxis_e44fdf95-6e14-45e9-b17c-8eb69dbd6ff7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e44fdf95-6e14-45e9-b17c-8eb69dbd6ff7_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e44fdf95-6e14-45e9-b17c-8eb69dbd6ff7" xlink:to="loc_srt_RangeMember_e44fdf95-6e14-45e9-b17c-8eb69dbd6ff7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_50807fc3-c939-4f99-929d-8a23b7eb49bc" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e44fdf95-6e14-45e9-b17c-8eb69dbd6ff7" xlink:to="loc_srt_RangeMember_50807fc3-c939-4f99-929d-8a23b7eb49bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_45174a40-bbbe-4dbb-9897-339305c42069" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_50807fc3-c939-4f99-929d-8a23b7eb49bc" xlink:to="loc_srt_MinimumMember_45174a40-bbbe-4dbb-9897-339305c42069" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_c39dcfc2-06fc-4f10-b4c2-0194ec751448" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_50807fc3-c939-4f99-929d-8a23b7eb49bc" xlink:to="loc_srt_MaximumMember_c39dcfc2-06fc-4f10-b4c2-0194ec751448" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_b90559af-be2f-495e-8a81-b7bbb6fa3cb5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ab3481f-7ac2-49da-ab49-28d06f13b427" xlink:to="loc_us-gaap_VestingAxis_b90559af-be2f-495e-8a81-b7bbb6fa3cb5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_b90559af-be2f-495e-8a81-b7bbb6fa3cb5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_b90559af-be2f-495e-8a81-b7bbb6fa3cb5" xlink:to="loc_us-gaap_VestingDomain_b90559af-be2f-495e-8a81-b7bbb6fa3cb5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_be7f14c0-2864-4bf3-9d95-f94e275d59fe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_b90559af-be2f-495e-8a81-b7bbb6fa3cb5" xlink:to="loc_us-gaap_VestingDomain_be7f14c0-2864-4bf3-9d95-f94e275d59fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_OfficersAndKeyManagementEmployeesMember_02fa4639-9f01-4b2d-82b1-ddcb428658a9" xlink:href="ame-20230331.xsd#ame_OfficersAndKeyManagementEmployeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_be7f14c0-2864-4bf3-9d95-f94e275d59fe" xlink:to="loc_ame_OfficersAndKeyManagementEmployeesMember_02fa4639-9f01-4b2d-82b1-ddcb428658a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_681534e5-cf9f-47e2-96be-ede98f428f28" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ab3481f-7ac2-49da-ab49-28d06f13b427" xlink:to="loc_us-gaap_AwardTypeAxis_681534e5-cf9f-47e2-96be-ede98f428f28" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_681534e5-cf9f-47e2-96be-ede98f428f28_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_681534e5-cf9f-47e2-96be-ede98f428f28" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_681534e5-cf9f-47e2-96be-ede98f428f28_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0b36f0dc-6fc1-43db-9573-aee0f2e34c01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_681534e5-cf9f-47e2-96be-ede98f428f28" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0b36f0dc-6fc1-43db-9573-aee0f2e34c01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_NonVestedStockOptionsMember_520c5cc3-8779-4e3a-b2c1-8b9a67ffcd6d" xlink:href="ame-20230331.xsd#ame_NonVestedStockOptionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0b36f0dc-6fc1-43db-9573-aee0f2e34c01" xlink:to="loc_ame_NonVestedStockOptionsMember_520c5cc3-8779-4e3a-b2c1-8b9a67ffcd6d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_9acf8c82-0744-41ac-bb8e-280b3d92f09b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0b36f0dc-6fc1-43db-9573-aee0f2e34c01" xlink:to="loc_us-gaap_RestrictedStockMember_9acf8c82-0744-41ac-bb8e-280b3d92f09b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_PerformanceRestrictedStockUnitsMember_b7d040bc-042a-471d-9b78-a39482a034af" xlink:href="ame-20230331.xsd#ame_PerformanceRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0b36f0dc-6fc1-43db-9573-aee0f2e34c01" xlink:to="loc_ame_PerformanceRestrictedStockUnitsMember_b7d040bc-042a-471d-9b78-a39482a034af" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/ShareBasedCompensationSummaryofNonvestedRestrictedStockActivityandRelatedInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#ShareBasedCompensationSummaryofNonvestedRestrictedStockActivityandRelatedInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/ShareBasedCompensationSummaryofNonvestedRestrictedStockActivityandRelatedInformationDetail" xlink:type="extended" id="ie6ed442003af41249b95c34f7cbccf15_ShareBasedCompensationSummaryofNonvestedRestrictedStockActivityandRelatedInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_86eaea96-fcf6-4d76-840d-364932b350f1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_86eaea96-fcf6-4d76-840d-364932b350f1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_f2dd8c03-8f4b-4006-ac05-692b9baf6835" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_f2dd8c03-8f4b-4006-ac05-692b9baf6835" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_d4acfec0-1300-4b14-927c-b93fdfa4eb30" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_d4acfec0-1300-4b14-927c-b93fdfa4eb30" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChange_40b485ef-300a-485e-8612-147fa71b2069" xlink:href="ame-20230331.xsd#ame_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChange"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:to="loc_ame_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChange_40b485ef-300a-485e-8612-147fa71b2069" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_f588c217-88c3-4427-948f-444342c9d6a6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_f588c217-88c3-4427-948f-444342c9d6a6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_ccc460b9-7330-4b42-8ecb-8f9f91a2852c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_694a014a-39cf-40f5-acf3-45ce69d6d6bf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_ccc460b9-7330-4b42-8ecb-8f9f91a2852c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2624cef9-6684-4ec9-9da0-3ca7ac2c3687" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_86eaea96-fcf6-4d76-840d-364932b350f1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_83135f76-f461-4369-868c-f3a23e22e6b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_83135f76-f461-4369-868c-f3a23e22e6b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_eea5d172-c564-4443-9369-4ff358eb7b0c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_eea5d172-c564-4443-9369-4ff358eb7b0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChangeWeightedAverageGrantDateFairValue_93e9130d-b28a-4bed-bfdc-2be70779386f" xlink:href="ame-20230331.xsd#ame_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChangeWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:to="loc_ame_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChangeWeightedAverageGrantDateFairValue_93e9130d-b28a-4bed-bfdc-2be70779386f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_50acb355-2d21-49fc-a7ec-dec28523d319" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_50acb355-2d21-49fc-a7ec-dec28523d319" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_dc45aee7-b2b7-4068-a75a-96cf175c024b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_ff20be0f-ce8e-4fdf-ad63-63e4a5fcd06b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_dc45aee7-b2b7-4068-a75a-96cf175c024b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_770ca63b-1e7e-4235-9800-02a9fe175f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4cf7c42c-508d-43df-9902-435bdceee66f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_86eaea96-fcf6-4d76-840d-364932b350f1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4cf7c42c-508d-43df-9902-435bdceee66f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_d4237382-3896-4d41-8cf5-2b465e65a2ce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4cf7c42c-508d-43df-9902-435bdceee66f" xlink:to="loc_us-gaap_AwardTypeAxis_d4237382-3896-4d41-8cf5-2b465e65a2ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d4237382-3896-4d41-8cf5-2b465e65a2ce_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_d4237382-3896-4d41-8cf5-2b465e65a2ce" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d4237382-3896-4d41-8cf5-2b465e65a2ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_602a5151-a876-43e5-99e5-efb036e9d6da" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_d4237382-3896-4d41-8cf5-2b465e65a2ce" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_602a5151-a876-43e5-99e5-efb036e9d6da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_1536a26f-45e8-4384-bc35-b3bca920ee3d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_602a5151-a876-43e5-99e5-efb036e9d6da" xlink:to="loc_us-gaap_RestrictedStockMember_1536a26f-45e8-4384-bc35-b3bca920ee3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_PerformanceRestrictedStockUnitsMember_ce804745-066c-43b0-8944-612de9f34e2f" xlink:href="ame-20230331.xsd#ame_PerformanceRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_602a5151-a876-43e5-99e5-efb036e9d6da" xlink:to="loc_ame_PerformanceRestrictedStockUnitsMember_ce804745-066c-43b0-8944-612de9f34e2f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.amtexinc.com/role/ContingenciesAdditionalInformationDetail" xlink:type="simple" xlink:href="ame-20230331.xsd#ContingenciesAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.amtexinc.com/role/ContingenciesAdditionalInformationDetail" xlink:type="extended" id="ibf430e5ff7d748dd88e1cba35e291318_ContingenciesAdditionalInformationDetail">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SiteContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsNamedPotentiallyResponsibleParty_26c2a219-e636-4c34-a6e2-29fa3f85a0d6" xlink:href="ame-20230331.xsd#ame_LossContingencyNumberOfNonOwnedSitesCompanyIsNamedPotentiallyResponsibleParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsNamedPotentiallyResponsibleParty_26c2a219-e636-4c34-a6e2-29fa3f85a0d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsIdentifiedAsDeMinimisParty_c8325c30-84f1-468f-932e-920966137055" xlink:href="ame-20230331.xsd#ame_LossContingencyNumberOfNonOwnedSitesCompanyIsIdentifiedAsDeMinimisParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsIdentifiedAsDeMinimisParty_c8325c30-84f1-468f-932e-920966137055" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsInAgreementOnAmountOfDeMinimisSettlement_1f1da987-06b8-4781-a9bb-da840463ec7a" xlink:href="ame-20230331.xsd#ame_LossContingencyNumberOfNonOwnedSitesCompanyIsInAgreementOnAmountOfDeMinimisSettlement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsInAgreementOnAmountOfDeMinimisSettlement_1f1da987-06b8-4781-a9bb-da840463ec7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsContinuingToInvestigate_623fe1da-b2c3-4b2b-9724-e10b67591071" xlink:href="ame-20230331.xsd#ame_LossContingencyNumberOfNonOwnedSitesCompanyIsContinuingToInvestigate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_ame_LossContingencyNumberOfNonOwnedSitesCompanyIsContinuingToInvestigate_623fe1da-b2c3-4b2b-9724-e10b67591071" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccrualForEnvironmentalLossContingencies_d4d84b7c-348c-4759-9c75-0ce34c3a4732" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccrualForEnvironmentalLossContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_us-gaap_AccrualForEnvironmentalLossContingencies_d4d84b7c-348c-4759-9c75-0ce34c3a4732" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnvironmentalRemediationExpense_373d0500-1167-463d-8995-9ec102c2e99c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EnvironmentalRemediationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_us-gaap_EnvironmentalRemediationExpense_373d0500-1167-463d-8995-9ec102c2e99c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForEnvironmentalLiabilities_dacc15f7-3b16-4ba4-9c7f-cc39f2104699" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForEnvironmentalLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_us-gaap_PaymentsForEnvironmentalLiabilities_dacc15f7-3b16-4ba4-9c7f-cc39f2104699" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SiteContingencyTable_2af57949-c476-43c0-b4e8-722c30f266a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SiteContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SiteContingencyLineItems_1e8205e1-2ea7-4f0b-9d6f-77e3497b97f2" xlink:to="loc_us-gaap_SiteContingencyTable_2af57949-c476-43c0-b4e8-722c30f266a9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnvironmentalRemediationSiteAxis_5e82cbac-c660-4f27-ada4-ffd90131d65d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EnvironmentalRemediationSiteAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SiteContingencyTable_2af57949-c476-43c0-b4e8-722c30f266a9" xlink:to="loc_us-gaap_EnvironmentalRemediationSiteAxis_5e82cbac-c660-4f27-ada4-ffd90131d65d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnvironmentalRemediationSiteDomain_5e82cbac-c660-4f27-ada4-ffd90131d65d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EnvironmentalRemediationSiteDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EnvironmentalRemediationSiteAxis_5e82cbac-c660-4f27-ada4-ffd90131d65d" xlink:to="loc_us-gaap_EnvironmentalRemediationSiteDomain_5e82cbac-c660-4f27-ada4-ffd90131d65d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnvironmentalRemediationSiteDomain_b8512499-6b4c-4393-a2c3-1d5cef504b31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EnvironmentalRemediationSiteDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EnvironmentalRemediationSiteAxis_5e82cbac-c660-4f27-ada4-ffd90131d65d" xlink:to="loc_us-gaap_EnvironmentalRemediationSiteDomain_b8512499-6b4c-4393-a2c3-1d5cef504b31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ame_HccMember_632eeb30-9e60-4828-b455-06a5451bc8e3" xlink:href="ame-20230331.xsd#ame_HccMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EnvironmentalRemediationSiteDomain_b8512499-6b4c-4393-a2c3-1d5cef504b31" xlink:to="loc_ame_HccMember_632eeb30-9e60-4828-b455-06a5451bc8e3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
