[{"data":1,"prerenderedAt":230},["ShallowReactive",2],{"/resource-manager":3,"/resource-manager-surround":219},{"id":4,"title":5,"body":6,"description":186,"extension":187,"meta":188,"navigation":207,"path":216,"seo":217,"stem":12,"__hash__":218},"content/resource-manager.md","Resource Manager",{"type":7,"value":8,"toc":169},"minimark",[9,21,31,35,46,49,58,68,71,80,83,92,95,104,107,116,119,128,141,150],[10,11,15],"h1",{"id":12,"className":13},"resource-manager",[14],"section-heading",[16,17,5],"a",{"className":18,"href":20},[19],"section-anchor","#resource-manager",[22,23,26],"h2",{"id":24,"className":25},"overview",[14],[16,27,30],{"className":28,"href":29},[19],"#overview","Overview",[32,33,34],"p",{},"The Resource Manager dialog, shown below, allows you to manipulate the resources\nthat are bundled with a model.",[32,36,37],{},[38,39],"img",{"alt":40,"src":41,"width":42,"height":43,"style":44},"Resource Manager dialog","/_content/images/resource-manager/dialog.png",466,511,{"aspectRatio":45},"466/511",[32,47,48],{},"You can store any file type in a model using the Resource Manager. Although each\nresource’s original file extension is not included in its name, the Resource\nManager will remember the extension for other users’ reference.",[22,50,53],{"id":51,"className":52},"usage",[14],[16,54,57],{"className":55,"href":56},[19],"#usage","Usage",[59,60,63],"h3",{"id":61,"className":62},"add",[14],[16,64,67],{"className":65,"href":66},[19],"#add","Add",[32,69,70],{},"This button opens a system file selection dialog where you can choose a file to\nbundle with the model. After accepting the dialog, you will be prompted to enter\na name for the resource (without a file extension). You can choose whatever name\nyou would like, although no two resources can have the same name, regardless of\ntheir original file extensions.",[59,72,75],{"id":73,"className":74},"export",[14],[16,76,79],{"className":77,"href":78},[19],"#export","Export",[32,81,82],{},"Sometimes you might want to get a closer look at a resource bundled with a\nmodel, or save it for your personal use. After selecting a resource from the\nlist, the Export button will become enabled, and clicking it will open a system\nfile selection dialog where you can choose a path for the exported file.\nExporting a resource does not remove it from the model.",[59,84,87],{"id":85,"className":86},"rename",[14],[16,88,91],{"className":89,"href":90},[19],"#rename","Rename",[32,93,94],{},"After selecting a resource from the list, the Rename button will become enabled,\nand clicking it will open a dialog where you can choose a new name for the\nresource. The operation will not be completed if you choose a name that already\nexists in the list.",[59,96,99],{"id":97,"className":98},"remove",[14],[16,100,103],{"className":101,"href":102},[19],"#remove","Remove",[32,105,106],{},"After selecting a resource from the list, the Remove button will become enabled,\nand clicking it will remove the selected resource from the model.",[22,108,111],{"id":109,"className":110},"file-types",[14],[16,112,115],{"className":113,"href":114},[19],"#file-types","File Types",[32,117,118],{},"As mentioned above, any file type can be stored in a model. However, most file\ntypes do not have an obvious use case in NetLogo. Listed below are the most\ncommon use cases for bundled resources.",[59,120,123],{"id":121,"className":122},"plain-text",[14],[16,124,127],{"className":125,"href":126},[19],"#plain-text","Plain Text",[32,129,130,131,135,136,140],{},"Bundling plain text files with a model is the simplest use case, and can be\nuseful for storing large strings of text that would otherwise clutter up the\nCode tab. Plain text files can be accessed with the ",[132,133,134],"code",{},"resource:get"," primitive\n(See ",[16,137,139],{"href":138},"/resource","Resource Extension",").",[59,142,145],{"id":143,"className":144},"images",[14],[16,146,149],{"className":147,"href":148},[19],"#images","Images",[32,151,152,153,159,160,164,165,140],{},"Bundling images with a model is one of the most common use cases. One way to use\na bundled image is to load it into the View, which can be done using either the\n",[16,154,158],{"href":155,"rel":156},"https://github.com/NetLogo/ImportA-Extension",[157],"nofollow","Import-A Extension"," or the\n",[16,161,163],{"href":162},"/bitmap","Bitmap Extension",". Another way to use a bundled image is to\ndisplay it in the Info tab, which can be done using either Markdown or HTML (See\n",[16,166,168],{"href":167},"/infotab","Info Tab",{"title":170,"searchDepth":171,"depth":172,"links":173},"",5,3,[174,176,182],{"id":24,"depth":175,"text":30},2,{"id":51,"depth":175,"text":57,"children":177},[178,179,180,181],{"id":61,"depth":172,"text":67},{"id":73,"depth":172,"text":79},{"id":85,"depth":172,"text":91},{"id":97,"depth":172,"text":103},{"id":109,"depth":175,"text":115,"children":183},[184,185],{"id":121,"depth":172,"text":127},{"id":143,"depth":172,"text":149},"Guide to managing resources and files in NetLogo models, including importing and organizing external files and data.","md",{"source":189,"metadataOutputPath":190,"projectConfig":191,"language":199,"inheritFrom":208,"output":207,"version":192,"keywords":209,"tags":213,"icon":214,"assetsRoot":215},"autogen/resource-manager.md","content/resource-manager.metadata.yaml",{"version":192,"projectRoot":193,"scanRoot":194,"outputRoot":195,"defaults":196,"engine":202,"partials":203,"dedupeIdenticalDiskWrites":207},"7.0.4",".","autogen","content",{"inheritFrom":197,"language":199,"output":200,"extension":187,"title":201,"version":192},[198],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":204,"extensions":205},[193],[206,187],"mustache",true,[198],[5,210,211,212],"File Management","Resources","NetLogo",[5,210,211],"i-hugeicons-resources-add","/home/runner/work/Helio/Helio/apps/docs/autogen","/resource-manager",{"title":5,"description":186},"_J_7lf2nWZ2YcO8ZDG7XJjNUy7XLT33s2dTR2xBaJFc",[220,225],{"title":221,"path":222,"stem":223,"description":224},"Resource Extension Dictionary: list","/resource/list","resource/list","Documentation for the list primitive.",{"title":226,"path":227,"stem":228,"description":229},"Rnd Extension","/rnd","rnd","Documentation for the Rnd extension.",1777657793231]