Message 1 of 3
Keeping ObjectId reference in an Autocad .Net WCF plugin
Not applicable
09-08-2015
01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There is a .Net Autocad plugin in which a WCF service is used to call a method on another process external to Autocad. Autocad entities are wrapped in custom classes and passed through WCF. Once the call returns the plug-in needs to write the result back into Autocad database.
Here is the problem: ObjectId is needed to fetch the object and write the result back; WCF serialize the data and ObjectId is not serializable. So I don't have access to the object.
Is there any workaround/solution for this?