Jump to content
Developer Wiki and Function Reference Links ×

Rotate Points Grid


Recommended Posts

I wrote a script that creates a grid of rectangles (to be a column grid) based on points a set distance away from each other within a polyline boundary. How can I rotate the grid so that rather than the rectangles being rotated relative to the world XY, the GRID is rotated to align with the polyline (i.e., the grid's rotation is the same as the polyline, so the rectangles are rotated 0deg relative to the polyline). Part 1 is the script as it stands and Part 2 is the script when it's run.

Part 1.JPG

Part 2.JPG

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...