# Possible To Modify .mb Files?

**URL:** https://forum.highend3d.com/t/possible-to-modify-mb-files/2537
**Category:** Maya
**Tags:** mel
**Created:** [January 15, 2007, 9:08am UTC](https://forum.highend3d.com/t/possible-to-modify-mb-files/2537 "2007-01-15T09:08:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sumo-kun](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/c0e974/32.png) [@sumo-kun](https://forum.highend3d.com/u/sumo-kun)
#### Post date: [January 15, 2007, 9:08am UTC](https://forum.highend3d.com/t/possible-to-modify-mb-files/2537/1 "2007-01-15T09:08:37Z")

</div>

Hi, I have created a little program and I would like to save its data along with the scene data in the scene's .mb file. Is it possible to actually just attach a block of data at the end or something similar using MEL? If so, how do I go about doing it? I'd like to avoid any API work if possible.  
Thanks!

---

<div class="post-metadata">

### Author: ![jamespiechota](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/ce73a5/32.png) [@jamespiechota](https://forum.highend3d.com/u/jamespiechota)
#### Post date: [January 15, 2007, 10:35am UTC](https://forum.highend3d.com/t/possible-to-modify-mb-files/2537/2 "2007-01-15T10:35:53Z")

</div>

Depending on the type of data your best bet may be to add dynamic attributes to a node, and store the data there.

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [January 15, 2007, 11:00am UTC](https://forum.highend3d.com/t/possible-to-modify-mb-files/2537/3 "2007-01-15T11:00:07Z")

</div>

Or you can use fileinfo and or scriptnodes

---

<div class="post-metadata">

### Author: ![sumo-kun](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/c0e974/32.png) [@sumo-kun](https://forum.highend3d.com/u/sumo-kun)
#### Post date: [January 16, 2007, 3:11am UTC](https://forum.highend3d.com/t/possible-to-modify-mb-files/2537/4 "2007-01-16T03:11:33Z")

</div>

Thanks for the replies!  
Yes, I think that fileInfo might do the job!  
Thanks! I'll try it out!
