Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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.

Posted

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.0000

VAV-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 ?, ?, ?
Posted

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"

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...