Lauren Nayman Posted May 8, 2018 Share Posted May 8, 2018 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. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted May 9, 2018 Vectorworks, Inc Employee Share Posted May 9, 2018 This may not be the most elegant solution, but I would rotate the poly to be orthogonal, create the grid, then rotate it back. Here is an example. Forum question.vwx 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.