0 Members and 1 Guest are viewing this topic.
in a surface how can extract Z value in exact point. Lets say we make a mesh 200x200X= 0 Y= 0X= 200 Y= 0X= 400 Y= 0...X= 200 Y= 200X= 400 Y= 200X= 600 Y= 200...and so onIs it possible?Is there a problem in present my Idea?Thanks for helping
Make a xline through the point (X= 0 Y= 0 etc...),get the Intersections of xline and mesh with vla-IntersectWith function. Extract Z value from Intersections.
(defun c:sho (/) (setvar "OSNAPCOORD" 1) (setq ss (ssget)) (while (setq pt (getpoint)) (command "section" ss "" "YZ" pt)))
I got a solutionto create a section each 200 in vertical and horizontal then use http://www.lee-mac.com/intersectionfunctions.html to insert the blockThe issue now how to create a sections (its around 400 section) I created this code but not workingCode: [Select](defun c:sho (/) (setvar "OSNAPCOORD" 1) (setq ss (ssget)) (while (setq pt (getpoint)) (command "section" ss "" "YZ" pt)))
working perfect on my side. on every clickk.