Skip to main content
Question

CAD Blocks with Multiple Visibility States to GIS Conversion


Forum|alt.badge.img

Hi,

I'm trying to convert a CAD file contains blocks with multiple visibility states as labels. any idea how to convert that to GIS?

 

Thanks

12 replies

mygis
Supporter
Forum|alt.badge.img+13
  • Supporter
  • June 26, 2017

Hi @judy. Could you please be more specific on the format you would like to convert into. Yes those labels or annotations can be converted. They are usually represented by points. If you could share some of the data I am sure we could show you how to do that. The result would be points with the text stored as attributes.


jneujens
Forum|alt.badge.img
  • June 27, 2017

Besides the excellent point of gisinnovationsb (FME supports different kinds CAD readers/writers and the solution might be different depending on your output format), the basic way to solve your problem would be to not explode your blocks into entities (this is a setting in ACAD readers).

 

 

Normally, each block will be represented as its insertion point containing information on the visibility states.

 


Forum|alt.badge.img
  • Author
  • June 27, 2017
mygis wrote:

Hi @judy. Could you please be more specific on the format you would like to convert into. Yes those labels or annotations can be converted. They are usually represented by points. If you could share some of the data I am sure we could show you how to do that. The result would be points with the text stored as attributes.

Thanks gisinnovationsb for the reply, I'm trying to convert a dwg file into Esri Geodatabase (ArcSDE Geodb). I will not be able to share sample data as we are working on a client site and it is not possible to get any sample outside.

 

 

Thanks,

 


Forum|alt.badge.img
  • Author
  • June 27, 2017
jneujens wrote:

Besides the excellent point of gisinnovationsb (FME supports different kinds CAD readers/writers and the solution might be different depending on your output format), the basic way to solve your problem would be to not explode your blocks into entities (this is a setting in ACAD readers).

 

 

Normally, each block will be represented as its insertion point containing information on the visibility states.

 

Thanks jneujens, will try that.

 

 


jneujens
Forum|alt.badge.img
  • June 28, 2017
judyz wrote:
Thanks jneujens, will try that.

 

 

Did this answer solve your problem? Or do you need more specific information?

 

 


mygis
Supporter
Forum|alt.badge.img+13
  • Supporter
  • June 28, 2017
judyz wrote:
Thanks gisinnovationsb for the reply, I'm trying to convert a dwg file into Esri Geodatabase (ArcSDE Geodb). I will not be able to share sample data as we are working on a client site and it is not possible to get any sample outside.

 

 

Thanks,

 

Hi @judyz , if you want to retrieve the text, you need to extract the text from the format attributes either by checking the acad_text_string or fme_text_string , once you have that done your translation will extract the attributes and put them in your attribute of your choice in the geodatabase which you will be able to set as annotations or use as labels in ArcMap. It is a two steps job.

 


Forum|alt.badge.img
  • Author
  • August 8, 2017
jneujens wrote:
Did this answer solve your problem? Or do you need more specific information?

 

 

Hello @jneujens and @ gisinnovationsb,I was able to get the text values, thanks for the help. Actually the CAD block included multiple attributes (example ID, Type, North ...etc. , please have a look at the attached screenshot), I got the text values without getting the tags and prompt. I extracted the autocad_attr_def_prompt and autocad_attr_def_tag but always getting null values, any advice?

 

fme-cad-blocks.png

 


mygis
Supporter
Forum|alt.badge.img+13
  • Supporter
  • August 8, 2017
mygis wrote:

Hi @judy. Could you please be more specific on the format you would like to convert into. Yes those labels or annotations can be converted. They are usually represented by points. If you could share some of the data I am sure we could show you how to do that. The result would be points with the text stored as attributes.

Hi @judyz

 

If that is the case and you are sure that you have done the things properly, perhaps FME does not support reading that specific attribute value. I am really advising without the data.

 


Forum|alt.badge.img
  • Author
  • August 8, 2017

Hi @ gisinnovationsb , attached is data sample for your reference. Thanksblock-example.dwg


jneujens
Forum|alt.badge.img
  • August 8, 2017
judyz wrote:
Hello @jneujens and @ gisinnovationsb,I was able to get the text values, thanks for the help. Actually the CAD block included multiple attributes (example ID, Type, North ...etc. , please have a look at the attached screenshot), I got the text values without getting the tags and prompt. I extracted the autocad_attr_def_prompt and autocad_attr_def_tag but always getting null values, any advice?

 

fme-cad-blocks.png

 

Hi Judyz, great to hear!

 

 

To help you with the attributes, I think I need to have a look at your workspace and some sample data!

 

 


mygis
Supporter
Forum|alt.badge.img+13
  • Supporter
  • August 10, 2017
judyz wrote:

Hi @ gisinnovationsb , attached is data sample for your reference. Thanksblock-example.dwg

Hi @judyz

 

I can't open the file neither in 2016.1 nor 2017.1 can you open it on your side?

 


Forum|alt.badge.img
  • Author
  • August 10, 2017
mygis wrote:
Hi @judyz

 

I can't open the file neither in 2016.1 nor 2017.1 can you open it on your side?

 

Hi @ gisinnovationsb the file was 2007, I saved the attached file as 2013 (I don't have the option to save it as 2017 or 2016) hope that will work block-example-2013.dwg.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings