# Unable to edit Text via File3dm

**URL:** <https://discourse.mcneel.com/t/unable-to-edit-text-via-file3dm/107690>\
**Category:** Rhino Developer\
**Tags:** rhinocommon, csharp\
**Created:** [August 26, 2020, 9:10pm UTC](https://discourse.mcneel.com/t/unable-to-edit-text-via-file3dm/107690 "2020-08-26T21:10:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jeffoulet](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeffoulet/32/499869_2.png) [@jeffoulet](https://discourse.mcneel.com/u/jeffoulet)\
**Post date:** [August 27, 2020, 3:21pm UTC](https://discourse.mcneel.com/t/unable-to-edit-text-via-file3dm/107690/7 "2020-08-27T15:21:28Z")

</div>

Thanks for your support, @Willem!

So, it turns out:

- your idea of using UserText was pretty nice, I was completely hung up on the ids conservations…

- I didn’t manage to get the `Add()` to work as it only accepts `File3dmObject`. I also didn’t try to death and my overall comprehension of Rhinocommon is still limited, so maybe it is still possible…

- I achieved to create the text with ` AddText(String, Plane, Double, String, Boolean, Boolean, TextJustification, ObjectAttributes)` and also managed to modify the id of the new created object to match the source object after it was deleted.

- But in the end…I finally renounced to use File3dm, as I also need to output a PDF for each file and it doesn’t seem to be possible currently: [PDF Printing with Rhino.FileIO](https://discourse.mcneel.com/t/pdf-printing-with-rhino-fileio/60448)

- I’m now reading each files with `RhinoDoc.ReadFile(..., ...)`, doing my modifications and finally exporting the PDF and saving the modified file to another directory.

Thanks! 🙂

---

_[View the full topic](https://discourse.mcneel.com/t/unable-to-edit-text-via-file3dm/107690)._
