blimey Posted January 13, 2006 Share Posted January 13, 2006 i've done a worsheet that list all the polygon, polylines and rectangle of a drawing, i'd like to add a column that would list next to each poly whether it is closed or not. Is there a simple criteria to enter? Quote Link to comment
Yotarou Posted January 14, 2006 Share Posted January 14, 2006 Hi, Please see "VWPluginLibraryRoutines.p" in "Plug-ins" folder. There must be "IsPolyClosed" there. Function "IsPolyClosed" can be used in your script when existing. Quote Link to comment
blimey Posted January 14, 2006 Author Share Posted January 14, 2006 Hi, Alas I haven't seen any "VWPluginLibraryRoutines.p" ins my "Plug-ins" folder. I've run a research on the entire VW folder. It doesn't appear. I have VW12. Is it likely that the function has been suppressed? Is there a way to add it? Many Thanks Quote Link to comment
blimey Posted January 14, 2006 Author Share Posted January 14, 2006 Hi, I've found the file in VW11.5 folder. I copied it in VW12, but it does not work. Is there something I should do to have it compiled? Is this possible? Quote Link to comment
Yotarou Posted January 14, 2006 Share Posted January 14, 2006 It's impossible. However, the "Closed" function can be made. function Closed(hPoly: handle): boolean; var fPat:integer; begin fPat:= GetFPat(hPoly); SetFPat(hPoly, 0); if HArea(hPoly) = 0 then Closed:= false else Closed:= true; SetFPat(hPoly, fPat); end; {Closed} In most cases, this is faster than the "IsPolyClosed" function. Quote Link to comment
arthur&l?on Posted March 26, 2006 Share Posted March 26, 2006 Hi Imt ... how about a clue to get VW 12 in Belgium now ? Thx. 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.