Extraction of only selected visibility state to SDF file in autoCAD

Extraction of only selected visibility state to SDF file in autoCAD

abalekai
Explorer Explorer
2,264 Views
8 Replies
Message 1 of 9

Extraction of only selected visibility state to SDF file in autoCAD

abalekai
Explorer
Explorer

If i have visibility state for my blocks I wanna extract the block information through SDF file, Is there a way where I can pull the only selected visibility state ? Because when I am trying to extract the data, it is for multiple visibility state. I want only particular info that I need to bring in the file

0 Likes
Accepted solutions (1)
2,265 Views
8 Replies
Replies (8)
Message 2 of 9

ChicagoLooper
Mentor
Mentor

Hi @abalekai 

Data extraction will extract the 'current' visibility.

 

Even though your block might have multiple visibility states, the DataExtraction procedure will only extract the visibility state that's displayed during the procedure.

 

  

Chicagolooper

EESignature

0 Likes
Message 3 of 9

abalekai
Explorer
Explorer

Hi Thanks for the solution. But sorry may be my question was manipulating but i was trying 

to do ATTTEXT and extract the data in SDF format. but this was pulling both visibility details. But i needed that to pull the information for only the visibility state that I was trying to select.

0 Likes
Message 4 of 9

O_Eckmann
Mentor
Mentor

Hi @abalekai ,

 

Do you want to extract only the name of visibility state? or with each visibility, you have some other informations to extract?

 

Olivier Eckmann

EESignature

0 Likes
Message 5 of 9

abalekai
Explorer
Explorer

Hi @O_Eckmann ,

 

Say I have a block which is of 2 visibility states. ex: A dining with 4 chairs, say this is visibility 1 and a dining of 6 chairs is visibility 2. Now I want to get the extraction Via SDF notepad but want to get the information of visibility 1, Then how should I do this ?

0 Likes
Message 6 of 9

O_Eckmann
Mentor
Mentor

Hi,

 

SDF is a GIS database file proprietary format of Autodesk, and you can't open it with notepad, and it isn't very common to export architectural drawing into GIS format, so are you sure you want an SDF file or a TXT file to count number of blocks according to their visibility (in this case, answer of @ChicagoLooper with data extraction is the good way).

I join a screencast for data extraction, and another one where I add a invisble attribut, and manage visibilty and the fullfilment of this attribut by a property's table.

(view in My Videos)

 

visibilty state and attribut manage by table of properties and export to SDF file as point and value of attribut as data 

(view in My Videos)

 

Olivier Eckmann

EESignature

0 Likes
Message 7 of 9

ChicagoLooper
Mentor
Mentor
Accepted solution

@abalekai 

You are using a command named ATTEXT which was popular 11 years ago. That command still exists today but it’s not as efficient as another, more powerful method. 

IMG_2033.jpeg

You can use DATAEXTRACTION command. It will easily extract ‘data’ from your block. The result can be either SDF (space delimited file with extension .txt) or CSV (comma delimited file, extension .csv). If you open either TXT or CSV using Excel, you’ll see the extracted data in individual cells as neatly arranged rows and columns. 

IMG_2034.jpeg

 

In addition to .txt and .csv you may also format the extracted data to .xls or .mdb formats. 

IMG_2035.jpeg

 

If you have 6 blocks with visibility state 1 and 4 blocks with visibility state 2, then you can extract all 10 blocks at the same time and identify which visibility state each block is currently using. You may generate an external file in either .csv or .xls format (both can be a Table that’s organized with columns and rows) displaying ALL 10 blocks, each block on a separate row. Depending on HOW you perform the extraction, each row in your Table can even show the x,y coordinates of each individual block. 

 

Chicagolooper

EESignature

0 Likes
Message 8 of 9

ChicagoLooper
Mentor
Mentor

duplicate post. 

Chicagolooper

EESignature

0 Likes
Message 9 of 9

abalekai
Explorer
Explorer

I will try this out and hope this should work

 

0 Likes