AutoCAD Map 3D Developer
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
c# : adding data to shp/sdo file, throws error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I can add a single feature to the sdo/shp file. But when I add annother feature(eg a point ) shows the error:
Failed to create layer source feature cache.
Failed to create feature definition in GWS cache.
Item fsd___SHP_1$Default$point_clip$L is already in this named collection.
This happens with both C# and vb.net.
How can I add multiple features and commit the same.
Thanks.
Re: c# : adding data to shp/sdo file, throws error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Could you please paste the core code snippet so that we can take a look at the code?
Daniel Du
Developer Technical Services
Autodesk Developer Network
Re: c# : adding data to shp/sdo file, throws error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It may be because SHP/SDO do not allow multiple edits. Hence left that part and working with object data attributes for multiple edits.
Can I display the any attribute value as a label on the drawing for easy visual editing?
http://forums.autodesk.com/t5/NET/display-any-attr
Please suggest your view whether it is possible or not.
Thanks.

