Share

DBObject.GetObjectSaveVersion(DxfFiler) Method

Description

Override this function to specify which version the object data needs to be stored in. This does not require super-messaging.

Warning

Do not use filer->dwgVersion() in your dwg(In/Out)Fields() and dxf(In/Out)Fields() methods; this will not work for instances of classes derived from your class. Instead, use self()->getObjectSaveVersion(). It's default implementation is to return filer->dwgVersion() unless the object wants to override the save version.

Visual Basic

Public virtual Function GetObjectSaveVersion(
    filer As DxfFiler
) As FullDwgVersion

C#

public virtual FullDwgVersion GetObjectSaveVersion(
    DxfFiler filer
);

Parameters

Parameters Description
DxfFiler filer DXF filer to be used for this filing operation

Links

DBObject Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?