DCarpenter Posted March 20 Share Posted March 20 I use the $INCLUDE command on many of my scripts, and it works just fine. I'm involved with changing this current script from a point object to a linear object and in doing so I'm simple copying and pasting the code from object to another, but in doing that I've generated a script error on my $INCLUDE line and I'm not sure why. I've tried rewriting it, closing it/reopening it, closing/opening VW, but nothing seems to be working. It works fine in the original script, but not this one. Thoughts? Dave Quote Link to comment
Pat Stanford Posted March 20 Share Posted March 20 Does Symn.px exist in the same location (folder) as the current VW file you are working on? Since you have not specified any path for the file it must be stored at the same location as the VW file. Quote Link to comment
DCarpenter Posted March 20 Author Share Posted March 20 You nailed it!!! All my scripts and include files are in a folder within the Plug-ins folder ( Plug-ins/Myscripts/... ), but when I created a new linear object, it (by default) places the new script in the Plug-ins folder which is why it couldn't find the include file. So I placed the new linear object script inside my 'Myscripts' folder and my script compiled correctly. I think, in my head, I thought it would look within everything within the Plug-ins folder for the include file, but apparently not. Big thank you once again. Dave Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.