Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data extraction AutoCad rotated blocks problem

Status
Not open for further replies.

radoslaw

Marine/Ocean
Jul 27, 2020
1
thread555-414745

Hi,

I have the same problem as in referenced thread. Does anyone have solution to this problem?

Cheers!
 
Replies continue below

Recommended for you

I had something similar to this before, and ended up needing to find a workaround. Autocad would only return the x,y locations of the nested blocks, as related to the 0,0 of the block they were in.

There were a couple different ways I managed to get the info we needed.

First, what I ended up doing was dataextract for the primary blocks, with rotation, scale, x,y location.

Exported that to excel, and then pull out the offset dimensions within the master block for the nested block locations, and have excel crunch the numbers (based on rotation and/or scale of the primary block, etc) to get the points for the nested blocks.

Can go more in-depth if that's something that you wanted to explore.

Second, I saved the filed as a temp (to be deleted version), and burst the primary blocks... That left all the nested now loose and extractable for insertion points.
 
This is something that could be solved with LISP. After looking at the file, I'm not 100% sure what you need and what the data needs to look like. I feel like I could do-up a LISP program that would extract info from nested blocks without too much hair pulling. There are programmers that could also write the code within minutes I'm sure. Additionally, there are a few message boards that would be helpful: or this forums might help you find a solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor