MGDwgDataSources.Dwg   Go to object model Go to parent topic Go to previous topic Go to next topic

Description

Gets or sets the Autodesk DWG file name or project file for the Autodesk DWG layer.

If this property is modified successfully, it automatically sets the layer's rebuild flag to True. See Rebuild for details.

Note that if the DWG contains no path, then the first one found in the DWG search path will be used.

When changing the Autodesk DWG file, several other properties may also have to be updated.

Note that for write operations, this property does not work during a busy state. For additional information, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.

Type

String (read/write)

Error Codes

-1 (busy): For write operations only.

See Also

getDwg, setDwg