Strange Random Compile Error

Strange Random Compile Error

Anonymous
Not applicable
357 Views
3 Replies
Message 1 of 4

Strange Random Compile Error

Anonymous
Not applicable

This is code that has worked for a very long time but recently started giving me fits. The error is always a compile error and always pointing to something very basic as shown. Anyone else seeing this under similar system conditions?

 

Inventor 2010 Pro 64bit - SP3
Vault Manufacturing 2010 Admin
Windows 7 Pro 64bit (fully updated as of 5-13-11)
Quad Core processor 2.26 Ghz
16 GB DDR3 RAM
1.5 GB Nvidia Quadro FX 4800
2 – 320 GB SATA drives

It's hanging up on ".DocumentType" which to seems to point to a lost connection somewhere as opposed to a problem with the code itself but I've attached the entire module for your viewing pleasure.

 

 

Let me know if you guys find anything wrong, thanks!

 

Eric

0 Likes
358 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

This is a repost of a previous thread - http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Random-Compile-Error/td-p/2957970

 

Sorry for that, I'd forgotten that I'd already asked, been traveling... the previous thread does not solve the issue however. I'm running this code lcoally

0 Likes
Message 3 of 4

Anonymous
Not applicable

Even more strange...

 

I deleted the entire moduel and regenerated it from the text file and it now works... go figure, guess that's why it's called random.

0 Likes
Message 4 of 4

Anonymous
Not applicable

I think it is better when we use "(" and ")" for the complex structure.

Sometimes, my code has faults and I cannot control just because something simple as upper.

Hope this can help you!

0 Likes