# Nodes To Keep Info

**URL:** https://forum.highend3d.com/t/nodes-to-keep-info/3219
**Category:** Maya
**Tags:** mel
**Created:** [March 21, 2006, 2:38pm UTC](https://forum.highend3d.com/t/nodes-to-keep-info/3219 "2006-03-21T14:38:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [March 21, 2006, 2:38pm UTC](https://forum.highend3d.com/t/nodes-to-keep-info/3219/1 "2006-03-21T14:38:06Z")

</div>

Hi

I have some nodes in ma scene that keep info (shot info, asset info ...). Until now i always used empty transform nodes, but "Optimize Scene Size" throws them away. I also would like the nodes to be invisible in outliner in 'DAG only" mode, so they don't get deleted by accident. What kind of nodes do you recomend ? Maybe i could connect those nodes to some default maya node (ie. renderSettingsNode) so that maya keeps it when cleaning scene...  
thx, michal

---

<div class="post-metadata">

### Author: ![kurianos3d](https://forum.highend3d.com/user_avatar/forum.highend3d.com/kurianos3d/32/55947_2.png) [@kurianos3d](https://forum.highend3d.com/u/kurianos3d)
#### Post date: [March 21, 2006, 3:02pm UTC](https://forum.highend3d.com/t/nodes-to-keep-info/3219/2 "2006-03-21T15:02:14Z")

</div>

Hi

Yes you can use scriptNode;

CODE  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scriptNode -st 2 -bs "shot info" -n "shot\_info";  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addAttr -ln comments -dt "string" shot\_info;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addAttr -ln stat -dt "string"&nbsp;&nbsp;shot\_info;

scriptNode will be safe

regds

o.S.k

---

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [March 21, 2006, 5:41pm UTC](https://forum.highend3d.com/t/nodes-to-keep-info/3219/3 "2006-03-21T17:41:51Z")

</div>

thx kurianos3d !  
scriptNode seems like good candidate
