{
  "Uuid": "36a92089-7541-4c77-bb2d-4e1826974123",
  "IsCustomNode": false,
  "Description": null,
  "Name": "FamilyReload_lgt",
  "ElementResolver": {
    "ResolutionMap": {}
  },
  "Inputs": [
    {
      "Id": "eb6ccdfde4c04ed299a898ae6710bfaa",
      "Name": "File Path",
      "Type": "string",
      "Value": "..\\..\\PRAIA\\familias\\CAMA DOBLE.rfa",
      "Description": "Allows you to select a file on the system to get its filename"
    },
    {
      "Id": "2ca2b7a4854f4b8f817194ba8de77e00",
      "Name": "File Path",
      "Type": "string",
      "Value": "..\\..\\PRAIA\\familias\\CAMA SENCILLA.rfa",
      "Description": "Allows you to select a file on the system to get its filename"
    },
    {
      "Id": "ef0851983ca14bc9a00a111175b782b5",
      "Name": "File Path",
      "Type": "string",
      "Value": "..\\..\\PRAIA\\familias\\Jacuzzi Noruega.rfa",
      "Description": "Allows you to select a file on the system to get its filename"
    }
  ],
  "Outputs": [],
  "Nodes": [
    {
      "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
      "NodeType": "PythonScriptNode",
      "Code": "# Load the Python Standard and DesignScript Libraries\r\nimport clr\r\n\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\nfrom Autodesk.Revit.DB.Architecture import*\r\nfrom Autodesk.Revit.DB.Structure import *\r\n\r\nclr.AddReference('RevitAPIUI')\r\nfrom Autodesk.Revit.UI import *\r\n\r\nclr.AddReference('System')\r\nfrom System.Collections.Generic import List\r\n\r\nclr.AddReference('RevitNodes')\r\nimport Revit\r\nclr.ImportExtensions(Revit.GeometryConversion)\r\nclr.ImportExtensions(Revit.Elements)\r\n\r\nclr.AddReference('RevitServices')\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\nclr.AddReference('ProtoGeometry')\r\nfrom Autodesk.DesignScript.Geometry import*\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nuidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument\r\n\r\n\r\n# The inputs to this node will be stored as a list in the IN variables.\r\nfamilyPath = IN[0]\r\n\r\n# class for overwriting loaded families in the project\r\nclass FamilyLoadOptions(IFamilyLoadOptions):\r\n    def __init__(self): pass\r\n    def OnFamilyFound(self,familyInUse, overwriteParameterValues): return True\r\n    def OnSharedFamilyFound(self,familyInUse, source, overwriteParameterValues): return True\r\n\r\nfamily = clr.Reference[Family]()\r\nfamilies = []\r\nsuccess = []\r\n\r\n# Place your code below this line\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nfor f in familyPath:\r\n\ts = doc.LoadFamily(f, FamilyLoadOptions(), family)\r\n\tsuccess.append(s)\r\n\tfamilies.append(family)\r\nTransactionManager.Instance.TransactionTaskDone()\r\n# Assign your output to the OUT variable.\r\nOUT = success, families",
      "VariableInputPorts": true,
      "Id": "b0e102db4a3641fdace82d5332638547",
      "Inputs": [
        {
          "Id": "411153ca43c543cfaf1a99a008dbbe3f",
          "Name": "IN[0]",
          "Description": "Input #0",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Outputs": [
        {
          "Id": "d19d32b344844c4887239612146d0104",
          "Name": "OUT",
          "Description": "Result of the python script",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Replication": "Disabled",
      "Description": "Runs an embedded IronPython script."
    },
    {
      "ConcreteType": "CoreNodeModels.Input.Filename, CoreNodeModels",
      "HintPath": "C:\\Users\\pecheverri\\Documents\\PRAIA\\familias\\CAMA DOBLE.rfa",
      "InputValue": "..\\..\\PRAIA\\familias\\CAMA DOBLE.rfa",
      "NodeType": "ExtensionNode",
      "Id": "eb6ccdfde4c04ed299a898ae6710bfaa",
      "Inputs": [],
      "Outputs": [
        {
          "Id": "9355d4a4479c4f7aaa9bbfe849e587fa",
          "Name": "",
          "Description": "Filename",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Replication": "Disabled",
      "Description": "Allows you to select a file on the system to get its filename"
    },
    {
      "ConcreteType": "CoreNodeModels.Input.Filename, CoreNodeModels",
      "HintPath": "C:\\Users\\pecheverri\\Documents\\PRAIA\\familias\\CAMA SENCILLA.rfa",
      "InputValue": "..\\..\\PRAIA\\familias\\CAMA SENCILLA.rfa",
      "NodeType": "ExtensionNode",
      "Id": "2ca2b7a4854f4b8f817194ba8de77e00",
      "Inputs": [],
      "Outputs": [
        {
          "Id": "481bc0f27598477ab8d8ad5adfedf138",
          "Name": "",
          "Description": "Filename",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Replication": "Disabled",
      "Description": "Allows you to select a file on the system to get its filename"
    },
    {
      "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels",
      "VariableInputPorts": true,
      "NodeType": "ExtensionNode",
      "Id": "96a54b8cddb64ab6b75e6705c9341b9e",
      "Inputs": [
        {
          "Id": "8d2bb6f5f5e54a97931d9018e475d029",
          "Name": "item0",
          "Description": "Item Index #0",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        },
        {
          "Id": "32d75d61205b4a13b7f228d2a137a66b",
          "Name": "item1",
          "Description": "Item Index #1",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        },
        {
          "Id": "4da0ff9302e5438787026576c7a69361",
          "Name": "item2",
          "Description": "Item Index #2",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Outputs": [
        {
          "Id": "c8222ee4180b4c728e5e12a54fb6665f",
          "Name": "list",
          "Description": "A list",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Replication": "Disabled",
      "Description": "Makes a new list out of the given inputs"
    },
    {
      "ConcreteType": "CoreNodeModels.Input.Filename, CoreNodeModels",
      "HintPath": "C:\\Users\\pecheverri\\Documents\\PRAIA\\familias\\Jacuzzi Noruega.rfa",
      "InputValue": "..\\..\\PRAIA\\familias\\Jacuzzi Noruega.rfa",
      "NodeType": "ExtensionNode",
      "Id": "ef0851983ca14bc9a00a111175b782b5",
      "Inputs": [],
      "Outputs": [
        {
          "Id": "52d7ec7407a944c19181f2fe6e7f264c",
          "Name": "",
          "Description": "Filename",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Replication": "Disabled",
      "Description": "Allows you to select a file on the system to get its filename"
    }
  ],
  "Connectors": [
    {
      "Start": "9355d4a4479c4f7aaa9bbfe849e587fa",
      "End": "8d2bb6f5f5e54a97931d9018e475d029",
      "Id": "548ece6435bf4f81a9a67fdff3fc71d6"
    },
    {
      "Start": "481bc0f27598477ab8d8ad5adfedf138",
      "End": "32d75d61205b4a13b7f228d2a137a66b",
      "Id": "0d11f20c17ad45a1b5b63a7b57c380b8"
    },
    {
      "Start": "c8222ee4180b4c728e5e12a54fb6665f",
      "End": "411153ca43c543cfaf1a99a008dbbe3f",
      "Id": "7f6bff69cd504625b09e3d0e2a8e781f"
    },
    {
      "Start": "52d7ec7407a944c19181f2fe6e7f264c",
      "End": "4da0ff9302e5438787026576c7a69361",
      "Id": "211a420ccb8d4daeb8faae88be6e94fa"
    }
  ],
  "Dependencies": [],
  "NodeLibraryDependencies": [],
  "Bindings": [],
  "View": {
    "Dynamo": {
      "ScaleFactor": 1.0,
      "HasRunWithoutCrash": true,
      "IsVisibleInDynamoLibrary": true,
      "Version": "2.3.2.15696",
      "RunType": "Manual",
      "RunPeriod": "1000"
    },
    "Camera": {
      "Name": "Background Preview",
      "EyeX": -17.0,
      "EyeY": 24.0,
      "EyeZ": 50.0,
      "LookX": 12.0,
      "LookY": -13.0,
      "LookZ": -58.0,
      "UpX": 0.0,
      "UpY": 1.0,
      "UpZ": 0.0
    },
    "NodeViews": [
      {
        "ShowGeometry": true,
        "Name": "FamilyLoad_Existent",
        "Id": "b0e102db4a3641fdace82d5332638547",
        "IsSetAsInput": false,
        "IsSetAsOutput": false,
        "Excluded": false,
        "X": 1736.743663196622,
        "Y": 2506.9599581553684
      },
      {
        "ShowGeometry": true,
        "Name": "File Path",
        "Id": "eb6ccdfde4c04ed299a898ae6710bfaa",
        "IsSetAsInput": true,
        "IsSetAsOutput": false,
        "Excluded": false,
        "X": 1044.5490926948023,
        "Y": 2452.3930420112151
      },
      {
        "ShowGeometry": true,
        "Name": "File Path",
        "Id": "2ca2b7a4854f4b8f817194ba8de77e00",
        "IsSetAsInput": true,
        "IsSetAsOutput": false,
        "Excluded": false,
        "X": 1039.2890928431541,
        "Y": 2552.0961898771729
      },
      {
        "ShowGeometry": true,
        "Name": "List Create",
        "Id": "96a54b8cddb64ab6b75e6705c9341b9e",
        "IsSetAsInput": false,
        "IsSetAsOutput": false,
        "Excluded": false,
        "X": 1419.5528136080989,
        "Y": 2481.5101661072258
      },
      {
        "ShowGeometry": true,
        "Name": "File Path",
        "Id": "ef0851983ca14bc9a00a111175b782b5",
        "IsSetAsInput": true,
        "IsSetAsOutput": false,
        "Excluded": false,
        "X": 1037.67439245645,
        "Y": 2655.907231462093
      }
    ],
    "Annotations": [],
    "X": -536.29346484909593,
    "Y": -1565.1672834535871,
    "Zoom": 0.65618746606287048
  }
}