On Wed, Dec 3, 2008 at 5:10 PM, GSR <span dir="ltr"><<a href="mailto:gsr.b3d@infernal-iceberg.com">gsr.b3d@infernal-iceberg.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a> (2008-12-03 at 1451.33 +1100):<br>
<div class="Ih2E3d">> Could identifier names starting with numbers be forbidden with RNA?,<br>
> this is messing up python which cant do<br>
> bpy.curves['MyCurve'].3d = True<br>
><br>
> (using setattr works but is ugly syntax)<br>
<br>
</div>Instead of making it special and as per<br>
<a href="http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Naming_Conventions" target="_blank">http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Naming_Conventions</a><br>
"Don't shorten names unnecessarily." use three_d instead of 3d (and<br>
this example can be used to add the rule that identifiers must start<br>
with lower case, for compability).</blockquote><div>Ewwww.... I'd rather go with Campbell's suggestion than use something as vulgar as this.<br> </div></div><br>