Jump to content

Recommended Posts

Posted

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.

Posted

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 ?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...