60001229 I would like an event to be raisen in Custom Objects of DXF files

Article 60001229
Type Wish
Product Engine
Version 6018
Date Added 9/21/2010 12:00:00 AM
Fixed (1/19/2011 12:00:00 AM)
Submitted by Massimo Endrighi

Summary

I would like an event to be raisen in Custom Objects of DXF files

Solution

A new event is published to the Document object

Fires when an Unknown objects is loaded from a document after an open command.
Currently is raised only for DXF files and for objects that are not supported from VectorDraw.
public event LoadUnknownObjectsEventHandler LoadUnknownObjects;//6020_60001229

This event will provide to our users the following EventArgs object


//Event arguments to be used on the LoadUnknownObjects event of the Document.
public class LoadUnknownObjectsEventArgs

with the following properties


/// Datatype of the Data
/// Dxf : The Data is an IDxfRecords collection
public LoadUnknownObjectsDataType dataType

And also the Data

/// Data of the event. Currently for DXF is a collection IDxfRecords.
/// The IDxfRecords is a collection of code and value which are the records of the DXF object from the DXF file.
public object Data

Send comments on this topic.