Skip to main content
Question

Extract DWG properties into FME (the equivalent of DWGPROPS in AutoCAD)

  • December 12, 2022
  • 5 replies
  • 194 views

tbarker1986
Contributor
Forum|alt.badge.img+4

I'm trying to extract DWG properties into FME, the equivalent of the DWGPROPS command in AutoCAD. I have added an example screenshot below. The aim is to use this information wthin a workbench on FME Server.

 

I couldn't identify anything in the AutoCAD reader that shows these properties. Does anyone have any solutions that would expose these DWG properties in FME? Any help would be greatly appreciated!

5 replies

evieatsafe
Safer
Forum|alt.badge.img+18
  • Safer
  • December 17, 2022

hi @tbarker1986​ thanks for your question! I think you should be able to expose some of those properties by setting the parameters in the DWG reader by grouping entities by layer name, and checking 'Read Drawing System Variables'. After running your reader with feature caching on, these should be found in the feature information window of Layer 0.

You will find things like autocad_projectname and other properties there. To use these as attributes, you can expose them with the AttributeExposer. Hope this helps.


tbarker1986
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • December 20, 2022
evieatsafe wrote:

hi @tbarker1986​ thanks for your question! I think you should be able to expose some of those properties by setting the parameters in the DWG reader by grouping entities by layer name, and checking 'Read Drawing System Variables'. After running your reader with feature caching on, these should be found in the feature information window of Layer 0.

You will find things like autocad_projectname and other properties there. To use these as attributes, you can expose them with the AttributeExposer. Hope this helps.

Hi Evie, thank you for your reply. I have tried reading with the settings you suggest applied, however the autocad_projectname is blank. The actual variables I need are Title, Subject, Author, Keywords and Comments. A search within an attributeexposer don't show any attributes with the name of these variables in.


evieatsafe
Safer
Forum|alt.badge.img+18
  • Safer
  • December 20, 2022
tbarker1986 wrote:

Hi Evie, thank you for your reply. I have tried reading with the settings you suggest applied, however the autocad_projectname is blank. The actual variables I need are Title, Subject, Author, Keywords and Comments. A search within an attributeexposer don't show any attributes with the name of these variables in.

hmm well it was worth checking, I'm not sure FME can read those in as features then at the moment. I would submit an Idea to get this supported in the future! Sorry for the inconvenience 😔


gisbradokla
Enthusiast
Forum|alt.badge.img+16
  • Enthusiast
  • February 17, 2025

@evieatsafe 

has there been any change to this issue? I did not find an idea in the link above. but did finally find it here. I added my 2 cents to it. The Data is very simple and should be found alongside maybe the autocad_source_filename, but i am unable to locate any attributes easily. I have tried btw extracting the list elements for both the extended entity data and the xrecord data to no avail.


AS a side note. If i open the dwg file in notepad. i can see all the dwgprops right there in plain text.

 


emmaatsafe
Safer
Forum|alt.badge.img+8
  • Safer
  • February 21, 2025

Hi ​@gisbradokla 

Unfortunately, there’s no update on this issue yet. However, as soon as there is, the idea thread will be updated, and we’ll be sure to notify you!

Emma


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