70002777 Export metadata values to DWG file format

Article 70002777
Type HowTo
Product Engine
Date Added 10/16/2025 12:00:00 AM
Fixed 11.5.1 (10/16/2025 12:00:00 AM)
Submitted by Jacob Pitcher

Summary

Export metadata values to .DWG file format

Solution

In order to add metadata to dwg files use the properties of vdDocument.FileProperties CustomProperties , Title , Subject , Author
example

vdDocument doc;

doc.FileProperties.Author = "It's me";
doc.FileProperties.Subject = "My Subject";
doc.FileProperties.Title = "My Title";
doc.FileProperties.CustomProperties.AddItem("property1=Description of Property1");
doc.FileProperties.CustomProperties.AddItem("property2=Description of Property2");

doc.SaveAs("mydrawing.dwg");

In order to see the properties to ACAD
1. Click the Application button, and click Drawing Utilities Drawing Properties.
2. In the Drawing Properties dialog box, use the tabs to view available information.
3. On the Summary tab, you can view:
doc.FileProperties.Title
doc.FileProperties.Subject
doc.FileProperties.Author

4. On the Custom tab, you can view doc.FileProperties.CustomProperties

Send comments on this topic.