funk Posted September 28, 2011 Posted September 28, 2011 Hi guys, i have 3 different cad files for lights, drains and trees and they are all located as points. There are hundreds of these points and they all look the same, obviously I want to differentiate lights from trees so is there a way to convert these points into unique blocks? Cheers all. Quote
BIGAL Posted September 29, 2011 Posted September 29, 2011 How did you get the points in the first place was it from a x,y,z file if so throw into excell and just write a line for each xyz, INSERT myblock xyz 1 1 0 and save this column as a script txt file .SCR (cut paste into notebook) and then Autocad command SCRIPT. Check the concactenate command in excel. 1 2 3 insert blockname 1,2,3 1 1 0 excel code 1 2 3 insert myblock =CONCATENATE(A1,",",B1,",",C1," ") 1 1 0 =CONCATENATE(E1,D1,F1,G1,H1," ",I1," ",J1) Else its pretty simple lisp get all point into a list the just walk through them find their xyz and as above insert a block could be a good one to have a go at ? Quote
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.