Assembly Posted August 25, 2010 Share Posted August 25, 2010 Can some one outline how you get points from a 3D path object?. Thanks Quote Link to comment
maarten. Posted August 25, 2010 Share Posted August 25, 2010 With GetPolyPt3D. Do a search on this board for more info. Quote Link to comment
Assembly Posted August 25, 2010 Author Share Posted August 25, 2010 yep I did have a look. This was the closest I got. Obviously a 3D path PIO creates a nurb path, but how do you implement getting a handle to it?. http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=142047&Searchpage=2&Main=29092&Words=3D+path&Search=true#Post142047 Quote Link to comment
maarten. Posted August 25, 2010 Share Posted August 25, 2010 PROCEDURE Voorbeeld; VAR pathHd,PioPathHd,PioHd,PiorecHd,PiowHd : HANDLE; PioName : STRING; BEGIN IF GetCustomObjectInfo(PioName,PioHd,PiorecHd,PiowHd) THEN BEGIN {get the handle to the path} PioPathHd:=GetCustomObjectPath(PioHd); {to make it visible, duplicate it} PathHd:=CreateDuplicateObject(PioPathHd,NIL); {now that you have the handle to the drawn poly, give it an other color (for example)} SetPenFore(PathHd,65535,0,0); END; END; RUN(Voorbeeld); Quote Link to comment
Assembly Posted August 25, 2010 Author Share Posted August 25, 2010 Thank you!. 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.