Notifications
Clear all
[Closed] Maxscript draw custom outline in viewport
Sep 29, 2018 9:18 pm
Hi
Is there a way to draw custom outline in the viewport (like the preview / selection outline) using maxscript ?
3 Replies
Sep 29, 2018 9:18 pm
Thanks for the answer, I’ve manage to do it using the gw.Polyline
function.
Two questions though:
- Is it possible to draw in a viewport that is not active ? (even though the maxscript help specificaly indicate that these method only work for the active viewport) (I feel like I’m answering myself, but you never know )
- Is it possible to set the “size” of the line, meaning that right now, the line looks thin compare to the preview / selection outline ?
Sep 29, 2018 9:18 pm
The size of the lines can’t be changed using maxscript. I don’t know if c++ will help also.
To see the outlines in non active viewport – draw them using other methods. For example use splines to “draw” the outlines(and you can change the size of the splines).