Jump to content
Developer Wiki and Function Reference Links ×

Crazy Script Behavior


Recommended Posts

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...