kamig Posted May 3, 2012 Posted May 3, 2012 BLOCK LOCATION.dwg hello sir, If I export Blocks Data to .CSv file there is only I have S/N, Black Name, Count but if I also want to put location there so how can I ???? for information I attached that file hare Example S/N Block Name Count Location 01 VAV-L8-01 1 Work Room 05 Quote
MSasu Posted May 3, 2012 Posted May 3, 2012 The insertion point is stored in associated list (ENTGET) under DXF code 10. But I don't understand something, if you record all blocks in one line (thus the count field) then there cannot be only one insertion point. Quote
kamig Posted May 3, 2012 Author Posted May 3, 2012 bro did you open the drawing which one i attached hare i want to give the block description when i make the block that time i want to put the location of that block and if i export Block Data that time location will show also Quote
MSasu Posted May 3, 2012 Posted May 3, 2012 Your example drawing contains a block with 79 instances, some with 2 instances and other with just 1. So, the count field will not be always 1, therefore the insertion point field for those entries wouldn’t be unique. Quote
MSasu Posted May 3, 2012 Posted May 3, 2012 I will answer here to the question you sent me by PM, since this way other members, with more experience than me, will be able to add their solutions. As already stated in post 2, the coordinates can be extracted using DXF code 10: (cdr (assoc 10 (entget (car (entsel))))) What I realy don't understand is how are you looking to count blocks with more than one instance? See below example for block VAV-L8-31: VAV-L8-31 1 31579.0271, 27113.5830, 0.0000VAV-L8-31 1 31025.0001, 23586.4168, 0.0000 If you want to count both on the same line (thus the count field), then which location you will record?VAV-L8-31 2 ?, ?, ? Quote
BIGAL Posted May 4, 2012 Posted May 4, 2012 There are 42 VAV-L8-31 at the following locations x1,y1 x2,y2 x3,y3 ............................ ?? Kamig need to be a bit more specific also what about "dataextraction" 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.