tom kyler_dup1 Posted October 6, 2004 Share Posted October 6, 2004 Something I'm experiencing that maybe I'm missing. I'm pretty confident in my scripting abilities, and I have a script (see "need challenge" thread) that seemed to work fine. When I import this script into a existing document, it starting doing funny things, in particular, giving me funny coordinates for a 3D vertex. So I created another simple script in this document that simply reads the x,y,& z values of a vertex in a 3D polygon and output that info in the message window. Well consistently, the X value is off by 64.99 units...it doesn't match up with any of the vertex coordinates in the OIP. I'm not sure where this number is coming from. If you import the script into a new document, draw a 3D polygon and run the script, it works fine. I suspect maybe a corrupted file, any other thoughts. Quote Link to comment
tom kyler_dup1 Posted October 7, 2004 Author Share Posted October 7, 2004 Thanks Kev, unfortunately that didn't do the trick, I'm beyond trying to figure it out. I selected all, cut and pasted everything to a new document and the script worked fine. Just shrugged my shoulders and moved on. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted October 8, 2004 Vectorworks, Inc Employee Share Posted October 8, 2004 It sounds like the user origin has been moved. Try setting the user origin back and see if you get the results you expect. 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.