Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / Error on open "unknown property: "pos" in undefined"
  RSS 2.0 ATOM  

Error on open "unknown property: "pos" in undefined"
Rate this thread
 
63824
 
Permlink of this thread  
avatar
  • h3d
  • Posted: 24 January 2012 05:37 AM
  • Total Posts: 5
  • Joined: 16 April 2008 08:27 PM

Greetings all

I am having a bit of an issue with, is what I think, a deleted object that had some script written in it.  I imported arigged camera set from here:

http://www.scriptspot.com/3ds-max/scripts/rp-camerarig

I didnt end up using it and deleted it.  Howerver there is something left in the scene that I can not seem to grab and it is giving me the error listed in the subject line each time I open the file. 

I tried re-importing the camera rig to see if that reset anything.  No luck.  Then I deleted that whole rig and got a new set of errors.  Ahhhhh! 

Any help would be much appreciated.

Thank you for your time!
-Greg



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Try merging all the objects into a new scene. If that doesn’t work, try deleting everything from the scene and saving it as a different file. If that doesn’t work, zip the empty scene you just created and post it here so we can take a look.

I suspect that you have some persistent callbacks (event scripts) which are referencing non-existent objects - hence the errors.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 1
/userdata/avatar/avatar_228923.jpg

Steve-
Thanks for the fast response.  I already tried merging the file into a new one, no luck.

I am not sure I follow how deleting everything from the scene and then saving an empty scene will work.  Am I missing a step on that one?

Again, thanks for the help!
-G

Author: h3d

Replied: 24 January 2012 08:06 AM  
avatar

Don’t merge EVERYTHING, that will bring the bad stuff in too. instead just bring the things you need. If that doesnt work, do them one at a time or in groups of items untill you find the bad item.



3ds Max 9 thru 2013
Windows 7 Enterprise 64-bit OS SP1
Dual Intel® Xeon® 6 core X5650 @ 2.67GHz CPU 36GB RAM
NVIDIA Quadro 4000
450GB HDD (x3) and 2TB HDD

3ds Max 2012 Certified Professional Models to Motion

Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

The idea of saving an apparently empty scene is to determine if the cause is a script tied to the whole scene, or an object with a script trying to reference a different (missing) object.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 0
avatar
  • h3d
  • Posted: 24 January 2012 12:58 PM

Ah, that makes sense.  I have deleted everything in the scene, saved it, reopened it and still received the script error.

I have attached the zip file.  Is this something you can take a look at to tell me if I can delete the non-existent geometry?



Attachment Attachment
Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Layer “[CAM]_Camera” - remove its contents and you’ll get rid of the script error. Not sure which of them has it - you’ll have to work that bit out yourself ;)



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 2
/userdata/avatar/avatar_228923.jpg

Genious!  Deleting the layer worked perfectly!  Thank you so much.  If you have time to explain, how did you know that was the layer that was the problem?

Author: h3d

Replied: 25 January 2012 07:09 AM  
/img/forum/dark/default_avatar.png

I never use layers. Any files I d/l from here I immediately unfreeze/unhide All and delete all empty layers (especially when the scene is supposed to be “empty").

If, after selecting all the the layers, the little red “X” (for delete selected empty layers) is disabled, then there’s something there that shouldn’t be.

Simplez ;)

Author: Steve_Curley

Replied: 25 January 2012 07:19 AM