Valent Posted April 4, 2020 Share Posted April 4, 2020 (edited) Hi, can I somehow get the type of a primitive? I need to separate "polylines" from "polys". Edited April 4, 2020 by Valent Quote Link to comment Share on other sites More sharing options...
fsimerey Posted April 4, 2020 Share Posted April 4, 2020 (edited) The difference of a polyline and a polygon is the attribute 'intrinsic:closed'. You can get this with: prim(0, "intrinsic:closed", @primnum) or in group with: @intrinsic:closed==1 Edited April 4, 2020 by fsimerey 1 Quote Link to comment Share on other sites More sharing options...
Valent Posted April 4, 2020 Author Share Posted April 4, 2020 @fsimerey, thanks! Quote Link to comment Share on other sites More sharing options...
fsimerey Posted April 4, 2020 Share Posted April 4, 2020 You're welcome Quote Link to comment Share on other sites More sharing options...
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.