MapUtil.NewODFieldDefs method

AutoCAD Map 3D ActiveX

MapUtil.NewODFieldDefs method

Creates a field definition collection.

NewODFieldDefs( ) As ODFieldDefs

Returns an ODFieldDefs collection.

ODFieldDefs collections contain field definitions for object data tables.

The following example creates field definitions for an object data table.

Dim amap As AcadMap

Dim ODfdfs As ODFieldDefs

 

Set amap = ThisDrawing.Application. _

GetInterfaceObject("AutoCADMap.Application") 

Set ODfdfs = amap.Projects(ThisDrawing).MapUtil.NewODFieldDefs